Files
Mojca Miklavec c2e08c041e py-sure: new port, version 1.4.11
Utility belt for automated testing in python for python
2019-06-23 09:33:15 +02:00

50 lines
1.5 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-sure
version 1.4.11
revision 0
platforms darwin
supported_archs noarch
license GPL-3+
maintainers nomaintainer
description Utility belt for automated testing in python for python
long_description ${description}
homepage http://github.com/gabrielfalcao/sure
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums sha256 3c8d5271fb18e2c69e2613af1ad400d8df090f1456081635bd3171847303cdaa \
rmd160 fb6c37da7c2d005c6874d266fbc8d2edcb21d833 \
size 45933
python.versions 37
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
post-extract {
system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
}
depends_run-append \
port:py${python.version}-mock \
port:py${python.version}-six
depends_test-append \
port:py${python.version}-mock \
port:py${python.version}-nose \
port:py${python.version}-six
test.run yes
livecheck.type none
}