[86422] trunk/dports/python/py-axiom/Portfile

devans at macports.org devans at macports.org
Tue Oct 25 07:30:59 PDT 2011


Revision: 86422
          http://trac.macports.org/changeset/86422
Author:   devans at macports.org
Date:     2011-10-25 07:30:58 -0700 (Tue, 25 Oct 2011)
Log Message:
-----------
py-axiom: don't install twisted/plugins/dropin.cache generated during destroot.

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

Modified: trunk/dports/python/py-axiom/Portfile
===================================================================
--- trunk/dports/python/py-axiom/Portfile	2011-10-25 14:26:39 UTC (rev 86421)
+++ trunk/dports/python/py-axiom/Portfile	2011-10-25 14:30:58 UTC (rev 86422)
@@ -7,6 +7,7 @@
 name                py-axiom
 set gname           python-axiom
 version             0.6.0
+revision            1
 license             MIT
 categories-append   database
 platforms           darwin
@@ -44,6 +45,13 @@
     if {${python.version} > 25} {
           patchfiles-append patch-python26.diff
     }
+
+    post-destroot {
+          set filepath ${destroot}${python.libdir}/site-packages/twisted/plugins/dropin.cache 
+          if {[file exists ${filepath}]} {
+              file delete ${filepath}
+          }
+    }
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111025/9f17d315/attachment.html>


More information about the macports-changes mailing list