[MacPorts] #41145: py26-pyobjc needs to be downgraded to a Python 2.6-compatible version

MacPorts noreply at macports.org
Sat Nov 2 20:33:26 PDT 2013


#41145: py26-pyobjc needs to be downgraded to a Python 2.6-compatible version
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  py26-pyobjc   |
---------------------------+--------------------------------

Comment (by ryandesign@…):

 For example, install namebench with the python26 variant. It doesn't
 launch. At the command line we see the problem:
 {{{
 $ python2.6
 /Applications/MacPorts/namebench.app/Contents/Resources/main.py
 Starting up on Python 2.6.8 [Darwin-13.0.0-x86_64-i386-64bit] compiled
 with GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)
 Traceback (most recent call last):
   File "/Applications/MacPorts/namebench.app/Contents/Resources/main.py",
 line 25, in <module>
     import objc
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/PyObjC/objc/__init__.py", line 39, in <module>
     from objc._properties import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/PyObjC/objc/_properties.py", line 852
     {item}
          ^
 SyntaxError: invalid syntax
 }}}

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


More information about the macports-tickets mailing list