[143366] trunk/dports/python/py-httplib2/Portfile

aronnax at macports.org aronnax at macports.org
Sat Dec 12 09:40:57 PST 2015


Revision: 143366
          https://trac.macports.org/changeset/143366
Author:   aronnax at macports.org
Date:     2015-12-11 06:37:57 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
py-httplib2: fix file permissions that are still broken in latest release

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

Modified: trunk/dports/python/py-httplib2/Portfile
===================================================================
--- trunk/dports/python/py-httplib2/Portfile	2015-12-11 14:27:09 UTC (rev 143365)
+++ trunk/dports/python/py-httplib2/Portfile	2015-12-11 14:37:57 UTC (rev 143366)
@@ -6,6 +6,7 @@
 name              py-httplib2
 set realversion   0.9.2
 version           2-${realversion}
+revision          1
 categories-append devel net
 license           MIT
 platforms         darwin
@@ -26,6 +27,12 @@
                   sha256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988
 
 if {${name} ne ${subport}} {
+  # Extracted files do not have correct 'group' and 'other' permissions.
+  post-extract {
+    system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
+    system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
+  }
+
   depends_build-append \
                     port:py${python.version}-setuptools
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/857ee575/attachment.html>


More information about the macports-changes mailing list