[106449] trunk/dports/python

jmr at macports.org jmr at macports.org
Sun May 26 17:00:44 PDT 2013


Revision: 106449
          https://trac.macports.org/changeset/106449
Author:   jmr at macports.org
Date:     2013-05-26 17:00:44 -0700 (Sun, 26 May 2013)
Log Message:
-----------
py*-distutils-extra: unify, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-distutils-extra/Portfile

Added Paths:
-----------
    trunk/dports/python/py-distutils-extra/

Removed Paths:
-------------
    trunk/dports/python/py25-distutils-extra/
    trunk/dports/python/py26-distutils-extra/

Modified: trunk/dports/python/py-distutils-extra/Portfile
===================================================================
--- trunk/dports/python/py26-distutils-extra/Portfile	2013-05-26 22:24:45 UTC (rev 106446)
+++ trunk/dports/python/py-distutils-extra/Portfile	2013-05-27 00:00:44 UTC (rev 106449)
@@ -1,19 +1,22 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python26 1.0
+PortGroup         python 1.0
 
-name              py26-distutils-extra
+name              py-distutils-extra
 set my_name       python-distutils-extra
 version           1.91.2
+license           GPL-2+
 platforms         darwin
+supported_archs   noarch
 maintainers       nomaintainer
 
 description       enhancements to the Python build system
 long_description  ${description}
 
 homepage          http://packages.debian.org/source/sid/${my_name}
-master_sites      http://ftp.de.debian.org/debian/pool/main/p/${my_name}
+master_sites      debian:p/${my_name} \
+                  http://archive.debian.org/debian/pool/main/p/python-distutils-extra/
 distname          ${my_name}_${version}
 worksrcdir        debian
 
@@ -21,11 +24,14 @@
                   sha1 e0a26f21c73a7cb585fe914b1d8af9469eb5decd \
                   rmd160 2a833b11b8defb213a93758517c6c8e929cba0ac
 
-depends_build     port:py26-distribute
-depends_lib-append port:intltool
+python.versions   25 26
 
-universal_variant no
-
-livecheck.type    regex
-livecheck.url     ${homepage}
-livecheck.regex   ${my_name}_(\\d+(?:\\.\\d+)*).tar.gz
+if {$subport != $name} {
+    depends_build     port:py${python.version}-distribute
+    depends_lib-append port:intltool
+    livecheck.type    none
+} else {
+    livecheck.type    regex
+    livecheck.url     ${homepage}
+    livecheck.regex   ${my_name}_(\\d+(?:\\.\\d+)*).tar.gz
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130526/8558c4c3/attachment-0001.html>


More information about the macports-changes mailing list