Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555930 - Multiple GNOME packages: move python* USE defaults from ebuilds to profiles
Summary: Multiple GNOME packages: move python* USE defaults from ebuilds to profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-26 08:37 UTC by Michał Górny
Modified: 2015-07-26 10:20 UTC (History)
1 user (show)

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 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)
+