Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] emerge: auto-enable --with-bdeps if --usepkg is not enabled (bug 598444)
Date: Wed, 08 Mar 2017 18:48:10
Message-Id: 20170308104803.3f8497a8.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2] emerge: auto-enable --with-bdeps if --usepkg is not enabled (bug 598444) by Zac Medico
1 On Sun, 5 Mar 2017 00:40:25 -0800
2 Zac Medico <zmedico@g.o> wrote:
3
4 > It's useful to automatically enable --with-bdeps so that @world
5 > updates will update all packages that are not eligible for removal by
6 > emerge --depclean. However, many users of binary packages do not want
7 > unnecessary build time dependencies installed, therefore do not
8 > auto-enable --with-bdeps for installation actions when the --usepkg
9 > option is enabled.
10 >
11 > A new --with-bdeps-auto=<y|n> option is provided, making it possible
12 > to enable or disable the program logic that causes --with-bdeps to be
13 > automatically enabled. Use --with-bdeps-auto=n to prevent --with-bdeps
14 > from being automatically enabled for installation actions. This is
15 > useful for some rare cases in which --with-bdeps triggers unsolvable
16 > dependency conflicts (and putting --with-bdeps=n in
17 > EMERGE_DEFAULT_OPTS would cause undesirable --depclean behavior).
18 >
19 > X-Gentoo-bug: 598444
20 > X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=598444
21 > ---
22 > [PATCH v2] adds a --with-bdeps-auto=<y|n> option which is useful for
23 > some rare cases in which --with-bdeps triggers unsolvable dependency
24 > conflicts
25 >
26 > man/emerge.1 | 37 +++-
27 > pym/_emerge/create_depgraph_params.py | 5 +
28 > pym/_emerge/depgraph.py | 4 +-
29 > pym/_emerge/main.py | 5 +
30 > pym/portage/tests/resolver/ResolverPlayground.py | 5 +
31 > pym/portage/tests/resolver/test_bdeps.py | 215
32 > +++++++++++++++++++++++ 6 files changed, 266 insertions(+), 5
33 > deletions(-) create mode 100644
34
35 Looks fine, merge please :)
36
37 --
38 Brian Dolbec <dolsen>

Replies