Files
Renee Otten 036f2e0a95 py-enum34: update to 1.1.10, add noarch
- enable tests
- use default PyPI livecheck
2020-03-22 17:53:51 +01:00

39 lines
1.1 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-enum34
version 1.1.10
revision 0
categories python
platforms darwin
supported_archs noarch
license BSD
maintainers {mojca @mojca} openmaintainer
description Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4
long_description ${description}
homepage https://pypi.python.org/pypi/enum34
checksums rmd160 39ef0739737338df46960a3ffa436aa38394ae88 \
sha256 cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 \
size 28187
# works in 24 25 26 27 31 32 33
python.versions 27
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
test.run yes
test.cmd ${python.bin} enum/test.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}