# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-mock set real_name mock version 1.0.1 python.versions 26 27 34 35 categories-append devel platforms darwin supported_archs noarch license BSD maintainers gmail.com:patrik.hartlen openmaintainer description A Python Mocking and Patching Library for Testing long_description \ mock is a Python module that provides a core Mock class. It removes the \ need to create a host of stubs throughout your test suite. After \ performing an action, you can make assertions about which methods / \ attributes were used and arguments they were called with. You can also \ specify return values and set needed attributes in the normal way. homepage http://www.voidspace.org.uk/python/mock/ master_sites pypi:m/${real_name} distname ${real_name}-${version} checksums rmd160 94205e392a5228d3732674ba96d5a75976da7d92 \ sha256 b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f if {${name} eq ${subport}} { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${real_name}/json livecheck.regex "\"${real_name}-(\[.\\d\]+)\\.tar\\.gz\"" } else { livecheck.type none }