[90122] trunk/dports/python/py-zc-buildout/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Wed Feb 22 08:09:38 PST 2012
Revision: 90122
http://trac.macports.org/changeset/90122
Author: singingwolfboy at macports.org
Date: 2012-02-22 08:09:38 -0800 (Wed, 22 Feb 2012)
Log Message:
-----------
py-zc-buildout: add more checks for deleting stray README
Modified Paths:
--------------
trunk/dports/python/py-zc-buildout/Portfile
Modified: trunk/dports/python/py-zc-buildout/Portfile
===================================================================
--- trunk/dports/python/py-zc-buildout/Portfile 2012-02-22 15:24:52 UTC (rev 90121)
+++ trunk/dports/python/py-zc-buildout/Portfile 2012-02-22 16:09:38 UTC (rev 90122)
@@ -6,7 +6,7 @@
name py-zc-buildout
set real_name zc.buildout
version 1.5.2
-revision 1
+revision 2
python.versions 24 25 26 27
categories-append devel
platforms darwin
@@ -39,7 +39,12 @@
foreach file [glob ${destroot}${python.pkgd}/zc/buildout/*.txt] {
delete $file
}
- delete ${destroot}${prefix}/README.txt
+ if {[file exists ${destroot}${prefix}/README.txt]} {
+ delete ${destroot}${prefix}/README.txt
+ }
+ if {[file exists ${destroot}${python.prefix}/README.txt]} {
+ delete ${destroot}${python.prefix}/README.txt
+ }
system "chmod -R 755 ${destroot}${python.pkgd}"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120222/ba3c1d5f/attachment.html>
More information about the macports-changes
mailing list