[95241] trunk/dports/python/py-twisted/Portfile
jmr at macports.org
jmr at macports.org
Sat Jul 7 08:21:26 PDT 2012
Revision: 95241
https://trac.macports.org/changeset/95241
Author: jmr at macports.org
Date: 2012-07-07 08:21:24 -0700 (Sat, 07 Jul 2012)
Log Message:
-----------
py-twisted: delete any existing dropin.cache before activating
Modified Paths:
--------------
trunk/dports/python/py-twisted/Portfile
Modified: trunk/dports/python/py-twisted/Portfile
===================================================================
--- trunk/dports/python/py-twisted/Portfile 2012-07-07 14:49:46 UTC (rev 95240)
+++ trunk/dports/python/py-twisted/Portfile 2012-07-07 15:21:24 UTC (rev 95241)
@@ -41,6 +41,12 @@
# update the plugin cache
system "PYTHONPATH=${destroot}${python.pkgd} ${python.bin} ${filespath}/getPlugins.py"
}
+ pre-activate {
+ set cachefile ${python.pkgd}/twisted/plugins/dropin.cache
+ if {[file exists $cachefile] && [registry_file_registered $cachefile] == "0"} {
+ file delete -force $cachefile
+ }
+ }
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120707/740d549a/attachment.html>
More information about the macports-changes
mailing list