# -*- 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.12.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 7782622c654c51fc4004eddb47cbf76a4467f114 \ sha256 31a40f038c22cad32287bb43932054451ff5583ff094bca6f675df2f8bc1a6e9 \ size 32139 supported_archs noarch python.versions 38 39 310 311 312 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 }