Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 555930

Summary: Multiple GNOME packages: move python* USE defaults from ebuilds to profiles
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-26 08:37:03 UTC
$ find -name '*.ebuild' -exec grep '+python_single_targ' {} +
./media-sound/gnome-music/gnome-music-3.14.3.1.ebuild:IUSE+=" +python_single_target_python3_3 python_single_target_python3_4"
./media-sound/gnome-music/gnome-music-3.16.1.ebuild:IUSE+=" +python_single_target_python3_3 python_single_target_python3_4"
./media-sound/rhythmbox/rhythmbox-3.0.3.ebuild:IUSE+=" python_single_target_python3_2 +python_single_target_python3_3"


Two biggies with that:

1. you implicitly append flags that could be masked (and thus unhandled) by eclass -- like 3.2 in the above grep,

2. you need to update the ebuilds when default impls switch. Like when floppym just changed the default from 3.3 to 3.4.

So let's just move those defaults to profiles/base/package.use. This will have less side effects and be easier to change.
Comment 1 Pacho Ramos gentoo-dev 2015-07-26 10:20:54 UTC
+  26 Jul 2015; Pacho Ramos <pacho@gentoo.org> base/package.use:
+  Set here proper defaults for python-single-r1 consumers in profiles instead
+  of in ebuilds (#555930 by mgorny)
+