[106921] trunk/dports/python/py-coverage/Portfile
jmr at macports.org
jmr at macports.org
Tue Jun 11 13:06:21 PDT 2013
Revision: 106921
https://trac.macports.org/changeset/106921
Author: jmr at macports.org
Date: 2013-06-11 13:06:21 -0700 (Tue, 11 Jun 2013)
Log Message:
-----------
py25-coverage: fix destroot failure due to python.move_binaries
Modified Paths:
--------------
trunk/dports/python/py-coverage/Portfile
Modified: trunk/dports/python/py-coverage/Portfile
===================================================================
--- trunk/dports/python/py-coverage/Portfile 2013-06-11 19:57:15 UTC (rev 106920)
+++ trunk/dports/python/py-coverage/Portfile 2013-06-11 20:06:21 UTC (rev 106921)
@@ -38,6 +38,17 @@
system "find ${worksrcpath} -type f -not -name '*.py' -exec chmod 644 {} \\;"
}
+ python.move_binaries no
+ if {${python.version} < 26} {
+ post-destroot {
+ foreach f {coverage coverage2} {
+ if {[file exists ${destroot}${prefix}/bin/${f}]} {
+ file delete -force ${destroot}${prefix}/bin/${f}
+ }
+ }
+ }
+ }
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130611/701d256b/attachment.html>
More information about the macports-changes
mailing list