[130538] trunk/dports/python/py-importlib/Portfile

larryv at macports.org larryv at macports.org
Wed Dec 31 11:33:11 PST 2014


Revision: 130538
          https://trac.macports.org/changeset/130538
Author:   larryv at macports.org
Date:     2014-12-31 11:33:11 -0800 (Wed, 31 Dec 2014)
Log Message:
-----------
py-importlib: Rearrange and reformat

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

Modified: trunk/dports/python/py-importlib/Portfile
===================================================================
--- trunk/dports/python/py-importlib/Portfile	2014-12-31 19:33:09 UTC (rev 130537)
+++ trunk/dports/python/py-importlib/Portfile	2014-12-31 19:33:11 UTC (rev 130538)
@@ -7,21 +7,24 @@
 name                py-importlib
 version             1.0.2
 platforms           darwin
+license             PSF
 maintainers         nomaintainer
-license             PSF
 
-python.versions     24 25 26
-
-homepage            http://pypi.python.org/pypi/importlib
 description         This package contains the code from importlib as found in Python 2.7
 long_description    ${description}
+homepage            http://pypi.python.org/pypi/importlib
 
 master_sites        http://pypi.python.org/packages/source/i/importlib
 distname            importlib-${version}
-
 checksums           rmd160  0bd0d01f4e419340066c29e3e09ddc182b96f8d1 \
                     sha256  24d0966aa76859b288485803f310076512f87377e6c9afe9c28c52a8ccdd328c
 
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     {importlib ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
+python.versions     24 25 26
+
+if {${subport} ne ${name}} {
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   ${homepage}
+    livecheck.regex {importlib ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141231/e2c2a9fe/attachment.html>


More information about the macports-changes mailing list