summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-29 05:17:43 +0200
committerUlrich Müller <ulm@gentoo.org>2018-03-30 18:35:43 +0200
commit3abcd75afc8a8ed4400ecd66cc4f129a4bf46330 (patch)
tree97ea5ee42dcb775fc4ffdea5c935208a7895fb7b
parentEAPI 7: Empty || and ^^ groups no longer count as matched. (diff)
downloadpms-3abcd75afc8a8ed4400ecd66cc4f129a4bf46330.tar.gz
pms-3abcd75afc8a8ed4400ecd66cc4f129a4bf46330.tar.bz2
pms-3abcd75afc8a8ed4400ecd66cc4f129a4bf46330.zip
EAPI 7 removes PORTDIR and ECLASSDIR.
Bug: https://bugs.gentoo.org/373349 Bug: https://bugs.gentoo.org/373351
-rw-r--r--eapi-differences.tex8
-rw-r--r--ebuild-env-vars.tex17
2 files changed, 19 insertions, 6 deletions
diff --git a/eapi-differences.tex b/eapi-differences.tex
index e692aef..4c01324 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -140,6 +140,12 @@ Parallel tests & \compactfeatureref{parallel-tests} &
\t{AA} & \compactfeatureref{aa} &
Yes & No & No & No & No \\
+\t{PORTDIR} & \compactfeatureref{portdir} &
+ Yes & Yes & Yes & Yes & No \\
+
+\t{ECLASSDIR} & \compactfeatureref{eclassdir} &
+ Yes & Yes & Yes & Yes & No \\
+
\t{KV} & \compactfeatureref{kv} &
Yes & No & No & No & No \\
@@ -389,6 +395,8 @@ EAPI 7 is EAPI 6 with the following changes:
\item \t{package.provided} in profiles banned, \featureref{package-provided}.
\item Empty \t{||} and \t{\textasciicircum\textasciicircum} dependency groups no longer count as
being matched, \featureref{empty-dep-groups}.
+\item \t{PORTDIR} is gone, \featureref{portdir}.
+\item \t{ECLASSDIR} is gone, \featureref{eclassdir}.
\end{compactitem}
\ChangeWhenAddingAnEAPI{7}
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 1851aba..6888700 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -110,11 +110,13 @@ variable.
\t{PORTDIR} &
\t{src_*} &
No &
- The full path to the master repository's base directory. \\
+ \featurelabel{portdir} The full path to the master repository's base directory. Only for EAPIs
+ listed in table~\ref{tab:removed-env-vars-table} as supporting \t{PORTDIR}. \\
\t{ECLASSDIR} &
\t{src_*} &
No &
- The full path to the master repository's eclass directory. \\
+ \featurelabel{eclassdir} The full path to the master repository's eclass directory. Only for
+ EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting \t{ECLASSDIR}. \\
\t{ROOT} &
\t{pkg_*} &
No &
@@ -253,14 +255,17 @@ variable.
\ChangeWhenAddingAnEAPI{7}
\begin{centertable}{EAPIs supporting various removed env variables}
\label{tab:removed-env-vars-table}
- \begin{tabular}{lll}
+ \begin{tabular}{lllll}
\toprule
\multicolumn{1}{c}{\textbf{EAPI}} &
\multicolumn{1}{c}{\textbf{\t{AA}?}} &
- \multicolumn{1}{c}{\textbf{\t{KV}?}} \\
+ \multicolumn{1}{c}{\textbf{\t{KV}?}} &
+ \multicolumn{1}{c}{\textbf{\t{PORTDIR}?}} &
+ \multicolumn{1}{c}{\textbf{\t{ECLASSDIR}?}} \\
\midrule
- 0, 1, 2, 3 & Yes & Yes \\
- 4, 5, 6, 7 & No & No \\
+ 0, 1, 2, 3 & Yes & Yes & Yes & Yes \\
+ 4, 5, 6 & No & No & Yes & Yes \\
+ 7 & No & No & No & No \\
\bottomrule
\end{tabular}
\end{centertable}