Bug 222709 - dev-python/PyQt4 split Qt4 dependencies
Bug#: 222709 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: python@gentoo.org Reported By: the_unknown@gmx.net
Component: Ebuilds
URL: 
Summary: dev-python/PyQt4 split Qt4 dependencies
Keywords:  
Status Whiteboard: 
Opened: 2008-05-18 19:59 0000
Description:   Opened: 2008-05-18 19:59 0000
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 From Alex Busenius 2008-05-18 19:59:57 0000 -------
Created an attachment (id=153593) [details]
PyQt4-4.4.ebuild for split Qt4 ebuilds

------- Comment #2 From Ben de Groot 2008-05-24 23:34:54 0000 -------
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 From Ingmar Vanhassel (RETIRED) 2008-05-25 13:09:44 0000 -------
Fixed.

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