| Summary: | Multiple GNOME packages: move python* USE defaults from ebuilds to profiles | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | [OLD] GNOME | Assignee: | 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: | --- | |
+ 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) + |
$ 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.