[100494] trunk/dports/python
jmr at macports.org
jmr at macports.org
Fri Dec 14 06:20:41 PST 2012
Revision: 100494
https://trac.macports.org/changeset/100494
Author: jmr at macports.org
Date: 2012-12-14 06:20:41 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
py*-babel: unify, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-babel/Portfile
Added Paths:
-----------
trunk/dports/python/py-babel/
Removed Paths:
-------------
trunk/dports/python/py26-babel/
trunk/dports/python/py27-babel/
Modified: trunk/dports/python/py-babel/Portfile
===================================================================
--- trunk/dports/python/py27-babel/Portfile 2012-12-14 11:28:07 UTC (rev 100492)
+++ trunk/dports/python/py-babel/Portfile 2012-12-14 14:20:41 UTC (rev 100494)
@@ -2,12 +2,13 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-babel
+name py-babel
version 0.9.6
-categories python
+license BSD
platforms darwin
+supported_archs noarch
maintainers stromnov openmaintainer
@@ -22,9 +23,14 @@
sha1 37810107bc36da21f44a50f0af3e75dcd2ca668d \
rmd160 a4867679703b618948f862fc417cca4b53c869e5
-depends_lib-append port:py27-distribute \
- port:py27-tz
+python.versions 25 26 27
-livecheck.type regex
-livecheck.url http://babel.edgewall.org/wiki/Download
-livecheck.regex "Babel-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-distribute \
+ port:py${python.version}-tz
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url http://babel.edgewall.org/wiki/Download
+ livecheck.regex "Babel-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/35527779/attachment.html>
More information about the macports-changes
mailing list