1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-enum |
---|
7 | version 0.4.4 |
---|
8 | categories-append devel |
---|
9 | platforms darwin |
---|
10 | maintainers jann ram openmaintainer |
---|
11 | |
---|
12 | description Robust enumerated type support in Python |
---|
13 | long_description This package provides a module for robust enumerations \ |
---|
14 | in Python. |
---|
15 | |
---|
16 | homepage http://cheeseshop.python.org/pypi/enum/ |
---|
17 | master_sites http://cheeseshop.python.org/packages/source/e/enum/ |
---|
18 | distname enum-${version} |
---|
19 | |
---|
20 | checksums md5 ce75c7c3c86741175a84456cc5bd531e \ |
---|
21 | sha1 8243fccd32da4ca7913b65162f94ebaecef61fd7 \ |
---|
22 | rmd160 65adadea6ae724de26ced714d1f3a09fa4ef29d7 |
---|
23 | |
---|
24 | python.versions 24 25 26 27 |
---|
25 | |
---|
26 | if {${subport} != ${name}} { |
---|
27 | depends_build port:py${python.version}-distribute |
---|
28 | } |
---|
29 | |
---|
30 | if {${name} == ${subport}} { |
---|
31 | livecheck.type regex |
---|
32 | livecheck.url ${homepage} |
---|
33 | livecheck.regex {enum (\d+(?:\.\d+)*)} |
---|
34 | } else { |
---|
35 | livecheck.type none |
---|
36 | } |
---|