Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-pms] [PATCH] ebuild-env-vars.tex: Clarify wording for profile IUSE injection
Date: Thu, 15 Apr 2021 08:09:53
Message-Id: 20210415080931.29821-1-ulm@gentoo.org
1 Subsume IUSE_REFERENCEABLE and IUSE_EFFECTIVE under a single
2 conditional, which will clarify that these variables are equal if the
3 feature is supported.
4
5 Also the profile-iuse-inject featurelabel was misplaced (it didn't
6 cover IUSE_REFERENCEABLE).
7
8 Signed-off-by: Ulrich Müller <ulm@g.o>
9 ---
10 ebuild-env-vars.tex | 11 ++++-------
11 1 file changed, 4 insertions(+), 7 deletions(-)
12
13 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
14 index 117a19d..2736423 100644
15 --- a/ebuild-env-vars.tex
16 +++ b/ebuild-env-vars.tex
17 @@ -375,12 +375,8 @@ In all cases, the values of \t{IUSE_REFERENCEABLE} and \t{IUSE_EFFECTIVE} are un
18 metadata generation.
19
20 For EAPIs listed in table~\ref{tab:profile-iuse-injection-table} as not supporting profile defined
21 -\t{IUSE} injection, \t{IUSE_REFERENCEABLE} is equal to the calculated \t{IUSE} value. For EAPIs
22 -where profile defined \t{IUSE} injection is supported, \t{IUSE_REFERENCEABLE} is equal to
23 -\t{IUSE_EFFECTIVE}.
24 -
25 -For EAPIs listed in table~\ref{tab:profile-iuse-injection-table} as not supporting profile defined
26 -\t{IUSE} injection, \t{IUSE_EFFECTIVE} contains the following values:
27 +\t{IUSE} injection, \t{IUSE_REFERENCEABLE} is equal to the calculated \t{IUSE} value, and
28 +\t{IUSE_EFFECTIVE} contains the following values:
29
30 \begin{compactitem}
31 \item All values in the calculated \t{IUSE} value.
32 @@ -390,7 +386,8 @@ For EAPIs listed in table~\ref{tab:profile-iuse-injection-table} as not supporti
33 \end{compactitem}
34
35 \featurelabel{profile-iuse-inject} For EAPIs listed in table~\ref{tab:profile-iuse-injection-table}
36 -as supporting profile defined \t{IUSE} injection, \t{IUSE_EFFECTIVE} contains the following values:
37 +as supporting profile defined \t{IUSE} injection, \t{IUSE_REFERENCEABLE} and \t{IUSE_EFFECTIVE}
38 +are equal and contain the following values:
39
40 \begin{compactitem}
41 \item All values in the calculated \t{IUSE} value.
42 --
43 2.31.1

Replies