[149439] trunk/dports/python/py-codestyle/Portfile

petr at macports.org petr at macports.org
Mon Jun 20 10:47:09 PDT 2016


Revision: 149439
          https://trac.macports.org/changeset/149439
Author:   petr at macports.org
Date:     2016-06-20 10:47:08 -0700 (Mon, 20 Jun 2016)
Log Message:
-----------
py-codestyle: fix wrong distfile permissions

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

Modified: trunk/dports/python/py-codestyle/Portfile
===================================================================
--- trunk/dports/python/py-codestyle/Portfile	2016-06-20 17:25:40 UTC (rev 149438)
+++ trunk/dports/python/py-codestyle/Portfile	2016-06-20 17:47:08 UTC (rev 149439)
@@ -35,6 +35,14 @@
 
 if {${name} ne ${subport}} {
     depends_lib-append      port:py${python.version}-setuptools
+
+    # fix wrong file permissions of the distfile 
+    post-extract { 
+        fs-traverse f ${worksrcpath} { 
+            file attributes ${f} -permissions a+r   
+        }
+    }
+
     depends_run-append      port:${_name}_select
 
     select.group            ${_name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160620/ad8a3382/attachment.html>


More information about the macports-changes mailing list