Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 3/3] gnuconfig.eclass: use BDEPEND, BROOT where available (drop support for EAPI <4)
Date: Tue, 06 Apr 2021 19:32:18
Message-Id: 6645620A-C5FC-4026-B80D-D4C71FDA43A5@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH v2 3/3] gnuconfig.eclass: use BDEPEND, BROOT where available (drop support for EAPI <4) by Ulrich Mueller
1 > On 5 Apr 2021, at 17:24, Ulrich Mueller <ulm@g.o> wrote:
2 >
3 >>>>>> On Mon, 05 Apr 2021, Sam James wrote:
4 >
5 >> + 4|5|6)
6 >> + DEPEND="
7 >> + sys-apps/grep
8 >> + sys-devel/gnuconfig
9 >> + "
10 >> + ;;
11 >> + 7)
12 >> + BDEPEND="
13 >> + sys-apps/grep
14 >
15 > We usually don't add basic tools like grep to dependencies.
16
17 Few points:
18
19 1) @system varies between profiles anyway which makes it hard to fully
20 rely on;
21
22 2) As a few of us have discussed in #gentoo-portage in the past, continuing
23 this trend of not explicitly stating dependencies makes parallelism in Portage
24 difficult. You can try this with —implicit-system-deps=n, but we really need
25 to be stating what we use explicitly.
26
27 The benefit is enhanced parallelism and the downside is being _slightly_ more
28 verbose in some ebuilds;
29
30 3) Implicit dependencies make it hard for us to ever actually swap implementations;
31
32 4) This helps when creating minimal systems without Portage in it.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies