[98301] trunk/dports/python/py-google-api/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Oct 2 07:53:16 PDT 2012


Revision: 98301
          http://trac.macports.org//changeset/98301
Author:   singingwolfboy at macports.org
Date:     2012-10-02 07:53:16 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
Reset permissions on .egg-info files for py-google-api

Modified Paths:
--------------
    trunk/dports/python/py-google-api/Portfile

Modified: trunk/dports/python/py-google-api/Portfile
===================================================================
--- trunk/dports/python/py-google-api/Portfile	2012-10-02 14:41:37 UTC (rev 98300)
+++ trunk/dports/python/py-google-api/Portfile	2012-10-02 14:53:16 UTC (rev 98301)
@@ -6,6 +6,7 @@
 name                py-google-api
 set realname        google-api-python-client
 version             1.0
+revision            1
 python.versions     25 26 27 31 32
 categories-append   www devel
 maintainers         openmaintainer singingwolfboy
@@ -24,6 +25,11 @@
 post-destroot {
     delete ${destroot}${python.pkgd}/uritemplate
     delete ${destroot}${python.pkgd}/oauth2client
+
+    set egg-info ${destroot}${python.pkgd}/google_api_python_client-${version}-py${python.branch}.egg-info
+    foreach d [glob -dir ${egg-info} *] {
+        file attributes ${d} -permissions 0644
+    }
 }
 
 if {$subport != $name} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/a183e0c1/attachment.html>


More information about the macports-changes mailing list