#28036: py26-pyqt4 @4.8.2 syntax error in port_v3 files ----------------------------------------+----------------------------------- Reporter: skurylo+macports@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: michaelld@… (removed) * owner: macports-tickets@… => michaelld@… Old description:
I'm using osx 10.4 and python 2.6, but all 2.x versions should be affected.
When I'm using py2app with a Qt program, all of Qt is pulled in.
Unfortunately this includes the python 3 files in: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/PyQt4/uic/port_v3/
Fedora and Debian have solved this issue by not including the "port_v3" directory, in their python 2.x Qt packages.
https://bugzilla.redhat.com/show_bug.cgi?id=564633 The key line is 178: http://pkgs.fedoraproject.org/gitweb/?p=PyQt4.git;a=blob;f=PyQt4.spec;h=9241...
And the Debian version, on line 138: http://svn.debian.org/wsvn/python-modules/packages/python- qt4/trunk/debian/rules?op=blame&rev=0&sc=0
Macports should do something similar. However I'm not familiar enough with the port file to make the change.
Thank you
New description: I'm using osx 10.4 and python 2.6, but all 2.x versions should be affected. When I'm using py2app with a Qt program, all of Qt is pulled in. Unfortunately this includes the python 3 files in: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/PyQt4/uic/port_v3/ Fedora and Debian have solved this issue by not including the "port_v3" directory, in their python 2.x Qt packages. https://bugzilla.redhat.com/show_bug.cgi?id=564633 The key line is 178: http://pkgs.fedoraproject.org/gitweb/?p=PyQt4.git;a=blob;f=PyQt4.spec;h=9241... And the Debian version, on line 138: http://svn.debian.org/wsvn/python-modules/packages/python- qt4/trunk/debian/rules?op=blame&rev=0&sc=0 Macports should do something similar. However I'm not familiar enough with the port file to make the change. Thank you -- -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS