# -*- 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 version 5.1.0 revision 0 categories-append devel supported_archs noarch platforms {darwin any} license BSD maintainers {reneeotten @reneeotten} openmaintainer description Rolling backport of unittest.mock for all Pythons long_description {*}${description}. homepage https://mock.readthedocs.org/en/latest/ checksums sha256 5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d \ rmd160 acf0cdfd1f3627d0c022ddf5f8c7281414510cdd \ size 80232 python.versions 27 35 36 37 38 39 310 311 312 313 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools if {${python.version} in "27 35"} { version 3.0.5 revision 0 checksums sha256 83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 \ rmd160 45ba6e6c2b53e92b62bcf54be579ddb9f9087177 \ size 28126 depends_lib-append \ port:py${python.version}-six if {${python.version} eq 27} { depends_lib-append \ port:py${python.version}-funcsigs } } else { test.run yes } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \ CHANGELOG.rst ${destroot}${docdir} } livecheck.type none }