[84379] trunk/dports/python

jmr at macports.org jmr at macports.org
Sat Sep 24 04:01:46 PDT 2011


Revision: 84379
          http://trac.macports.org/changeset/84379
Author:   jmr at macports.org
Date:     2011-09-24 04:01:40 -0700 (Sat, 24 Sep 2011)
Log Message:
-----------
unify py*-markupsafe (#31206)

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

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

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

Modified: trunk/dports/python/py-markupsafe/Portfile
===================================================================
--- trunk/dports/python/py27-markupsafe/Portfile	2011-09-24 03:27:28 UTC (rev 84373)
+++ trunk/dports/python/py-markupsafe/Portfile	2011-09-24 11:01:40 UTC (rev 84379)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python27 1.0
+PortGroup               python 1.0
 
-name                    py27-markupsafe
+name                    py-markupsafe
 version                 0.15
 maintainers             perry openmaintainer
 platforms               darwin
@@ -17,8 +17,13 @@
 livecheck.type          regex
 livecheck.url           ${homepage}
 
-depends_build-append    port:py27-distribute
+python.versions         24 25 26 27
+python.default_version  27
 
+if {$subport != $name} {
+    depends_build-append    port:py${python.version}-distribute
+}
+
 distname                MarkupSafe-${version}
 master_sites            http://pypi.python.org/packages/source/M/MarkupSafe/
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110924/afd78723/attachment.html>


More information about the macports-changes mailing list