On Apr 3, 2014, at 07:20, strom...@macports.org wrote:

> Revision
> 118494
> Author
> strom...@macports.org
> Date
> 2014-04-03 05:20:40 -0700 (Thu, 03 Apr 2014)
> Log Message
> 
> py-theano: fix permissions (#43188)
> Modified Paths
> 
>       • trunk/dports/python/py-theano/Portfile
> Diff
> 
> Modified: trunk/dports/python/py-theano/Portfile (118493 => 118494)
> 
> --- trunk/dports/python/py-theano/Portfile    2014-04-03 12:01:15 UTC (rev 
> 118493)
> +++ trunk/dports/python/py-theano/Portfile    2014-04-03 12:20:40 UTC (rev 
> 118494)
> 
> @@ -31,6 +31,18 @@
> 
>                          port:py${python.version}-setuptools
> 
>      depends_lib-append  port:py${python.version}-numpy \
> 
>                          port:py${python.version}-scipy
> 
> +
> +    # Fix permissions (#43188)
> +    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
> +            }
> +        }
> +    }

If these files get installed, the revision needs to be increased.

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to