summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-11-10 14:51:41 +0100
committerUlrich Müller <ulm@gentoo.org>2018-03-31 17:30:43 +0200
commit7e94b3912fff029b0201ec803b15c69146ac84bb (patch)
treea0f64a310f7bdf40686055b982b09568845bdb2f /profile-variables.tex
parentdependencies: Provide a nice summary table for dep APIs (diff)
downloadpms-7e94b3912fff029b0201ec803b15c69146ac84bb.tar.gz
pms-7e94b3912fff029b0201ec803b15c69146ac84bb.tar.bz2
pms-7e94b3912fff029b0201ec803b15c69146ac84bb.zip
EAPI 7 has ENV_UNSET.
Thanks to mgorny for providing the initial wording. Bug: https://bugs.gentoo.org/499288
Diffstat (limited to 'profile-variables.tex')
-rw-r--r--profile-variables.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/profile-variables.tex b/profile-variables.tex
index 309f9e9..6cd770c 100644
--- a/profile-variables.tex
+++ b/profile-variables.tex
@@ -29,6 +29,13 @@ incrementally; otherwise, the following variables may or may not be treated incr
\item \t{USE_EXPAND_UNPREFIXED}
\end{compactitem}
+If the package manager supports any EAPI listed in table~\ref{tab:profile-env-unset} as using
+\t{ENV_UNSET}, the following variable must also be treated incrementally; otherwise, it may or
+may not be treated incrementally:
+\begin{compactitem}
+\item \t{ENV_UNSET}
+\end{compactitem}
+
Other variables, except where they affect only package-manager-specific functionality (such as
Portage's \t{FEATURES} variable), must not be treated incrementally---later definitions shall
completely override those in parent profiles.
@@ -47,6 +54,20 @@ completely override those in parent profiles.
\end{tabular}
\end{centertable}
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Profile-defined unsetting of variables in EAPIs}
+ \label{tab:profile-env-unset}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Supports \t{ENV_UNSET}?}} \\
+ \midrule
+ 0, 1, 2, 3, 4, 5, 6 & No \\
+ 7 & Yes \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
\subsection{Specific variables and their meanings}
The following variables have specific meanings when set in profiles.
\begin{description}
@@ -69,6 +90,8 @@ The following variables have specific meanings when set in profiles.
displaying uninteresting or unhelpful information to an end user.
\item[USE_EXPAND_IMPLICIT, IUSE_IMPLICIT] Used to inject implicit values into \t{IUSE}\@. See
section~\ref{sec:use-iuse-handling} for details.
+\item[ENV_UNSET] Contains a whitespace-delimited list of variables that the package manager shall
+ unset. See section~\ref{sec:ebuild-env-vars} for details.
\end{description}
In addition, for EAPIs listed in table~\ref{tab:profile-iuse-injection-table} as supporting profile