[106512] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed May 29 01:00:42 PDT 2013


Revision: 106512
          https://trac.macports.org/changeset/106512
Author:   jmr at macports.org
Date:     2013-05-29 01:00:42 -0700 (Wed, 29 May 2013)
Log Message:
-----------
py26-carrot: use unified portgroup, license, noarch

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

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

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

Modified: trunk/dports/python/py-carrot/Portfile
===================================================================
--- trunk/dports/python/py26-carrot/Portfile	2013-05-28 22:01:37 UTC (rev 106507)
+++ trunk/dports/python/py-carrot/Portfile	2013-05-29 08:00:42 UTC (rev 106512)
@@ -2,12 +2,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-carrot
+name                py-carrot
 version             0.10.7
 categories-append   devel
+license             BSD
 platforms           darwin
+supported_archs     noarch
 maintainers         stromnov openmaintainer
 
 description         AMQP Messaging Framework for Python.
@@ -23,8 +25,13 @@
                     sha1    3295a79a93ac6d77f41d830057af3ee8df97567b \
                     rmd160  be0cce6da09f2acf106e1d3a4947b8b587d02edd
 
-depends_build       port:py26-distribute
+python.versions     26
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "carrot-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+if {$subport != $name} {
+    depends_build       port:py${python.version}-distribute
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "carrot-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130529/689ebe9e/attachment.html>


More information about the macports-changes mailing list