[106117] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed May 15 05:54:42 PDT 2013


Revision: 106117
          https://trac.macports.org/changeset/106117
Author:   jmr at macports.org
Date:     2013-05-15 05:54:42 -0700 (Wed, 15 May 2013)
Log Message:
-----------
py26-pyrant: use unified portgroup, license, noarch

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

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

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

Modified: trunk/dports/python/py-pyrant/Portfile
===================================================================
--- trunk/dports/python/py26-pyrant/Portfile	2013-05-15 08:26:21 UTC (rev 106113)
+++ trunk/dports/python/py-pyrant/Portfile	2013-05-15 12:54:42 UTC (rev 106117)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pyrant
+name                py-pyrant
 version             0.6.5
+license             Apache-2
 maintainers         stromnov openmaintainer
 
 description         Pyrant is a Python wrapper around Tokyo Tyrant.
@@ -13,6 +14,7 @@
 long_description    ${description}
 
 platforms           darwin
+supported_archs     noarch
 
 homepage            http://code.google.com/p/pyrant/
 master_sites        http://pypi.python.org/packages/source/p/pyrant/
@@ -22,8 +24,13 @@
                     sha1    5d834ea145728bdd4f818f81213bcfcf4f6f610d \
                     rmd160  65ada9a56e12d7065be2c017e93d1afa45be281a
 
-depends_build       port:py26-distribute
+python.versions     26
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "pyrant-(\\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     "pyrant-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130515/648411fa/attachment.html>


More information about the macports-changes mailing list