# -*- 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 PortSystem 1.0 PortGroup python 1.0 name py-mock set real_name mock version 2.0.0 revision 2 python.versions 27 34 35 36 37 categories-append devel platforms darwin supported_archs noarch license BSD maintainers nomaintainer 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 10f4cb9343d99620e298cc0ffea143ee321e4ec2 \ sha256 b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba \ size 73684 if {${name} eq ${subport}} { livecheck.type pypi } else { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-funcsigs \ port:py${python.version}-pbr \ port:py${python.version}-six livecheck.type none }