[151535] trunk/dports/python/py-grako/Portfile

stromnov at macports.org stromnov at macports.org
Wed Aug 17 01:54:59 PDT 2016


Revision: 151535
          https://trac.macports.org/changeset/151535
Author:   stromnov at macports.org
Date:     2016-08-17 01:54:59 -0700 (Wed, 17 Aug 2016)
Log Message:
-----------
py-grako: fix permissions

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

Modified: trunk/dports/python/py-grako/Portfile
===================================================================
--- trunk/dports/python/py-grako/Portfile	2016-08-17 08:03:37 UTC (rev 151534)
+++ trunk/dports/python/py-grako/Portfile	2016-08-17 08:54:59 UTC (rev 151535)
@@ -6,7 +6,7 @@
 
 name                py-grako
 version             3.12.1
-revision            0
+revision            1
 categories-append   devel textproc
 platforms           darwin
 license             BSD
@@ -31,6 +31,17 @@
                         port:py${python.version}-setuptools \
                         port:py${python.version}-cython
 
+    # Fix permissions
+    post-extract {
+        fs-traverse item ${worksrcpath} {
+            if {[file isdirectory ${item}]} {
+                file attributes ${item} -permissions a+rx
+            } elseif {[file isfile ${item}]} {
+                file attributes ${item} -permissions a+r
+            }
+        }
+    }
+
     livecheck.type      none
 } else {
     livecheck.type      pypi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160817/0c51a120/attachment.html>


More information about the macports-changes mailing list