[106118] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed May 15 06:01:55 PDT 2013


Revision: 106118
          https://trac.macports.org/changeset/106118
Author:   jmr at macports.org
Date:     2013-05-15 06:01:55 -0700 (Wed, 15 May 2013)
Log Message:
-----------
py26-pymorph: use unified portgroup, license, noarch

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

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

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

Modified: trunk/dports/python/py-pymorph/Portfile
===================================================================
--- trunk/dports/python/py26-pymorph/Portfile	2013-05-15 08:26:21 UTC (rev 106113)
+++ trunk/dports/python/py-pymorph/Portfile	2013-05-15 13:01:55 UTC (rev 106118)
@@ -2,11 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pymorph
+name                py-pymorph
 version             0.96
+license             BSD
 platforms           darwin
+supported_archs     noarch
 
 maintainers         stromnov openmaintainer
 
@@ -23,10 +25,16 @@
                     sha1    48fdfa2c3d16806296ad26f4e76305976ffc7042 \
                     rmd160  fb32cb593ee195898437123027407905b6149e27
 
-depends_build       port:py26-distribute
+python.versions     26
 
-depends_lib-append  port:py26-numpy
+if {$subport != $name} {
+    depends_build       port:py${python.version}-distribute
 
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "pymorph-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    depends_lib-append  port:py${python.version}-numpy
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "pymorph-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130515/dcee10c7/attachment.html>


More information about the macports-changes mailing list