[136005] trunk/dports/python/py-graphy/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat May 9 05:07:47 PDT 2015


Revision: 136005
          https://trac.macports.org/changeset/136005
Author:   ryandesign at macports.org
Date:     2015-05-09 05:07:46 -0700 (Sat, 09 May 2015)
Log Message:
-----------
py-graphy: use fs-traverse instead of find/xargs to remove .svn directories

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

Modified: trunk/dports/python/py-graphy/Portfile
===================================================================
--- trunk/dports/python/py-graphy/Portfile	2015-05-09 12:02:12 UTC (rev 136004)
+++ trunk/dports/python/py-graphy/Portfile	2015-05-09 12:07:46 UTC (rev 136005)
@@ -28,9 +28,16 @@
 python.versions     27
 
 if {${name} ne ${subport}} {
-    build {
-        system "find ${worksrcpath} -name .svn -print0 | xargs -0 rm -rf"
+    post-extract {
+        fs-traverse -ignoreErrors d ${worksrcpath} {
+            if {[file tail ${d}] eq {.svn}} {
+                delete ${d}
+            }
+        }
     }
+    
+    build {}
+    
     destroot {
         set docdir ${destroot}${prefix}/share/doc/${subport}
         xinstall -d ${docdir}/examples ${destroot}${python.pkgd}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150509/660e3a68/attachment.html>


More information about the macports-changes mailing list