If you install the pywebkitgtk-1.1.6 version you get a directory named "webkit-1.0" in the site-packages dir. That cannot be imported with the "import webkit" statement and breaks gwibber and other software relying on pywebkitgtk (if there is any ;)). You can fix that by creating a site-packages/webkit.pth file containing the string "webkit-1.0" which makes imports work again. Reproducible: Always Steps to Reproduce:
Created attachment 202735 [details] updated ebuild to fix the lack of webkit.pth file This ebuild (which is also in my overlay [layman -a tante]) fixes the issue in a kinda hackish way. But it works till upstream fixed it.
Created attachment 202745 [details] My ebuild Slightly more hacked ebuild here: it fixes a missing link against gthread-2.0 that would result in an undefined symbol when loading the extension. It also uses dodir and quotes the path but that's minor either way.
My problem is reported as http://code.google.com/p/pywebkitgtk/issues/detail?id=39
1.1.5 and other versions also don't install any .pth file. 1.1.5 was installing webkit.so into site-packages/gtk-2.0 directory, so it was accidentally working due to existence of site-packages/pygtk.pth-2.0 file (which belongs to dev-python/pygobject).
(In reply to comment #1 and comment #2) ${PYVER} cannot be used for actions which should be executed for all enabled Python versions.
Fixed in dev-python/pywebkitgtk-1.1.6-r1.