[143082] trunk/dports/python/py-numpydoc/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 08:28:54 PST 2015


Revision: 143082
          https://trac.macports.org/changeset/143082
Author:   mojca at macports.org
Date:     2015-12-03 01:28:03 -0800 (Thu, 03 Dec 2015)
Log Message:
-----------
py-numpydoc: a dirty way to fix permission problems

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

Modified: trunk/dports/python/py-numpydoc/Portfile
===================================================================
--- trunk/dports/python/py-numpydoc/Portfile	2015-12-02 23:11:19 UTC (rev 143081)
+++ trunk/dports/python/py-numpydoc/Portfile	2015-12-03 09:28:03 UTC (rev 143082)
@@ -7,6 +7,7 @@
 name                py-numpydoc
 python.rootname     numpydoc
 version             0.5
+revision            1
 platforms           darwin
 license             BSD
 maintainers         mojca openmaintainer
@@ -29,6 +30,13 @@
     depends_build-append \
                         port:py${python.version}-setuptools
 
+    # a very suboptimal way to fix a problem with files having permissions 750 and 640
+    # an alternative way could be to fetch the sources from GitHub instead
+    post-extract {
+        system "find ${worksrcpath} -type d -exec chmod 755 {} \\;"
+        system "find ${worksrcpath} -type f -exec chmod 644 {} \\;"
+    }
+
     livecheck.type      none
 } else {
     livecheck.type      pypi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/da638e54/attachment.html>


More information about the macports-changes mailing list