# -*- 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-pytest-mock version 3.14.0 revision 0 categories-append devel license MIT maintainers nomaintainer platforms {darwin any} description Thin-wrapper around the mock package for easier use with \ py.test long_description {*}${description}. This plugin installs a mocker \ fixture which is a thin-wrapper around the \ patching API provided by the mock package, but \ with the benefit of not having to worry about \ undoing patches at the end of a test. homepage https://github.com/pytest-dev/pytest-mock/ checksums rmd160 69ccf2092ec614a326f4d396709d19f55330cb2a \ sha256 2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0 \ size 32814 supported_archs noarch python.versions 38 39 310 311 312 313 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools_scm depends_run-append \ port:py${python.version}-mock \ port:py${python.version}-pytest post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \ ${destroot}${docdir} } depends_test-append \ port:py${python.version}-pytest-asyncio test.run yes }