Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: James Le Cuirot <chewi@g.o>
Subject: [gentoo-pms] [PATCH 14/28] EAPI 7 has BROOT
Date: Wed, 04 Oct 2017 20:47:48
Message-Id: 20171004204712.10391-15-mgorny@gentoo.org
In Reply to: [gentoo-pms] [PATCHES] EAPI 7, first draft for review by "Michał Górny"
1 From: James Le Cuirot <chewi@g.o>
2
3 Bug: https://bugs.gentoo.org/317337
4 ---
5 eapi-differences.tex | 4 ++++
6 ebuild-env-vars.tex | 33 +++++++++++++++++++++------------
7 2 files changed, 25 insertions(+), 12 deletions(-)
8
9 diff --git a/eapi-differences.tex b/eapi-differences.tex
10 index 9205125..af28b7a 100644
11 --- a/eapi-differences.tex
12 +++ b/eapi-differences.tex
13 @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
14 \bottomrule
15 \endlastfoot
16
17 +\t{BROOT} & \compactfeatureref{broot} &
18 + No & No & No & No & Yes \\
19 +
20 \t{BDEPEND} & \compactfeatureref{bdepend} &
21 No & No & No & No & Yes \\
22
23 @@ -413,6 +416,7 @@ EAPI 7 is EAPI 6 with the following changes:
24 \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
25 \item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
26 \item \t{BDEPEND}, \featureref{bdepend}.
27 +\item \t{BROOT}, \featureref{broot}.
28 \end{compactitem}
29
30 \ChangeWhenAddingAnEAPI{7}
31 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
32 index e24a065..e91f36e 100644
33 --- a/ebuild-env-vars.tex
34 +++ b/ebuild-env-vars.tex
35 @@ -144,6 +144,13 @@ variable.
36 for convenience. See also the \t{EPREFIX} variable. Only for EAPIs listed
37 in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. The presence of a trailing
38 slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
39 +\t{BROOT} &
40 + \t{src_*} &
41 + No &
42 + \featurelabel{broot} The absolute path to the root directory containing build dependencies
43 + satisfied by BDEPEND, typically executable build tools. This includes any applicable offset
44 + prefix. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} as supporting \t{BROOT}.
45 + The presence of a trailing slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
46 \t{T} &
47 All &
48 Partially\footnote{Consistent and preserved across a single connected sequence of install or
49 @@ -253,19 +260,20 @@ variable.
50 \ChangeWhenAddingAnEAPI{7}
51 \begin{centertable}{EAPIs supporting various added env variables}
52 \label{tab:added-env-vars-table}
53 - \begin{tabular}{llllll}
54 + \begin{tabular}{lllllll}
55 \toprule
56 \multicolumn{1}{c}{\textbf{EAPI}} &
57 \multicolumn{1}{c}{\textbf{\t{MERGE_TYPE}?}} &
58 \multicolumn{1}{P{6em}}{\textbf{\t{REPLACING_VERSIONS}?}} &
59 \multicolumn{1}{P{6em}}{\textbf{\t{REPLACED_BY_VERSION}?}} &
60 \multicolumn{1}{P{6em}}{\textbf{\t{EBUILD_PHASE_FUNC}?}} &
61 - \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} \\
62 + \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} &
63 + \multicolumn{1}{P{6em}}{\textbf{\t{BROOT}?}} \\
64 \midrule
65 - 0, 1, 2, 3 & No & No & No & No & No \\
66 - 4 & Yes & Yes & Yes & No & No \\
67 - 5, 6 & Yes & Yes & Yes & Yes & No \\
68 - 7 & Yes & Yes & Yes & Yes & Yes \\
69 + 0, 1, 2, 3 & No & No & No & No & No & No \\
70 + 4 & Yes & Yes & Yes & No & No & No \\
71 + 5, 6 & Yes & Yes & Yes & Yes & No & No \\
72 + 7 & Yes & Yes & Yes & Yes & Yes & Yes \\
73 \bottomrule
74 \end{tabular}
75 \end{centertable}
76 @@ -288,7 +296,7 @@ variable.
77 \ChangeWhenAddingAnEAPI{7}
78 \begin{centertable}{EAPIs supporting offset-prefix env variables}
79 \label{tab:offset-env-vars-table}
80 - \begin{tabular}{lllll}
81 + \begin{tabular}{llllll}
82 \toprule
83 \multicolumn{1}{c}{\textbf{EAPI}} &
84 \multicolumn{1}{c}{\textbf{\t{EPREFIX}?}} &
85 @@ -460,17 +468,18 @@ If the path specifies the system root directory, it will be empty.
86 \ChangeWhenAddingAnEAPI{7}
87 \begin{centertable}{Variables that always or never end with a trailing slash}
88 \label{tab:trailing-slash}
89 - \begin{tabular}{llll}
90 + \begin{tabular}{lllll}
91 \toprule
92 \multicolumn{1}{c}{\textbf{EAPI}} &
93 - \multicolumn{3}{c}{\textbf{Ends with a trailing slash?}} \\
94 + \multicolumn{4}{c}{\textbf{Ends with a trailing slash?}} \\
95 &
96 \t{ROOT}, \t{EROOT} &
97 \t{D}, \t{ED} &
98 - \t{SYSROOT}, \t{ESYSROOT} \\
99 + \t{SYSROOT}, \t{ESYSROOT} &
100 + \t{BROOT} \\
101 \midrule
102 - 0, 1, 2, 3, 4, 5, 6 & always & always & n/a \\
103 - 7 & never & never & never \\
104 + 0, 1, 2, 3, 4, 5, 6 & always & always & n/a & n/a \\
105 + 7 & never & never & never & never \\
106 \bottomrule
107 \end{tabular}
108 \end{centertable}
109 --
110 2.14.2