Currently pycairo-1.10.0-r4 is masked in package.mask of the profile as: # Fabian Groffen <grobian@gentoo.org> (11 May 2011) # Uses the horribly broken build-system waf. When hacked far enough, # produces a MH_OBJ with invalid install_name called _cairo.bundle. ~dev-python/pycairo-1.10.0 but if you change ${ED} to ${D} in darwin specific clause in src_install, it can be installed. Without this change, it fails with: python3_3: running fix_darwin_install_names install_name_tool: can't open file: /Users/tetsushi/Gentoo/var/tmp/portage/dev-python/pycairo-1.10.0-r4/image/Users/tetsushi/Gentoo//Users/tetsushi/Gentoo/usr/lib/python3.3/site-packages/cairo/_cairo.bundle (No such file or directory) As you see, there is a double prefix in the referring path. The change solves it. After emerge, I can import cairo on python interpreters, I can emerge dev-python/pygtk (need patch of #370079) which depends on pycairo, and I can run dev-gfx/mirage (not keyworded) which depends on pygtk. Do I need more tests?
Created attachment 344590 [details, diff] change ${ED} to ${D}
pycairo is installing fine with the current ebuilds.