Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH 08/22] EAPI 6: einstall banned.
Date: Thu, 15 Oct 2015 10:50:46
Message-Id: 1444906221-30505-9-git-send-email-ulm@gentoo.org
In Reply to: [gentoo-pms] EAPI 6 draft for review by "Ulrich Müller"
1 Bug: 524112
2 ---
3 eapi-differences.tex | 4 ++++
4 pkg-mgr-commands.tex | 14 +++++++++-----
5 2 files changed, 13 insertions(+), 5 deletions(-)
6
7 diff --git a/eapi-differences.tex b/eapi-differences.tex
8 index 616aa06..6ec5209 100644
9 --- a/eapi-differences.tex
10 +++ b/eapi-differences.tex
11 @@ -163,6 +163,9 @@ Most utilities die & \compactfeatureref{die-on-failure} &
12 \t{dosed} & \compactfeatureref{banned-commands} &
13 Yes & Yes & Banned & Banned & Banned \\
14
15 +\t{einstall} & \compactfeatureref{banned-commands} &
16 + Yes & Yes & Yes & Yes & Banned \\
17 +
18 Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
19 No & No & No & Yes & Yes \\
20
21 @@ -316,6 +319,7 @@ EAPI 6 is EAPI 5 with the following changes:
22 \item Profile \t{package*} and \t{use*} can be directories, \featureref{profile-file-dirs}.
23 \item Bash version is 4.2, \featureref{bash-version}.
24 \item \t{failglob} is enabled in global scope, \featureref{failglob}.
25 +\item \t{einstall} banned, \featureref{banned-commands}.
26 \end{compactitem}
27
28 \ChangeWhenAddingAnEAPI{6}
29 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
30 index ff83460..4f8c34f 100644
31 --- a/pkg-mgr-commands.tex
32 +++ b/pkg-mgr-commands.tex
33 @@ -47,16 +47,18 @@ called, the package manager must abort the build process indicating an error.
34 \ChangeWhenAddingAnEAPI{6}
35 \begin{centertable}{Banned commands}
36 \label{tab:banned-commands-table}
37 - \begin{tabular}{ l l l }
38 + \begin{tabular}{ l l l l }
39 \toprule
40 \multicolumn{1}{c}{\textbf{EAPI}} &
41 - \multicolumn{2}{c}{\textbf{Command banned?}} \\
42 + \multicolumn{3}{c}{\textbf{Command banned?}} \\
43 \multicolumn{1}{c}{} &
44 \multicolumn{1}{c}{\textbf{\t{dohard}}} &
45 - \multicolumn{1}{c}{\textbf{\t{dosed}}} \\
46 + \multicolumn{1}{c}{\textbf{\t{dosed}}} &
47 + \multicolumn{1}{c}{\textbf{\t{einstall}}} \\
48 \midrule
49 - 0, 1, 2, 3 & No & No \\
50 - 4, 5, 6 & Yes & Yes \\
51 + 0, 1, 2, 3 & No & No & No \\
52 + 4, 5 & Yes & Yes & No \\
53 + 6 & Yes & Yes & Yes \\
54 \bottomrule
55 \end{tabular}
56 \end{centertable}
57 @@ -208,6 +210,8 @@ current phase function has returned.
58 \item[einstall] A shortcut for the command given in Listing~\ref{lst:einstall}. Any arguments given
59 to \t{einstall} are passed verbatim to \t{emake}, as shown. Failure behaviour is EAPI dependent
60 as per section~\ref{sec:failure-behaviour}.
61 + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
62 + section~\ref{sec:banned-commands}.
63
64 The variable \t{ED} is defined as in Table~\ref{tab:defined_vars} and depends on the use of an
65 offset-prefix. When such offset-prefix is absent, \t{ED} is equivalent to \t{D}\@. \t{ED} is
66 --
67 2.6.1