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: Thu, 28 Sep 2017 16:58:28
Message-Id: 1506616305.e89a0495b1a774edfa1a6fe277e5485453e1b80d.mgorny@gentoo
1 commit: e89a0495b1a774edfa1a6fe277e5485453e1b80d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 28 14:05:38 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 16:31:45 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=e89a0495
7
8 EAPI 7 has eqawarn
9
10 Bug: https://bugs.gentoo.org/482884
11
12 eapi-differences.tex | 4 ++++
13 pkg-mgr-commands.tex | 18 ++++++++++++++++++
14 2 files changed, 22 insertions(+)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index a56f1ff..34ee0c9 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
21 \bottomrule
22 \endlastfoot
23
24 +\t{eqawarn} & \compactfeatureref{eqawarn} &
25 + No & No & No & No & Yes \\
26 +
27 \t{ver_*} functions & \compactfeatureref{ver-functions} &
28 No & No & No & No & Yes \\
29
30 @@ -387,6 +390,7 @@ EAPI 7 is EAPI 6 with the following changes:
31 directories, \featureref{profile-file-dirs}.
32 \item \t{dohtml} banned, \featureref{banned-commands}.
33 \item Version manipulation and comparison functions added, \featureref{ver-functions}.
34 +\item \t{eqawarn} added, \featureref{eqawarn}.
35 \end{compactitem}
36
37 \ChangeWhenAddingAnEAPI{7}
38
39 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
40 index 15bfcde..c7f3696 100644
41 --- a/pkg-mgr-commands.tex
42 +++ b/pkg-mgr-commands.tex
43 @@ -124,6 +124,10 @@ stderr or some other appropriate facility.
44 example.
45 \item[ewarn] Displays a warning message. Must not go to stdout.
46 \item[eerror] Displays an error message. Must not go to stdout.
47 +\item[eqawarn] \featurelabel{eqawarn} Display a QA warning message intended for ebuild developers.
48 + The package manager may provide appropriate mechanisms to skip those messages for normal users.
49 + Must not go to stdout. Only available in EAPIs listed in table~\ref{tab:output-commands} as
50 + supporting \t{eqawarn}.
51 \item[ebegin] Displays an informational message. Should be used when beginning a possibly
52 lengthy process, and followed by a call to \t{eend}.
53 \item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one
54 @@ -132,6 +136,20 @@ stderr or some other appropriate facility.
55 message followed by a failure indicator. Returns its first argument as exit status.
56 \end{description}
57
58 +\ChangeWhenAddingAnEAPI{7}
59 +\begin{centertable}{Output commands for EAPIs}
60 + \label{tab:output-commands}
61 + \begin{tabular}{ll}
62 + \toprule
63 + \multicolumn{1}{c}{\textbf{EAPI}} &
64 + \multicolumn{1}{c}{\textbf{\t{eqawarn}?}} \\
65 + \midrule
66 + 0, 1, 2, 3, 4, 5, 6 & No \\
67 + 7 & Yes \\
68 + \bottomrule
69 + \end{tabular}
70 +\end{centertable}
71 +
72 \subsubsection{Error commands}
73 These commands are used when an error is detected that will prevent the build process from
74 completing. Ebuilds must not run any of these commands once the current phase function has returned.