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 17:51:42
Message-Id: 1506621064.33c35fb395a52c31e99b0bd65c15a646b553e087.mgorny@gentoo
1 commit: 33c35fb395a52c31e99b0bd65c15a646b553e087
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 28 17:50:56 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 17:51:04 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=33c35fb3
7
8 EAPI 7 requires GNU patch 2.7.
9
10 Bug: https://bugs.gentoo.org/593786
11
12 eapi-differences.tex | 4 ++++
13 ebuild-env-commands.tex | 15 +++++++++------
14 2 files changed, 13 insertions(+), 6 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 939c501..9f39934 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 +GNU patch version & \compactfeatureref{gnu-patch} &
25 + Any & Any & Any & Any & 2.7 \\
26 +
27 Trailing slash in \t{ROOT}, \t{D}... & \compactfeatureref{trailing-slash} &
28 Yes & Yes & Yes & Yes & No \\
29
30 @@ -400,6 +403,7 @@ EAPI 7 is EAPI 6 with the following changes:
31 \item Output commands can no longer use stdout, \featureref{output-no-stdout}.
32 \item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash,
33 \featureref{trailing-slash}.
34 +\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
35 \end{compactitem}
36
37 \ChangeWhenAddingAnEAPI{7}
38
39 diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex
40 index 590f709..f5e1c07 100644
41 --- a/ebuild-env-commands.tex
42 +++ b/ebuild-env-commands.tex
43 @@ -26,7 +26,8 @@ The following commands must always be available in the ebuild environment:
44 page~\pageref{tab:bash-version}.
45 \item \t{sed} must be available, and must support all forms of invocations valid for GNU sed
46 version 4 or later.
47 -\item \t{patch} must be available, and must support all inputs valid for GNU patch.
48 +\item \featurelabel{gnu-patch} \t{patch} must be available, and must support all inputs valid
49 + for GNU patch, version as listed in table~\ref{tab:system-commands-table}.
50 \item \featurelabel{gnu-find} \t{find} and \t{xargs} must be available, and must support all forms
51 of invocations valid for GNU findutils version 4.4 or later. Only for EAPIs listed in
52 table~\ref{tab:system-commands-table} as requiring GNU find.
53 @@ -41,15 +42,17 @@ during filename expansion result in an error when the ebuild is being sourced.
54 \ChangeWhenAddingAnEAPI{7}
55 \begin{centertable}{System commands for EAPIs}
56 \label{tab:system-commands-table}
57 - \begin{tabular}{lll}
58 + \begin{tabular}{llll}
59 \toprule
60 \multicolumn{1}{c}{\textbf{EAPI}} &
61 \multicolumn{1}{c}{\textbf{GNU \t{find}?}} &
62 - \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} \\
63 + \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} &
64 + \multicolumn{1}{c}{\textbf{GNU patch version}} \\
65 \midrule
66 - 0, 1, 2, 3, 4 & Undefined & No \\
67 - 5 & Yes & No \\
68 - 6, 7 & Yes & Yes \\
69 + 0, 1, 2, 3, 4 & Undefined & No & Any \\
70 + 5 & Yes & No & Any \\
71 + 6 & Yes & Yes & Any \\
72 + 7 & Yes & Yes & 2.7 \\
73 \bottomrule
74 \end{tabular}
75 \end{centertable}