[90850] trunk/dports/python/py-boto/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Mar 15 18:30:21 PDT 2012


Revision: 90850
          https://trac.macports.org/changeset/90850
Author:   ryandesign at macports.org
Date:     2012-03-15 18:30:21 -0700 (Thu, 15 Mar 2012)
Log Message:
-----------
py-boto: fix stub port by wrapping post-destroot block in "if {${name} != ${subport}}" block

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

Modified: trunk/dports/python/py-boto/Portfile
===================================================================
--- trunk/dports/python/py-boto/Portfile	2012-03-16 01:29:11 UTC (rev 90849)
+++ trunk/dports/python/py-boto/Portfile	2012-03-16 01:30:21 UTC (rev 90850)
@@ -24,8 +24,10 @@
 checksums               rmd160  b91a7ecaf0bffc1770b5320cd128101a8cf4e265 \
                         sha256  17dce8082a650da50cdc966a5325b97873fac14916dcf1b9d9130b7e212ee292
 
-post-destroot {
-    if {[file exists ${destroot}${python.pkgd}/tests]} {
-        delete ${destroot}${python.pkgd}/tests
+if {${name} != ${subport}} {
+    post-destroot {
+        if {[file exists ${destroot}${python.pkgd}/tests]} {
+            delete ${destroot}${python.pkgd}/tests
+        }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120315/b18bdf0e/attachment.html>


More information about the macports-changes mailing list