[89316] trunk/dports/python/py-oauth2/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jan 24 14:33:12 PST 2012


Revision: 89316
          http://trac.macports.org/changeset/89316
Author:   ryandesign at macports.org
Date:     2012-01-24 14:33:12 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
py-oauth2: move post-destroot block inside $subport != $name block

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

Modified: trunk/dports/python/py-oauth2/Portfile
===================================================================
--- trunk/dports/python/py-oauth2/Portfile	2012-01-24 22:31:47 UTC (rev 89315)
+++ trunk/dports/python/py-oauth2/Portfile	2012-01-24 22:33:12 UTC (rev 89316)
@@ -28,10 +28,9 @@
 if {$subport != $name} {
     depends_lib     port:py${python.version}-distribute \
                     port:py${python.version}-httplib2
-}
-
-post-destroot {
-    if {[file exists ${destroot}${python.pkgd}/tests]} {
-        delete ${destroot}${python.pkgd}/tests
+    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/20120124/74d0acd3/attachment.html>


More information about the macports-changes mailing list