[92880] trunk/dports/python

Daniel Ericsson deric at macports.org
Thu May 10 10:53:10 PDT 2012


On 10 maj 2012, at 03:04, Ryan Schmidt wrote:

> 
> On May 9, 2012, at 18:08, deric at macports.org wrote:
> 
>> Revision: 92880
>>         https://trac.macports.org/changeset/92880
>> Author:   deric at macports.org
>> Date:     2012-05-09 16:08:04 -0700 (Wed, 09 May 2012)
>> Log Message:
>> -----------
>> py-scrapy: Unified, updated to 0.14.3. closes #34293, maintainer timeout
>> 
>> Added Paths:
>> -----------
>>   trunk/dports/python/py-scrapy/
>>   trunk/dports/python/py-scrapy/Portfile
> 
> 
>> +if {$subport != $name} {
>> +    depends_build-append    port:py${python.version}-distribute
>> +    depends_lib-append      port:py${python.version}-lxml port:py${python.version}-twisted
>> +    
>> +    pre-activate {
>> +        system "find ${destroot} -perm 600 -type f -exec chmod 644 {} \\;"
>> +    }
>> +}
> 
> You can't mess with destroot in pre-activate; the destroot might not exist by then anymore. Observe:

Alright thanks, I'll keep that in mind, I've removed this entire block anyway since the `find` doesn't match any 600 files.

-- Daniel



More information about the macports-dev mailing list