[45511] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Jan 16 13:09:15 PST 2009


Revision: 45511
          http://trac.macports.org/changeset/45511
Author:   jmr at macports.org
Date:     2009-01-16 13:09:14 -0800 (Fri, 16 Jan 2009)
Log Message:
-----------
py*-py2app-devel: don't install .svn dirs with the examples

Modified Paths:
--------------
    trunk/dports/python/py-py2app-devel/Portfile
    trunk/dports/python/py25-py2app-devel/Portfile
    trunk/dports/python/py26-py2app-devel/Portfile

Modified: trunk/dports/python/py-py2app-devel/Portfile
===================================================================
--- trunk/dports/python/py-py2app-devel/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
+++ trunk/dports/python/py-py2app-devel/Portfile	2009-01-16 21:09:14 UTC (rev 45511)
@@ -6,6 +6,7 @@
 
 name                py-py2app-devel
 version             0.4.2
+revision            1
 categories-append   devel
 maintainers         jmr openmaintainer
 description         converts python scripts into executable Mac OS X apps
@@ -33,8 +34,13 @@
     ${destroot}${prefix}/share/examples/${name}
     xinstall -m 644 -W ${worksrcpath} LICENSE.txt NEWS.txt README.txt \
     ${destroot}${prefix}/share/doc/${name}
-    eval file copy [glob ${worksrcpath}/examples/*] \
+    eval copy [glob ${worksrcpath}/examples/*] \
     ${destroot}${prefix}/share/examples/${name}
+    fs-traverse dir ${destroot}${prefix}/share/examples/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check regex

Modified: trunk/dports/python/py25-py2app-devel/Portfile
===================================================================
--- trunk/dports/python/py25-py2app-devel/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
+++ trunk/dports/python/py25-py2app-devel/Portfile	2009-01-16 21:09:14 UTC (rev 45511)
@@ -6,6 +6,7 @@
 
 name                py25-py2app-devel
 version             0.4.2
+revision            1
 categories-append   devel
 maintainers         jmr openmaintainer
 description         converts python scripts into executable Mac OS X apps
@@ -35,8 +36,13 @@
     ${destroot}${prefix}/share/examples/${name}
     xinstall -m 644 -W ${worksrcpath} LICENSE.txt NEWS.txt README.txt \
     ${destroot}${prefix}/share/doc/${name}
-    eval file copy [glob ${worksrcpath}/examples/*] \
+    eval copy [glob ${worksrcpath}/examples/*] \
     ${destroot}${prefix}/share/examples/${name}
+    fs-traverse dir ${destroot}${prefix}/share/examples/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check regex

Modified: trunk/dports/python/py26-py2app-devel/Portfile
===================================================================
--- trunk/dports/python/py26-py2app-devel/Portfile	2009-01-16 20:59:09 UTC (rev 45510)
+++ trunk/dports/python/py26-py2app-devel/Portfile	2009-01-16 21:09:14 UTC (rev 45511)
@@ -6,6 +6,7 @@
 
 name                py26-py2app-devel
 version             0.4.2
+revision            1
 categories-append   devel
 maintainers         jmr openmaintainer
 description         converts python scripts into executable Mac OS X apps
@@ -35,8 +36,13 @@
     ${destroot}${prefix}/share/examples/${name}
     xinstall -m 644 -W ${worksrcpath} LICENSE.txt NEWS.txt README.txt \
     ${destroot}${prefix}/share/doc/${name}
-    eval file copy [glob ${worksrcpath}/examples/*] \
+    eval copy [glob ${worksrcpath}/examples/*] \
     ${destroot}${prefix}/share/examples/${name}
+    fs-traverse dir ${destroot}${prefix}/share/examples/${name} {
+        if {[file isdirectory $dir] && [file tail dir] == ".svn"} {
+            delete $dir
+        }
+    }
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090116/b5fce3c9/attachment.html>


More information about the macports-changes mailing list