[MacPorts] #28036: py26-pyqt4 @4.8.2 syntax error in port_v3 files
#28036: py26-pyqt4 @4.8.2 syntax error in port_v3 files ----------------------------------------+----------------------------------- Reporter: skurylo+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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: haspatch | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Changes (by jmr@…): * keywords: => haspatch Comment: The attached should do the trick. -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Comment(by michaelld@…): I didn't have this issue up front. The patch seems to do no harm for my install. I wonder if anyone else can confirm that the patch fixes this ticket? -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Comment(by michaelld@…): If this ticket is still valid, can you do the following: {{{ sudo port clean py26-pyqt4 sudo port selfupdate }}} and then try to install or upgrade py26-pyqt4 again. There's a new qt4-mac and py26-pyqt4 that will hopefully fix this issue. -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Comment(by skurylo+macports@…): Unfortunately I no longer have access to a mac, so I wasn't able to try the patch or this new release. -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: haspatch | Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 ----------------------------------------+----------------------------------- Comment(by michaelld@…): The patch looks good to me. Let me test it first & verify, then I'll check it in. -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28036: py26-pyqt4 @4.8.2 syntax error in port_v3 files -----------------------------------------------+---------------------------- Reporter: skurylo+macports@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: py25-pyqt4 py26-pyqt4 py27-pyqt4 | -----------------------------------------------+---------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: FIxed in r96669. -- Ticket URL: <https://trac.macports.org/ticket/28036#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts