Gentoo Archives: gentoo-portage-dev

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