[MacPorts] #44235: py34-pyobjc-cocoa @2.5.1 staging fails

MacPorts noreply at macports.org
Fri Aug 1 13:52:39 PDT 2014


#44235: py34-pyobjc-cocoa @2.5.1 staging fails
--------------------------------+--------------------------------
  Reporter:  ulrich.felzmann@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.1
Resolution:                     |   Keywords:  python
      Port:  py34-pyobjc-cocoa  |
--------------------------------+--------------------------------

Comment (by marshall.perrin@…):

 I was able to work around this just by commenting out the offending lines
 in pyobjc_setup.py, as shown in the following simple diff.

 I'll admit to not completely understanding what this code does well enough
 to know if this utter hack of a workaround is going to have negative
 consequences. However since it's in the 'get_exclusions' function I
 suspect it will just result in some PyObjCTest functions being installed
 unnecessarily, with no impact other than minor increased use of disk
 space.  In any case with this tweak I can install the port, and subsequent
 dependent ports like matplotlib.  Seems to be working so far.


 {{{
 189,191c189,191
 <         for fn in install_lib._install_lib.get_outputs(self):
 <             if 'PyObjCTest' in fn:
 <                 result[fn] = 1
 ---
 > #        for fn in install_lib._install_lib.get_outputs(self):
 > #            if 'PyObjCTest' in fn:
 > #                result[fn] = 1

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44235#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list