source: trunk/dports/python/py-enum/Portfile

Last change on this file was 126705, checked in by larryv@…, 3 years ago

py{24,25,26}-enum: Replace with py27-enum

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 126705 2014-10-14 04:21:35Z ryandesign@macports.org $
2
3PortSystem        1.0
4PortGroup         python 1.0
5
6name              py-enum
7version           0.4.4
8categories-append devel
9license           {GPL-2+ PSF}
10platforms         darwin
11supported_archs   noarch
12maintainers       nomaintainer
13
14description       Robust enumerated type support in Python
15long_description  This package provides a module for robust enumerations \
16                  in Python.
17
18homepage          http://cheeseshop.python.org/pypi/enum/
19master_sites      http://cheeseshop.python.org/packages/source/e/enum/
20distname          enum-${version}
21
22checksums         md5 ce75c7c3c86741175a84456cc5bd531e \
23                  sha1 8243fccd32da4ca7913b65162f94ebaecef61fd7 \
24                  rmd160 65adadea6ae724de26ced714d1f3a09fa4ef29d7
25
26python.versions   27
27
28if {${name} ne ${subport}} {
29  depends_build   port:py${python.version}-setuptools
30}
31
32if {${name} eq ${subport}} {
33  livecheck.type  regex
34  livecheck.url   ${homepage}
35  livecheck.regex {enum (\d+(?:\.\d+)*)}
36} else {
37  livecheck.type  none
38}
Note: See TracBrowser for help on using the repository browser.