[101044] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Jan 3 09:28:49 PST 2013


Revision: 101044
          https://trac.macports.org/changeset/101044
Author:   jmr at macports.org
Date:     2013-01-03 09:28:49 -0800 (Thu, 03 Jan 2013)
Log Message:
-----------
py*-tempita: unify, add py24 and py25 subports needed by py-sqlalchemy-migrate

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-tempita/
    trunk/dports/python/py27-tempita/

Modified: trunk/dports/python/py-tempita/Portfile
===================================================================
--- trunk/dports/python/py27-tempita/Portfile	2013-01-03 16:18:14 UTC (rev 101042)
+++ trunk/dports/python/py-tempita/Portfile	2013-01-03 17:28:49 UTC (rev 101044)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python27 1.0
+PortGroup               python 1.0
 
-name                    py27-tempita
+name                    py-tempita
 version                 0.5.1
 maintainers             perry openmaintainer
 platforms               darwin
@@ -15,11 +15,16 @@
 license                 MIT
 homepage                http://pypi.python.org/pypi/Tempita/
 
-livecheck.regex         {>Tempita (.+) :}
-livecheck.type          regex
-livecheck.url           ${homepage}
+python.versions         24 25 26 27
+python.default_version  27
 
-depends_build-append    port:py27-distribute
+if {$subport == $name} {
+    livecheck.regex         {>Tempita (.+) :}
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+} else {
+    depends_build-append    port:py${python.version}-distribute
+}
 
 distname                Tempita-${version}
 master_sites            http://pypi.python.org/packages/source/T/Tempita/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130103/727e2114/attachment-0001.html>


More information about the macports-changes mailing list