Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Fri, 29 Sep 2017 14:03:09
Message-Id: 1506693769.2af1a9536605a3fe41e1b87d491f67889834b8d8.mgorny@gentoo
1 commit: 2af1a9536605a3fe41e1b87d491f67889834b8d8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 14:02:49 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 14:02:49 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=2af1a953
7
8 EAPI 7 bans dolib and libopts.
9
10 eapi-differences.tex | 7 +++++++
11 pkg-mgr-commands.tex | 22 ++++++++++++++--------
12 2 files changed, 21 insertions(+), 8 deletions(-)
13
14 diff --git a/eapi-differences.tex b/eapi-differences.tex
15 index d9b5558..70eadb5 100644
16 --- a/eapi-differences.tex
17 +++ b/eapi-differences.tex
18 @@ -224,6 +224,12 @@ Most utilities die & \compactfeatureref{die-on-failure} &
19 \t{dohtml} & \compactfeatureref{banned-commands} &
20 Yes & Yes & Yes & Yes & Banned \\
21
22 +\t{dolib} & \compactfeatureref{banned-commands} &
23 + Yes & Yes & Yes & Yes & Banned \\
24 +
25 +\t{libopts} & \compactfeatureref{banned-commands} &
26 + Yes & Yes & Yes & Yes & Banned \\
27 +
28 PM query options & \compactfeatureref{pm-query-options} &
29 No & No & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
30
31 @@ -447,6 +453,7 @@ EAPI 7 is EAPI 6 with the following changes:
32 \item \t{PORTDIR} removed, \featureref{portdir}.
33 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
34 \item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, \featureref{domo-path}.
35 +\item \t{dolib} and \t{libopts} 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 ae9a615..f3849fc 100644
42 --- a/pkg-mgr-commands.tex
43 +++ b/pkg-mgr-commands.tex
44 @@ -50,20 +50,22 @@ 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}{lllll}
49 + \begin{tabular}{lllllll}
50 \toprule
51 \multicolumn{1}{c}{\textbf{EAPI}} &
52 - \multicolumn{4}{c}{\textbf{Command banned?}} \\
53 + \multicolumn{6}{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{dohtml}}} \\
59 + \multicolumn{1}{c}{\textbf{\t{dohtml}}} &
60 + \multicolumn{1}{c}{\textbf{\t{dolib}}} &
61 + \multicolumn{1}{c}{\textbf{\t{libopts}}} \\
62 \midrule
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 + 0, 1, 2, 3 & No & No & No & No & No & No \\
68 + 4, 5 & Yes & Yes & No & No & No & No \\
69 + 6 & Yes & Yes & Yes & No & No & No \\
70 + 7 & Yes & Yes & Yes & Yes & Yes & Yes \\
71 \bottomrule
72 \end{tabular}
73 \end{centertable}
74 @@ -503,7 +505,9 @@ can be extended or reduced (see below). The options that can be passed to \t{doh
75 \item[dolib.so] As for \t{dolib.a} except each file is installed with mode \t{0755}.
76
77 \item[dolib] As for \t{dolib.a} except that the default install mode can be overriden with
78 - the \t{install} options set by the most recent \t{libopts} call.
79 + the \t{install} options set by the most recent \t{libopts} call. In EAPIs listed
80 + in table~\ref{tab:banned-commands-table}, this command is banned as per
81 + section~\ref{sec:banned-commands}.
82
83 \begin{algorithm}
84 \caption{Determining the library directory} \label{alg:ebuild-libdir}
85 @@ -714,6 +718,8 @@ has returned.
86 \item[exeopts] Sets the options passed by \t{doexe} et al.\ to the \t{install} command.
87
88 \item[libopts] Sets the options passed by \t{dolib} et al.\ to the \t{install} command.
89 + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as
90 + per section~\ref{sec:banned-commands}.
91
92 \end{description}