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: Sat, 24 Feb 2018 12:58:49
Message-Id: 1519476924.73a1a862fd41115cbd000a2f62ac94ead1c421f1.ulm@gentoo
1 commit: 73a1a862fd41115cbd000a2f62ac94ead1c421f1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 03:17:43 2017 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 12:55:24 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=73a1a862
7
8 EAPI 7 removes PORTDIR and ECLASSDIR.
9
10 Bug: https://bugs.gentoo.org/373349
11 Bug: https://bugs.gentoo.org/373351
12
13 eapi-differences.tex | 8 ++++++++
14 ebuild-env-vars.tex | 17 +++++++++++------
15 2 files changed, 19 insertions(+), 6 deletions(-)
16
17 diff --git a/eapi-differences.tex b/eapi-differences.tex
18 index 326774d..f87e448 100644
19 --- a/eapi-differences.tex
20 +++ b/eapi-differences.tex
21 @@ -149,6 +149,12 @@ Parallel tests & \compactfeatureref{parallel-tests} &
22 \t{AA} & \compactfeatureref{aa} &
23 Yes & No & No & No & No \\
24
25 +\t{PORTDIR} & \compactfeatureref{portdir} &
26 + Yes & Yes & Yes & Yes & No \\
27 +
28 +\t{ECLASSDIR} & \compactfeatureref{eclassdir} &
29 + Yes & Yes & Yes & Yes & No \\
30 +
31 \t{KV} & \compactfeatureref{kv} &
32 Yes & No & No & No & No \\
33
34 @@ -401,6 +407,8 @@ EAPI 7 is EAPI 6 with the following changes:
35 being matched, \featureref{empty-dep-groups}.
36 \item \t{||=} dependency groups, \featureref{binding-any-of}.
37 \item Automatic enforcing of \t{REQUIRED_USE}, \featureref{auto-req-use}.
38 +\item \t{PORTDIR} is gone, \featureref{portdir}.
39 +\item \t{ECLASSDIR} is gone, \featureref{eclassdir}.
40 \end{compactitem}
41
42 \ChangeWhenAddingAnEAPI{7}
43
44 diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
45 index 4545272..0258d1a 100644
46 --- a/ebuild-env-vars.tex
47 +++ b/ebuild-env-vars.tex
48 @@ -110,11 +110,13 @@ variable.
49 \t{PORTDIR} &
50 \t{src_*} &
51 No &
52 - The full path to the master repository's base directory. \\
53 + \featurelabel{portdir} The full path to the master repository's base directory. Only for EAPIs
54 + listed in table~\ref{tab:removed-env-vars-table} as supporting \t{PORTDIR}. \\
55 \t{ECLASSDIR} &
56 \t{src_*} &
57 No &
58 - The full path to the master repository's eclass directory. \\
59 + \featurelabel{eclassdir} The full path to the master repository's eclass directory. Only for
60 + EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting \t{ECLASSDIR}. \\
61 \t{ROOT} &
62 \t{pkg_*} &
63 No &
64 @@ -253,14 +255,17 @@ variable.
65 \ChangeWhenAddingAnEAPI{7}
66 \begin{centertable}{EAPIs supporting various removed env variables}
67 \label{tab:removed-env-vars-table}
68 - \begin{tabular}{lll}
69 + \begin{tabular}{lllll}
70 \toprule
71 \multicolumn{1}{c}{\textbf{EAPI}} &
72 \multicolumn{1}{c}{\textbf{\t{AA}?}} &
73 - \multicolumn{1}{c}{\textbf{\t{KV}?}} \\
74 + \multicolumn{1}{c}{\textbf{\t{KV}?}} &
75 + \multicolumn{1}{c}{\textbf{\t{PORTDIR}?}} &
76 + \multicolumn{1}{c}{\textbf{\t{ECLASSDIR}?}} \\
77 \midrule
78 - 0, 1, 2, 3 & Yes & Yes \\
79 - 4, 5, 6, 7 & No & No \\
80 + 0, 1, 2, 3 & Yes & Yes & Yes & Yes \\
81 + 4, 5, 6 & No & No & Yes & Yes \\
82 + 7 & No & No & No & No \\
83 \bottomrule
84 \end{tabular}
85 \end{centertable}