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: Mon, 10 Apr 2017 18:13:30
Message-Id: 1491846349.a90a9c370dc769003174c90dd89790f744cf2968.ulm@gentoo
1 commit: a90a9c370dc769003174c90dd89790f744cf2968
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 15 17:20:13 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 10 17:45:49 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=a90a9c37
7
8 EAPI 7: dohtml banned.
9
10 Bug: 520546
11
12 eapi-differences.tex | 5 ++++-
13 pkg-mgr-commands.tex | 16 ++++++++++------
14 2 files changed, 14 insertions(+), 7 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 649b5a6..f0a45bc 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -169,6 +169,9 @@ Most utilities die & \compactfeatureref{die-on-failure} &
21 \t{einstall} & \compactfeatureref{banned-commands} &
22 Yes & Yes & Yes & Banned & Banned \\
23
24 +\t{dohtml} & \compactfeatureref{banned-commands} &
25 + Yes & Yes & Yes & Yes & Banned \\
26 +
27 Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
28 No & No & Yes & Yes & Yes \\
29
30 @@ -370,7 +373,7 @@ EAPI 6 is EAPI 5 with the following changes:
31 EAPI 7 is EAPI 6 with the following changes:
32
33 \begin{compactitem}
34 -\item None
35 +\item \t{dohtml} banned, \featureref{banned-commands}.
36 \end{compactitem}
37
38 \ChangeWhenAddingAnEAPI{7}
39
40 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
41 index db63d6d..15faf58 100644
42 --- a/pkg-mgr-commands.tex
43 +++ b/pkg-mgr-commands.tex
44 @@ -49,18 +49,20 @@ called, the package manager must abort the build process indicating an error.
45 \ChangeWhenAddingAnEAPI{7}
46 \begin{centertable}{Banned commands}
47 \label{tab:banned-commands-table}
48 - \begin{tabular}{llll}
49 + \begin{tabular}{lllll}
50 \toprule
51 \multicolumn{1}{c}{\textbf{EAPI}} &
52 - \multicolumn{3}{c}{\textbf{Command banned?}} \\
53 + \multicolumn{4}{c}{\textbf{Command banned?}} \\
54 \multicolumn{1}{c}{} &
55 \multicolumn{1}{c}{\textbf{\t{dohard}}} &
56 \multicolumn{1}{c}{\textbf{\t{dosed}}} &
57 - \multicolumn{1}{c}{\textbf{\t{einstall}}} \\
58 + \multicolumn{1}{c}{\textbf{\t{einstall}}} &
59 + \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
60 \midrule
61 - 0, 1, 2, 3 & No & No & No \\
62 - 4, 5 & Yes & Yes & No \\
63 - 6, 7 & Yes & Yes & Yes \\
64 + 0, 1, 2, 3 & No & No & No & No \\
65 + 4, 5 & Yes & Yes & No & No \\
66 + 6 & Yes & Yes & Yes & No \\
67 + 7 & Yes & Yes & Yes & Yes \\
68 \bottomrule
69 \end{tabular}
70 \end{centertable}
71 @@ -429,6 +431,8 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
72 offset-prefix.
73 \end{description}
74
75 + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
76 + section~\ref{sec:banned-commands}.
77 Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
78
79 It is undefined whether a failure shall occur if \t{-r} is not specified and a directory is