[93113] trunk/dports/python/py-scikits-learn/Portfile

stromnov at macports.org stromnov at macports.org
Tue May 15 08:10:21 PDT 2012


Revision: 93113
          https://trac.macports.org/changeset/93113
Author:   stromnov at macports.org
Date:     2012-05-15 08:10:21 -0700 (Tue, 15 May 2012)
Log Message:
-----------
py-scikits-learn: fix file attributes (#34437)

Modified Paths:
--------------
    trunk/dports/python/py-scikits-learn/Portfile

Modified: trunk/dports/python/py-scikits-learn/Portfile
===================================================================
--- trunk/dports/python/py-scikits-learn/Portfile	2012-05-15 14:31:23 UTC (rev 93112)
+++ trunk/dports/python/py-scikits-learn/Portfile	2012-05-15 15:10:21 UTC (rev 93113)
@@ -6,7 +6,7 @@
 
 name                py-scikits-learn
 version             0.11
-revision            0
+revision            1
 categories-append   science
 license             BSD
 platforms           darwin
@@ -37,6 +37,11 @@
                     port:py${python.version}-distribute \
                     port:py${python.version}-scikits-module
 
+    post-patch {
+        # Normalize file attributes (see #34437)
+        system "chmod -R go+rX ${worksrcpath}"
+    }
+
     post-destroot {
         # scikits/__init__.py is provided by scikits-module
         file delete ${destroot}${python.pkgd}/scikits/__init__.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/00f04141/attachment.html>


More information about the macports-changes mailing list