1 |
commit: 90e5c41d89bedfc54e3b3967cd5cbca7f8ceea9a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 28 17:50:56 2017 +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=90e5c41d |
7 |
|
8 |
EAPI 7 requires GNU patch 2.7. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/593786 |
11 |
|
12 |
commands.tex | 13 ++++++++----- |
13 |
eapi-differences.tex | 4 ++++ |
14 |
2 files changed, 12 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/commands.tex b/commands.tex |
17 |
index 86b4232..5ba9626 100644 |
18 |
--- a/commands.tex |
19 |
+++ b/commands.tex |
20 |
@@ -26,7 +26,8 @@ The following commands must always be available in the ebuild environment: |
21 |
page~\pageref{tab:bash-version}. |
22 |
\item \t{sed} must be available, and must support all forms of invocations valid for GNU sed |
23 |
version 4 or later. |
24 |
-\item \t{patch} must be available, and must support all inputs valid for GNU patch. |
25 |
+\item \featurelabel{gnu-patch} \t{patch} must be available, and must support all inputs valid |
26 |
+ for GNU patch, version as listed in table~\ref{tab:system-commands-table}. |
27 |
\item \featurelabel{gnu-find} \t{find} and \t{xargs} must be available, and must support all forms |
28 |
of invocations valid for GNU findutils version 4.4 or later. Only for EAPIs listed in |
29 |
table~\ref{tab:system-commands-table} as requiring GNU find. |
30 |
@@ -35,13 +36,15 @@ The following commands must always be available in the ebuild environment: |
31 |
\ChangeWhenAddingAnEAPI{7} |
32 |
\begin{centertable}{System commands for EAPIs} |
33 |
\label{tab:system-commands-table} |
34 |
- \begin{tabular}{ll} |
35 |
+ \begin{tabular}{lll} |
36 |
\toprule |
37 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
38 |
- \multicolumn{1}{c}{\textbf{GNU \t{find}?}} \\ |
39 |
+ \multicolumn{1}{c}{\textbf{GNU \t{find}?}} & |
40 |
+ \multicolumn{1}{c}{\textbf{GNU \t{patch} version}} \\ |
41 |
\midrule |
42 |
- 0, 1, 2, 3, 4 & Undefined \\ |
43 |
- 5, 6, 7 & Yes \\ |
44 |
+ 0, 1, 2, 3, 4 & Undefined & Any \\ |
45 |
+ 5, 6 & Yes & Any \\ |
46 |
+ 7 & Yes & 2.7 \\ |
47 |
\bottomrule |
48 |
\end{tabular} |
49 |
\end{centertable} |
50 |
|
51 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
52 |
index d738efe..47c6950 100644 |
53 |
--- a/eapi-differences.tex |
54 |
+++ b/eapi-differences.tex |
55 |
@@ -200,6 +200,9 @@ Profile \t{IUSE} injection & \compactfeatureref{profile-iuse-inject} & |
56 |
Trailing slash in \t{D} etc. & \compactfeatureref{trailing-slash} & |
57 |
Yes & Yes & Yes & Yes & No \\ |
58 |
|
59 |
+GNU \t{patch} version & \compactfeatureref{gnu-patch} & |
60 |
+ Any & Any & Any & Any & 2.7 \\ |
61 |
+ |
62 |
\t{find} is GNU? & \compactfeatureref{gnu-find} & |
63 |
Undefined & Undefined & Yes & Yes & Yes \\ |
64 |
|
65 |
@@ -441,6 +444,7 @@ EAPI 7 is EAPI 6 with the following changes: |
66 |
\item \t{best_version} and \t{has_version} support \t{-b}, \t{-d} and \t{-r} options instead of |
67 |
\t{-{}-host-root}, \featureref{pm-query-options}. |
68 |
\item \t{ENV_UNSET}, \featureref{env-unset}. |
69 |
+\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}. |
70 |
\end{compactitem} |
71 |
|
72 |
\ChangeWhenAddingAnEAPI{7} |