Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Mon, 10 Apr 2017 18:13:16
Message-Id: 1489849559.65d38361a953c0b6da4cc192d8727b0d6f1c64cc.ulm@gentoo
1 commit: 65d38361a953c0b6da4cc192d8727b0d6f1c64cc
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 14:18:25 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 15:05:59 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=65d38361
7
8 WORKDIR and S have the same scope as FILESDIR and DISTDIR.
9
10 Both WORKDIR and S are defined in global scope, but ebuilds must not
11 access the actual directories. So the FILESDIR footnote applies to
12 them, too. Rearrange the table accordingly.
13
14 Also small change of wording ("in which" -> "where") to prevent an
15 awkward page break.
16
17 ebuild-env-vars.tex | 24 ++++++++++++------------
18 1 file changed, 12 insertions(+), 12 deletions(-)
19
20 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
21 index 262bcf9..a3766a2 100644
22 --- a/ebuild-env-vars.tex
23 +++ b/ebuild-env-vars.tex
24 @@ -95,6 +95,18 @@ variable.
25 Ditto &
26 Yes &
27 The full path to the directory in which the files in the \t{A} variable are stored. \\
28 +\t{WORKDIR} &
29 + Ditto &
30 + Yes &
31 + The full path to the ebuild's working directory, where all build data should be contained.%
32 + \label{env-var-WORKDIR} \\
33 +\t{S} &
34 + Ditto &
35 + Yes &
36 + The full path to the temporary build directory, used by \t{src\_compile}, \t{src\_install} etc.
37 + Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If \t{S} is assigned in the
38 + global scope of an ebuild, then the restrictions of section~\ref{sec:ebuild-env-state} for
39 + global variables apply. \\
40 \t{PORTDIR} &
41 \t{src\_*} &
42 No &
43 @@ -190,18 +202,6 @@ variable.
44 was executed by the package manager. May be unset or any single word that is not any of the
45 above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. Only for
46 EAPIs listed in table~\ref{tab:added-env-vars-table} as supporting \t{EBUILD\_PHASE\_FUNC}. \\
47 -\t{WORKDIR} &
48 - \t{src\_*}, global~scope &
49 - Yes &
50 - The full path to the ebuild's working directory, in which all build data should be
51 - contained. \label{env-var-WORKDIR} \\
52 -\t{S} &
53 - \t{src\_*} &
54 - Yes &
55 - The full path to the temporary build directory, used by \t{src\_compile}, \t{src\_install} etc.
56 - Defaults to \t{\$\{WORKDIR\}/\$\{P\}}. May be modified by ebuilds. If \t{S} is assigned in the
57 - global scope of an ebuild, then the restrictions of section~\ref{sec:ebuild-env-state} for
58 - global variables apply. \\
59 \t{KV} &
60 All &
61 Yes &