py{24,25}-importlib: Replace with python27
The importlib module is in the CPython 2.7 standard library.
--- 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