I'm trying to launch BitlBee's skyped, but it crashes when skype4py fails to import goobject. Reproducible: Always Steps to Reproduce: 1. emerge -pv =dev-python/skype4py-1.0.35 2. python2.7 -c 'import Skype4Py.api.posix_dbus' Actual Results: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/Skype4Py/api/posix_dbus.py", line 48, in <module> import gobject ImportError: No module named gobject Expected Results: No output Same emerge --info as for #503360 [1]. The 'gobject' module is provided by dev-python/pygobject, which should be available if the dbus API is used. I'd just add it to RDEPEND, but if we want more flexibility, we could add a dbus USE flag and only RDEPEND on dev-python/pygobject and dev-python/dbus-python if dbus was enabled. Similarly for an X USE flag and the existing x11-libs/libX11 dependency. [1]: https://bugs.gentoo.org/show_bug.cgi?id=503360
It appears that dev-python/pygobject-3.8.3 installs pygtkcompat and gi modules, but no longer installs a gobject module. We probably want <dev-python/pygobject-3. Skype v4.2.0.13 is linked against gobject v2: $ ldd /opt/bin/skype | grep gobject libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf2c08000) so a dependency on pygobject v2.x seems reasonable.
that would make for; RDEPEND="net-im/skype dev-python/pygobject:2[${PYTHON_USEDEP}] || ( dev-python/dbus-python[${PYTHON_USEDEP}] x11-libs/libX11 )" a full diff -u patch seems overkill
Fixed in 1.0.35-r1.