# -*- 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

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

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
    python.test_framework
    test.cmd        ${python.bin} enum/test.py
}
