[100502] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Dec 14 06:34:42 PST 2012


Revision: 100502
          https://trac.macports.org/changeset/100502
Author:   jmr at macports.org
Date:     2012-12-14 06:34:42 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-antlr3: unify, license

Modified Paths:
--------------
    trunk/dports/python/py-antlr3/Portfile

Added Paths:
-----------
    trunk/dports/python/py-antlr3/

Removed Paths:
-------------
    trunk/dports/python/py25-antlr3/
    trunk/dports/python/py26-antlr3/
    trunk/dports/python/py27-antlr3/

Modified: trunk/dports/python/py-antlr3/Portfile
===================================================================
--- trunk/dports/python/py27-antlr3/Portfile	2012-12-14 11:28:07 UTC (rev 100492)
+++ trunk/dports/python/py-antlr3/Portfile	2012-12-14 14:34:42 UTC (rev 100502)
@@ -2,11 +2,12 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
-name                py27-antlr3
+name                py-antlr3
 version             3.1.3
 categories-append   lang
+license             BSD
 maintainers         nomaintainer
 supported_archs     noarch
 
@@ -26,7 +27,12 @@
 checksums           sha1    dc095863a254cdf9606784dbd6efb43cf56a6804 \
                     rmd160  60688fecc8afba5722cbb44c1c79db4b55527ca3
 
-depends_build       port:py27-distribute
+python.versions     25 26 27
 
-livecheck.type      regex
-livecheck.regex     antlr-(\[0-9.\]+)${extract.suffix}
+if {$subport != $name} {
+    depends_build       port:py${python.version}-distribute
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.regex     antlr-(\[0-9.\]+)${extract.suffix}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/6134c612/attachment.html>


More information about the macports-changes mailing list