Modified: trunk/dports/python/py-importlib/Portfile (130537 => 130538)
--- 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]+)?)}
+}