Packages using gnome-python-common.eclass should support installation for multiple Python ABIs and properly specify dependency on Python. dev-python/pygtk doesn't yet support Python 3, so I assume that GNOME Python modules also don't support Python 3. I'm attaching patches for ebuilds. Changes in other ebuilds are very similar, so you should be able to apply the changes in all GNOME Python modules. You can read documentation in: http://www.gentoo.org/proj/en/Python/developersguide.xml
(In reply to comment #0) > I'm attaching patches for ebuilds. s/ebuilds/some example ebuilds/
Created attachment 223187 [details, diff] gconf-python-2.28.0.ebuild.patch
Created attachment 223189 [details, diff] gdl-python-2.19.1-r2.ebuild.patch
This bug is for the following packages: dev-python/brasero-python dev-python/bug-buddy-python dev-python/egg-python dev-python/evince-python dev-python/evolution-python dev-python/gconf-python dev-python/gdl-python dev-python/gnome-applets-python dev-python/gnome-desktop-python dev-python/gnome-keyring-python dev-python/gnome-media-python dev-python/gnome-vfs-python dev-python/gtkhtml-python dev-python/gtkmozembed-python dev-python/gtksourceview-python dev-python/gtkspell-python dev-python/libbonobo-python dev-python/libgda-python dev-python/libgksu-python dev-python/libgnomecanvas-python dev-python/libgnomeprint-python dev-python/libgnome-python dev-python/libgtop-python dev-python/librsvg-python dev-python/libwnck-python dev-python/metacity-python dev-python/nautilus-cd-burner-python dev-python/totem-python
Created attachment 226781 [details, diff] gnome-python-common.eclass.patch * pygobject/pygtk do not support python:3 yet so restrict 3.* * I wonder if it makes any sense to support EAPI < 3 since we manage all the ebuilds using this eclass and it is not meant for general use anyway so no story of eclass API stability
(In reply to comment #5) In EAPI <=2 in ebuilds not supporting installation for multiple Python ABIs you should pass full paths to python_mod_optimize(). It's a good idea to pass arguments to python_mod_cleanup(). I suggest to export pkg_postinst and pkg_postrm in EAPI >=2. You probably don't need to export src_unpack in EAPI >=2.
(In reply to comment #6) > (In reply to comment #5) > In EAPI <=2 in ebuilds not supporting installation for multiple Python ABIs > you should pass full paths to python_mod_optimize(). I noticed that the patched eclass sets SUPPORT_PYTHON_ABIS="1", so gnome-python-common_pkg_postinst() doesn't need changes. (I would suggest to use bug #309039 for discussion about this eclass.)
*** Bug 313723 has been marked as a duplicate of this bug. ***
Fixed with bug #309039. Please reopen if anything is missing besides dependencies not being multiple ABI aware yet (like libbonobo-python and pyorbit).