Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 222709

Summary: dev-python/PyQt4 split Qt4 dependencies
Product: Gentoo Linux Reporter: Alex Busenius <the_unknown>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: dhardstone, qt, yngwin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 217161    
Attachments: PyQt4-4.4.ebuild for split Qt4 ebuilds

Description Alex Busenius 2008-05-18 19:59:06 UTC
Hello,
PyQt4 should also be updated to use the split Qt4 dependencies (see tracker bug #217161).

I tried to update the ebuild, but the problem is, that PyQt4 seems to automagically select which bindings it needs to compile.
So for split ebuilds, it should IMO only depend on the qt-core (I tried to build it - works fine), but be built after all other qt-* packages if some of them are installed. It must be rebuilt manually if some other qt-* packages are installed later than PyQt4.

I updated the ebuild to depend on qt-core and to use USE flags "dbus opengl svg qt3support X" for the corresponding qt-* packages, and it works fine on my system.
However, there are also x11-libs/qt-assistant:4 x11-libs/qt-phonon:4 x11-libs/qt-script:4 x11-libs/qt-sql:4 x11-libs/qt-test:4 x11-libs/qt-webkit:4 and x11-libs/qt-xmlpatterns:4 on which it doesn't depend at all.
Comment 1 Alex Busenius 2008-05-18 19:59:57 UTC
Created attachment 153593 [details]
PyQt4-4.4.ebuild for split Qt4 ebuilds
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2008-05-24 23:34:54 UTC
I added the proposed deps to the 4.4.2 ebuild. I don't know how you want to handle the rest, so I'll leave this open.
Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-25 13:09:44 UTC
Fixed.

With Qt 4.4.0 you need to use >=dev-python/PyQt4-4.4.2.