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: Sat, 24 Feb 2018 12:58:54
Message-Id: 1519476924.26c4b5e6329cef8bbc24d80dff159faa0a10aa5e.ulm@gentoo
1 commit: 26c4b5e6329cef8bbc24d80dff159faa0a10aa5e
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: Sat Feb 24 12:55:24 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=26c4b5e6
7
8 EAPI 7: dohtml banned.
9
10 Bug: https://bugs.gentoo.org/520546
11
12 eapi-differences.tex | 4 ++++
13 pkg-mgr-commands.tex | 16 ++++++++++------
14 2 files changed, 14 insertions(+), 6 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index f47a8c6..12ece88 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -221,6 +221,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 Query command options & \compactfeatureref{pm-query-options} &
28 None & None & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
29
30 @@ -446,6 +449,7 @@ EAPI 7 is EAPI 6 with the following changes:
31 \item \t{ENV_UNSET}, \featureref{env-unset}.
32 \item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
33 \item \t{nonfatal} is both a shell function and an external command, \featureref{nonfatal}.
34 +\item \t{dohtml} banned, \featureref{banned-commands}.
35 \end{compactitem}
36
37 \ChangeWhenAddingAnEAPI{7}
38
39 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
40 index fdf80e0..9e7390c 100644
41 --- a/pkg-mgr-commands.tex
42 +++ b/pkg-mgr-commands.tex
43 @@ -56,18 +56,20 @@ called, the package manager must abort the build process indicating an error.
44 \ChangeWhenAddingAnEAPI{7}
45 \begin{centertable}{Banned commands}
46 \label{tab:banned-commands-table}
47 - \begin{tabular}{llll}
48 + \begin{tabular}{lllll}
49 \toprule
50 \multicolumn{1}{c}{\textbf{EAPI}} &
51 - \multicolumn{3}{c}{\textbf{Command banned?}} \\
52 + \multicolumn{4}{c}{\textbf{Command banned?}} \\
53 \multicolumn{1}{c}{} &
54 \multicolumn{1}{c}{\textbf{\t{dohard}}} &
55 \multicolumn{1}{c}{\textbf{\t{dosed}}} &
56 - \multicolumn{1}{c}{\textbf{\t{einstall}}} \\
57 + \multicolumn{1}{c}{\textbf{\t{einstall}}} &
58 + \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
59 \midrule
60 - 0, 1, 2, 3 & No & No & No \\
61 - 4, 5 & Yes & Yes & No \\
62 - 6, 7 & Yes & Yes & Yes \\
63 + 0, 1, 2, 3 & No & No & No & No \\
64 + 4, 5 & Yes & Yes & No & No \\
65 + 6 & Yes & Yes & Yes & No \\
66 + 7 & Yes & Yes & Yes & Yes \\
67 \bottomrule
68 \end{tabular}
69 \end{centertable}
70 @@ -457,6 +459,8 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
71 offset-prefix.
72 \end{description}
73
74 + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per
75 + section~\ref{sec:banned-commands}.
76 Failure behaviour is EAPI dependent as per section~\ref{sec:failure-behaviour}.
77
78 It is undefined whether a failure shall occur if \t{-r} is not specified and a directory is