[121456] trunk/dports/python/py-pyobjc

Joshua Root jmr at macports.org
Wed Jun 25 18:13:51 PDT 2014


On 2014-6-26 10:59 , Ryan Schmidt wrote:
> 
> On Jun 25, 2014, at 7:17 PM, jmr at macports.org wrote:
> 
>> Revision
>> 121456
>> Author
>> jmr at macports.org
>> Date
>> 2014-06-25 17:17:51 -0700 (Wed, 25 Jun 2014)
>> Log Message
>>
>> py-pyobjc: fix build with current setuptools (#43586)
> 
>> +--- setup.py.orig	2014-05-29 06:40:31.000000000 -0700
>> ++++ setup.py	2014-05-29 06:41:50.000000000 -0700
>> +@@ -268,7 +268,7 @@
>> + class pyobjc_install_lib (install_lib.install_lib):
>> +     def get_exclusions(self):
>> +         result = install_lib.install_lib.get_exclusions(self)
>> +-        for fn in install_lib._install_lib.get_outputs(self):
>> ++        for fn in install_lib.orig.install_lib.get_outputs(self):
>> +             if 'PyObjCTest' in fn:
>> +                 result[fn] = 1
> 
> I was looking into this too... Is that patch enough? The upstream patch was much larger:
> 
> https://bitbucket.org/ronaldoussoren/pyobjc/commits/135e5c27fc4e
> 
> Granted the upstream patch was against version 3; our port is for version 2.5.1.

That looks like it's just the same fix in the setup.py for every module,
so for us that would be py-pyobjc-cocoa, py-pyobjc-fsevents, etc.

- Josh


More information about the macports-dev mailing list