[137702] trunk/dports/python/py-obspy/Portfile
petr at macports.org
petr at macports.org
Wed Jun 17 12:25:42 PDT 2015
Revision: 137702
https://trac.macports.org/changeset/137702
Author: petr at macports.org
Date: 2015-06-17 12:25:42 -0700 (Wed, 17 Jun 2015)
Log Message:
-----------
py-obspy: fix file permissions due to faulty distfile
Modified Paths:
--------------
trunk/dports/python/py-obspy/Portfile
Modified: trunk/dports/python/py-obspy/Portfile
===================================================================
--- trunk/dports/python/py-obspy/Portfile 2015-06-17 19:24:58 UTC (rev 137701)
+++ trunk/dports/python/py-obspy/Portfile 2015-06-17 19:25:42 UTC (rev 137702)
@@ -11,6 +11,7 @@
conflicts ${name}-devel
version 0.10.2
+revision 1
categories-append science
platforms darwin
license LGPL-3
@@ -59,6 +60,19 @@
# py-numpy & py-scipy are not universal
universal_variant no
+ # fix wrong file permissions of the distfile
+ post-extract {
+ foreach f [ glob ${worksrcpath}/* \
+ ${worksrcpath}/*/* \
+ ${worksrcpath}/*/*/* \
+ ${worksrcpath}/*/*/*/* \
+ ${worksrcpath}/*/*/*/*/* \
+ ${worksrcpath}/*/*/*/*/*/*
+ ] {
+ file attributes ${f} -permissions a+r
+ }
+ }
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150617/ac4c9ecf/attachment.html>
More information about the macports-changes
mailing list