[104680] trunk/dports/python/py-py/Portfile
stromnov at macports.org
stromnov at macports.org
Sun Mar 31 05:25:11 PDT 2013
Revision: 104680
https://trac.macports.org/changeset/104680
Author: stromnov at macports.org
Date: 2013-03-31 05:25:11 -0700 (Sun, 31 Mar 2013)
Log Message:
-----------
py-py: add deactivate hack (#38601), fix livecheck
Modified Paths:
--------------
trunk/dports/python/py-py/Portfile
Modified: trunk/dports/python/py-py/Portfile
===================================================================
--- trunk/dports/python/py-py/Portfile 2013-03-31 10:28:43 UTC (rev 104679)
+++ trunk/dports/python/py-py/Portfile 2013-03-31 12:25:11 UTC (rev 104680)
@@ -34,8 +34,16 @@
depends_build-append port:py${python.version}-distribute
depends_run-append port:py${python.version}-pytest
+ # Deactivate hack
+ if {![catch {set installed [lindex [registry_active py${python.version}-py] 0]}]} {
+ set py_version [lindex $installed 1]
+ if {[vercmp $py_version 1.4] < 0} {
+ registry_deactivate_composite py${python.version}-py "" [list ports_nodepcheck 1]
+ }
+ }
+
livecheck.type none
} else {
livecheck.url ${master_sites}
- livecheck.regex py-(\\d+(\\.\\d+)+)
+ livecheck.regex "py-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130331/5cdf499d/attachment.html>
More information about the macports-changes
mailing list