You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.6 KiB
Tcl
54 lines
1.6 KiB
Tcl
# -*- 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.2.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 4e460e818629b4b173f32d08bf30d3af8123afbb8e04bb5707a1fd4799e503f0 \
|
|
rmd160 43a881f2995f0f15a3b9c402bd0d2c5470d0ce28 \
|
|
size 92796
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
if {${python.version} == 27} {
|
|
version 3.0.5
|
|
revision 0
|
|
checksums sha256 83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 \
|
|
rmd160 45ba6e6c2b53e92b62bcf54be579ddb9f9087177 \
|
|
size 28126
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-six \
|
|
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
|
|
}
|