Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-pms] [PATCH 03/28] EAPI 7: dohtml banned.
Date: Wed, 04 Oct 2017 20:47:31
Message-Id: 20171004204712.10391-4-mgorny@gentoo.org
In Reply to: [gentoo-pms] [PATCHES] EAPI 7, first draft for review by "Michał Górny"
1 From: Ulrich Müller <ulm@g.o>
2
3 Bug: https://bugs.gentoo.org/520546
4 ---
5 eapi-differences.tex | 5 ++++-
6 pkg-mgr-commands.tex | 16 ++++++++++------
7 2 files changed, 14 insertions(+), 7 deletions(-)
8
9 diff --git a/eapi-differences.tex b/eapi-differences.tex
10 index dbde139..d6e270a 100644
11 --- a/eapi-differences.tex
12 +++ b/eapi-differences.tex
13 @@ -169,6 +169,9 @@ Most utilities die & \compactfeatureref{die-on-failure} &
14 \t{einstall} & \compactfeatureref{banned-commands} &
15 Yes & Yes & Yes & Banned & Banned \\
16
17 +\t{dohtml} & \compactfeatureref{banned-commands} &
18 + Yes & Yes & Yes & Yes & Banned \\
19 +
20 Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
21 No & No & Yes & Yes & Yes \\
22
23 @@ -370,7 +373,7 @@ EAPI 6 is EAPI 5 with the following changes:
24 EAPI 7 is EAPI 6 with the following changes:
25
26 \begin{compactitem}
27 -\item None
28 +\item \t{dohtml} banned, \featureref{banned-commands}.
29 \end{compactitem}
30
31 \ChangeWhenAddingAnEAPI{7}
32 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
33 index b94d689..e8a6555 100644
34 --- a/pkg-mgr-commands.tex
35 +++ b/pkg-mgr-commands.tex
36 @@ -50,18 +50,20 @@ called, the package manager must abort the build process indicating an error.
37 \ChangeWhenAddingAnEAPI{7}
38 \begin{centertable}{Banned commands}
39 \label{tab:banned-commands-table}
40 - \begin{tabular}{llll}
41 + \begin{tabular}{lllll}
42 \toprule
43 \multicolumn{1}{c}{\textbf{EAPI}} &
44 - \multicolumn{3}{c}{\textbf{Command banned?}} \\
45 + \multicolumn{4}{c}{\textbf{Command banned?}} \\
46 \multicolumn{1}{c}{} &
47 \multicolumn{1}{c}{\textbf{\t{dohard}}} &
48 \multicolumn{1}{c}{\textbf{\t{dosed}}} &
49 - \multicolumn{1}{c}{\textbf{\t{einstall}}} \\
50 + \multicolumn{1}{c}{\textbf{\t{einstall}}} &
51 + \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
52 \midrule
53 - 0, 1, 2, 3 & No & No & No \\
54 - 4, 5 & Yes & Yes & No \\
55 - 6, 7 & Yes & Yes & Yes \\
56 + 0, 1, 2, 3 & No & No & No & No \\
57 + 4, 5 & Yes & Yes & No & No \\
58 + 6 & Yes & Yes & Yes & No \\
59 + 7 & Yes & Yes & Yes & Yes \\
60 \bottomrule
61 \end{tabular}
62 \end{centertable}
63 @@ -432,6 +434,8 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
64 offset-prefix.
65 \end{description}
66
67 + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
68 + section~\ref{sec:banned-commands}.
69 Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
70
71 It is undefined whether a failure shall occur if \t{-r} is not specified and a directory is
72 --
73 2.14.2