Because dev-libs/gobject-introspection dies in pkg_setup when PYTHON_TARGETS and PYTHON_SINGLE_TARGET are not set appropriately, the ebuild should set REQUIRED_USE appropriately. The python-single-r1 eclass provides a variable with the appropriate expression, so the only change to the ebuild required is to add a line: REQUIRED_USE="${PYTHON_REQUIRED_USE}" (The reason the eclass doesn't do this itself is so that the ebuild can make that requirement itself conditional on another USE flag, such as "python? ( ${PYTHON_REQUIRED_USE}").
Please go ahead
+*gobject-introspection-1.36.0-r1 (05 Sep 2013) + + 05 Sep 2013; Pacho Ramos <pacho@gentoo.org> + +files/gobject-introspection-1.36.0-detect-clang.patch, + +gobject-introspection-1.36.0-r1.ebuild: + Fix clang detection (#483412 by Stefan de Konink) and REQUIRED_USE (#471440 by + Jonathan Callen) +