Revision
130540
Author
larryv@macports.org
Date
2014-12-31 11:33:15 -0800 (Wed, 31 Dec 2014)

Log Message

py{24,25}-importlib: Replace with python27

The importlib module is in the CPython 2.7 standard library.

Modified Paths

Diff

Modified: trunk/dports/python/py-importlib/Portfile (130539 => 130540)


--- trunk/dports/python/py-importlib/Portfile	2014-12-31 19:33:13 UTC (rev 130539)
+++ trunk/dports/python/py-importlib/Portfile	2014-12-31 19:33:15 UTC (rev 130540)
@@ -22,6 +22,12 @@
 python.versions     24 25 26
 
 if {${subport} ne ${name}} {
+    if {${python.version} < 26} {
+        revision    1
+        depends_lib
+        replaced_by python27
+        PortGroup   obsolete 1.0
+    }
     livecheck.type  none
 } else {
     livecheck.type  regex