Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH 19/28] EAPI 7 removes PORTDIR and ECLASSDIR.
Date: Wed, 04 Oct 2017 20:47:56
Message-Id: 20171004204712.10391-20-mgorny@gentoo.org
In Reply to: [gentoo-pms] [PATCHES] EAPI 7, first draft for review by "Michał Górny"
1 Bug: https://bugs.gentoo.org/373349
2 Bug: https://bugs.gentoo.org/373351
3 ---
4 eapi-differences.tex | 8 ++++++++
5 ebuild-env-vars.tex | 18 +++++++++++-------
6 2 files changed, 19 insertions(+), 7 deletions(-)
7
8 diff --git a/eapi-differences.tex b/eapi-differences.tex
9 index 6e82904..3e06916 100644
10 --- a/eapi-differences.tex
11 +++ b/eapi-differences.tex
12 @@ -41,6 +41,12 @@ of this document for a complete table of previous EAPIs.
13 \bottomrule
14 \endlastfoot
15
16 +\t{PORTDIR} & \compactfeatureref{portdir} &
17 + Yes & Yes & Yes & Yes & No \\
18 +
19 +\t{ECLASSDIR} & \compactfeatureref{eclassdir} &
20 + Yes & Yes & Yes & Yes & No \\
21 +
22 \t{DESTTREE} & \compactfeatureref{desttree} &
23 Yes & Yes & Yes & Yes & No \\
24
25 @@ -431,6 +437,8 @@ EAPI 7 is EAPI 6 with the following changes:
26 \item \t{package.provided} in profiles banned, \featureref{package-provided}.
27 \item \t{DESTTREE} removed, \featureref{desttree}.
28 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
29 +\item \t{PORTDIR} removed, \featureref{portdir}.
30 +\item \t{ECLASSDIR} removed, \featureref{eclassdir}.
31 \end{compactitem}
32
33 \ChangeWhenAddingAnEAPI{7}
34 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
35 index 0434083..f495014 100644
36 --- a/ebuild-env-vars.tex
37 +++ b/ebuild-env-vars.tex
38 @@ -110,11 +110,13 @@ variable.
39 \t{PORTDIR} &
40 \t{src_*} &
41 No &
42 - The full path to the master repository's base directory. \\
43 + \featurelabel{portdir} The full path to the master repository's base directory. Only for EAPIs
44 + listed in table~\ref{tab:removed-env-vars-table} as supporting \t{PORTDIR}. \\
45 \t{ECLASSDIR} &
46 \t{src_*} &
47 No &
48 - The full path to the master repository's eclass directory. \\
49 + \featurelabel{eclassdir} The full path to the master repository's eclass directory. Only for
50 + EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting \t{ECLASSDIR}.\\
51 \t{ROOT} &
52 \t{pkg_*} &
53 No &
54 @@ -284,17 +286,19 @@ variable.
55 \ChangeWhenAddingAnEAPI{7}
56 \begin{centertable}{EAPIs supporting various removed env variables}
57 \label{tab:removed-env-vars-table}
58 - \begin{tabular}{lllll}
59 + \begin{tabular}{lllllll}
60 \toprule
61 \multicolumn{1}{c}{\textbf{EAPI}} &
62 \multicolumn{1}{c}{\textbf{\t{AA}?}} &
63 \multicolumn{1}{c}{\textbf{\t{KV}?}} &
64 \multicolumn{1}{c}{\textbf{\t{DESTTREE}?}} &
65 - \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} \\
66 + \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} &
67 + \multicolumn{1}{c}{\textbf{\t{PORTDIR}?}} &
68 + \multicolumn{1}{c}{\textbf{\t{ECLASSDIR}?}} \\
69 \midrule
70 - 0, 1, 2, 3 & Yes & Yes & Yes & Yes \\
71 - 4, 5, 6 & No & No & Yes & Yes \\
72 - 7 & No & No & No & No \\
73 + 0, 1, 2, 3 & Yes & Yes & Yes & Yes & Yes & Yes \\
74 + 4, 5, 6 & No & No & Yes & Yes & Yes & Yes \\
75 + 7 & No & No & No & No & No & No \\
76 \bottomrule
77 \end{tabular}
78 \end{centertable}
79 --
80 2.14.2