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

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


Revision: 130540
          https://trac.macports.org/changeset/130540
Author:   larryv at 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:
--------------
    trunk/dports/python/py-importlib/Portfile

Modified: trunk/dports/python/py-importlib/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141231/b3b3a486/attachment.html>


More information about the macports-changes mailing list