Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37343 - New version of PyQt (3.9) available which matches latest version of SIP (4.0_rc1)
Summary: New version of PyQt (3.9) available which matches latest version of SIP (4.0_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 14:00 UTC by Peter Herndon
Modified: 2004-01-17 17:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild for PyQt (PyQt-3.9.ebuild,1.51 KB, text/plain)
2004-01-05 14:02 UTC, Peter Herndon
Details
Patch necessary for PyQt-3.9.ebuild (license-3.9.diff,496 bytes, patch)
2004-01-05 14:04 UTC, Peter Herndon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Herndon 2004-01-05 14:00:49 UTC
The version of PyQt in portage, 3.8.1, has been superseded by 3.9.  PyQt 3.8.1 has a dependency on SIP 3.8.  The latest SIP in portage is 4.0_rc1, thus PyQt shows up in revdep-rebuild and requires a downgrade of SIP.

Solution:  new ebuild of PyQt 3.9, attached.

Reproducible: Always
Steps to Reproduce:
1. emerge -u sip
2. revdep-rebuild -p
3.

Actual Results:  
PyQt shows up in revdep-rebuild list.  emerge -p PyQt wants to downgrade SIP.

Expected Results:  
Current PyQt 3.8.1 ebuild has an incorrect dependency on a version of SIP with
the same major/minor version number.  Attached ebuild modifies ebuild version
and SIP dependency, modifies the SRC URI, and uses the new configure.py rather
than build.py.  Also, attached license diff file patches configure.py to avoid
the hang while waiting for license acceptance.
Comment 1 Peter Herndon 2004-01-05 14:02:28 UTC
Created attachment 23206 [details]
New ebuild for PyQt
Comment 2 Peter Herndon 2004-01-05 14:04:32 UTC
Created attachment 23207 [details, diff]
Patch necessary for PyQt-3.9.ebuild

This patch goes in /usr/portage/dev-python/PyQt/files, and is applied by the
ebuild to PyQt's configure.py script prior to compilation.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-05 15:22:35 UTC
You don't fix the paths in pyqtconfig.py. Have a look at Bug 35355 please.
Comment 4 Peter Herndon 2004-01-05 16:06:02 UTC
I was wondering why my ebuild was more-or-less erasing itself... :)  Attaching a slightly modified ebuild, with your corrections.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-06 01:48:27 UTC
Yeah, took me some time to figure that out with the sip ebuild. I didn't added a new bug for pyqt because I wanted to wait for a compatible pykde version. Still waiting.
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2004-01-17 17:51:50 UTC
PyQt 3.10 was added to portage, thanks guys.