[118494] trunk/dports/python/py-theano/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Apr 4 01:20:56 PDT 2014


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

> Revision
> 118494
> Author
> stromnov at 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.



More information about the macports-dev mailing list