[89957] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu Feb 16 20:56:09 PST 2012


Revision: 89957
          http://trac.macports.org/changeset/89957
Author:   jmr at macports.org
Date:     2012-02-16 20:56:09 -0800 (Thu, 16 Feb 2012)
Log Message:
-----------
py26-south: move to unified py-south and add py27, update to 0.7.3 (#28641), set license, noarch

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-south/

Modified: trunk/dports/python/py-south/Portfile
===================================================================
--- trunk/dports/python/py26-south/Portfile	2012-02-17 04:22:11 UTC (rev 89956)
+++ trunk/dports/python/py-south/Portfile	2012-02-17 04:56:09 UTC (rev 89957)
@@ -2,12 +2,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-south
-version             0.7.2
+name                py-south
+version             0.7.3
 categories-append   www
+license             Apache-2
 platforms           darwin
+supported_archs     noarch
 maintainers         nomaintainer
 homepage            http://south.aeracode.org/
 description         South provides intelligent schema migrations for Django apps
@@ -17,16 +19,22 @@
 master_sites        http://www.aeracode.org/releases/south/
 distname            south-${version}
 worksrcdir          south
-checksums           md5     4c6b60b38a9464509f2671ae540e1446 \
-                    sha1    de68b4f3f2953eab2848e672f537b63eb4bce631 \
-                    rmd160  d449770b6027d03c415686881081bd87e5ada519
+checksums           md5     693a2a7a57b29c49bc177fe951e04767 \
+                    sha1    f5a1e811f4c028874c7e617e7eba60d0a9e9dd71 \
+                    rmd160  4c0a56139905624480f6b18b3ee3d81a7a13cb29
 
-depends_lib-append  port:py26-distribute
+python.versions     26 27
+python.default_version 27
 
-post-destroot   {
-    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
+if {$subport != $name} {
+    depends_lib-append  port:py${python.version}-distribute
+    
+    post-destroot   {
+        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}/docs
+    }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     "/wiki/ReleaseNotes/(0\.\[0-9\]+\.\[0-9\]+)"
 }
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     "/wiki/ReleaseNotes/(0\.\[0-9\]+\.\[0-9\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120216/b9fdc894/attachment-0001.html>


More information about the macports-changes mailing list