Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] "Lazy" use flags?
Date: Thu, 11 Feb 2016 02:31:48
Message-Id: CAATnKFD0p+pK7iHU=CCn3NbYQSkOwQ4zDHTM1aWr1-jmU6v8wQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] "Lazy" use flags? by Rich Freeman
1 On 11 February 2016 at 13:42, Rich Freeman <rich0@g.o> wrote:
2 >> soft disable = Disable, unless it would break a dependency
3 >
4 > I don't really see why these are needed. Just do what we are already
5 > doing - use the settings in the profile and package defaults.
6
7
8 And soft-disable would be for things where
9
10 IUSE="+flag"
11
12 Where you didn't like "flag", but application of < USE="-flag" > can
13 conditionally cause breakages due to other packages doing
14 DEPEND="package[flag]"
15
16 But would otherwise be identical to "Soft-enable"
17
18 Just his descriptions are strange.
19
20 I think a better description for the set of possible settings are:
21
22 enable: USE="foo"
23 permit: treat as USE="" by default, so IUSE="+foo" still defaults to
24 "on", but turn USE="foo" on if dependency conditions require it.
25 discourage: treat as USE="-foo" by default, so IUSE="+foo" gets vetoed
26 to "off", but can be still enabled by dependency conditions
27 forbid: USE="-foo"
28
29
30
31 --
32 Kent
33
34 KENTNL - https://metacpan.org/author/KENTNL