Opened 13 years ago

Last modified 12 years ago

#28036 closed defect

py26-pyqt4 @4.8.2 syntax error in port_v3 files — at Version 1

Reported by: skurylo+macports@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc:
Port: py25-pyqt4 py26-pyqt4 py27-pyqt4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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=924145285e62d066a65b9a5adaceb771f767c190;hb=HEAD

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

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…

Changed 13 years ago by jmroot (Joshua Root)

Attachment: py-pyqt4-2vs3.patch added
Note: See TracTickets for help on using tickets.