Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH] A is legal in pkg_nofetch.
Date: Thu, 23 Mar 2017 17:22:52
Message-Id: 22740.1107.298474.580214@a1i15.kph.uni-mainz.de
1 It is quite common and useful for existing ebuilds to access the A
2 variable in pkg_nofetch. Also package managers define the variable
3 there. Update the spec accordingly.
4
5 The same applies to AA (which is deprecated, but there is no reason
6 why its scope should be different from A).
7
8 Thanks to Michał Górny for pointing this out.
9 ---
10 ebuild-env-vars.tex | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
14 index a3766a2..d8ccd6c 100644
15 --- a/ebuild-env-vars.tex
16 +++ b/ebuild-env-vars.tex
17 @@ -67,7 +67,7 @@ variable.
18 Yes &
19 Package version and revision (if any), for example \t{7.0.174} or \t{7.0.174-r1}. \\
20 \t{A} &
21 - \t{src\_*} &
22 + \t{src\_*}, \t{pkg\_nofetch} &
23 Yes &
24 All source files available for the package, whitespace separated with no leading or trailing
25 whitespace, and in the order in which the item first appears in a matched component of
26 @@ -77,7 +77,7 @@ variable.
27 assume that the package manager sets it in the EAPIs supporting it. For example, a few
28 configure scripts use this variable to find the \t{aalib} package; ebuilds calling such
29 configure scripts must thus work around this.} &
30 - \t{src\_*} &
31 + Ditto &
32 Yes &
33 \featurelabel{aa} All source files that could be available for the package, including any that
34 are disabled in \t{A} because of USE conditionals. The value is calculated from the base names
35 --
36 2.12.1