Gentoo Archives: gentoo-dev

From: "Gregory M. Turner" <gmt@×××××.us>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] On flags being in IUSE (and the prefix USE-flag in particular)
Date: Fri, 07 Sep 2012 23:40:12
Message-Id: 504A8567.90906@malth.us
In Reply to: [gentoo-dev] On flags being in IUSE (and the prefix USE-flag in particular) by Fabian Groffen
1 On 9/7/2012 10:32 AM, Fabian Groffen wrote:
2
3 > With the introduction of IMPLICIT_IUSE (scheduled for EAPI 5), a phrase
4 > has been added to PMS, that finally makes a statement on what's supposed
5 > to be in IUSE, and what not[2]. To me, this patch means that things like
6 > userland_BSD, elibc_glibc, etc. do *NOT* belong in IUSE of an
7 > ebuild/eclass (and hence should b removed). 'prefix', on the other
8 > hand, should be added to IUSE of those ebuilds/eclasses that use them.
9
10 What, exactly, is the difference -- the principle behind the "should"s
11 above? USE_EXPAND? Probably more a problem of me being lazy than
12 anything being wrong with it, but [2] reads like Greek to me.
13
14 > For EAPI 5 (assuming it contains IMPLICIT_IUSE) the base profile can be
15 > enriched with IMPLICIT_IUSE="prefix".
16 >
17 > For all currently Council approved EAPIs this means 'prefix' has to be
18 > added to IUSE.
19
20 I haven't looked into IMPLICIT_IUSE too carefully, but ... shouldn't
21 this be... implicit? Sorry, I'm being super lazy and not reading
22 anything here.
23
24 > In case you wonder why this is a problem now, Portage/repoman has a rule
25 > that USE-flags that are masked in the profiles implicitly are defined.
26
27 Probably making a total ass of myself at this point but... could you
28 define "defined"? I'm guessing I'd understand how to get flags masked
29 implicitly if I read the IMPLICIT_IUSE stuff? Or do you mean "are
30 defined implicitly" (in which case, again, I don't see why we'd need to
31 make them explicit).
32
33 > [2] http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commitdiff;h=d9040ab3482af5f790368bac5d053bf1cd760ba8;hp=f9f7729c047300e1924ad768a49c660e12c2f906
34
35 Apologies for these questions -- in my defense, being both lazy and
36 ignorant puts me at a real disadvantage here :)
37
38 -gmt

Replies