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

petr at macports.org petr at macports.org
Thu Feb 25 17:36:02 PST 2016


Revision: 146057
          https://trac.macports.org/changeset/146057
Author:   petr at macports.org
Date:     2016-02-25 17:36:02 -0800 (Thu, 25 Feb 2016)
Log Message:
-----------
py-importlib: retire port, py26 subport replaced by python27

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

Modified: trunk/dports/python/py-importlib/Portfile
===================================================================
--- trunk/dports/python/py-importlib/Portfile	2016-02-26 01:27:36 UTC (rev 146056)
+++ trunk/dports/python/py-importlib/Portfile	2016-02-26 01:36:02 UTC (rev 146057)
@@ -6,31 +6,24 @@
 
 name                py-importlib
 version             1.0.2
+revision            1
+
+# This stub can be removed after 2017-02-26
+replaced_by         python27
+PortGroup           obsolete 1.0    
+
 platforms           darwin
 license             PSF
 maintainers         nomaintainer
 
-description         This package contains the code from importlib as found in Python 2.7
+description         Stub for obsolete py26-importlib
 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
-
 python.versions     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
-    livecheck.url   ${homepage}
-    livecheck.regex {importlib ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
-}
+    depends_lib
+    replaced_by     python27
+    PortGroup       obsolete 1.0    
+} 
+livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160225/f57780bc/attachment-0001.html>


More information about the macports-changes mailing list