Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471440 - dev-libs/gobject-introspection: should use REQUIRED_USE
Summary: dev-libs/gobject-introspection: should use REQUIRED_USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2013-05-27 15:12 UTC by Jonathan Callen (RETIRED)
Modified: 2013-09-05 20:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2013-05-27 15:12:54 UTC
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}").
Comment 1 Pacho Ramos gentoo-dev 2013-08-26 12:03:42 UTC
Please go ahead
Comment 2 Pacho Ramos gentoo-dev 2013-09-05 20:01:47 UTC
+*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)
+