summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-09-28 19:50:56 +0200
committerUlrich Müller <ulm@gentoo.org>2018-03-31 17:30:43 +0200
commitb0b4f343da9050ec5a10cd0644d7e00b1b36f0c4 (patch)
tree45e245f3e87de1634eff5ef37514c51795d17265
parentEAPI 7 has ENV_UNSET. (diff)
downloadpms-b0b4f343da9050ec5a10cd0644d7e00b1b36f0c4.tar.gz
pms-b0b4f343da9050ec5a10cd0644d7e00b1b36f0c4.tar.bz2
pms-b0b4f343da9050ec5a10cd0644d7e00b1b36f0c4.zip
EAPI 7 requires GNU patch 2.7.
Bug: https://bugs.gentoo.org/593786
-rw-r--r--commands.tex13
-rw-r--r--eapi-differences.tex4
2 files changed, 12 insertions, 5 deletions
diff --git a/commands.tex b/commands.tex
index 86b4232..5ba9626 100644
--- a/commands.tex
+++ b/commands.tex
@@ -26,7 +26,8 @@ The following commands must always be available in the ebuild environment:
page~\pageref{tab:bash-version}.
\item \t{sed} must be available, and must support all forms of invocations valid for GNU sed
version 4 or later.
-\item \t{patch} must be available, and must support all inputs valid for GNU patch.
+\item \featurelabel{gnu-patch} \t{patch} must be available, and must support all inputs valid
+ for GNU patch, version as listed in table~\ref{tab:system-commands-table}.
\item \featurelabel{gnu-find} \t{find} and \t{xargs} must be available, and must support all forms
of invocations valid for GNU findutils version 4.4 or later. Only for EAPIs listed in
table~\ref{tab:system-commands-table} as requiring GNU find.
@@ -35,13 +36,15 @@ The following commands must always be available in the ebuild environment:
\ChangeWhenAddingAnEAPI{7}
\begin{centertable}{System commands for EAPIs}
\label{tab:system-commands-table}
- \begin{tabular}{ll}
+ \begin{tabular}{lll}
\toprule
\multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{GNU \t{find}?}} \\
+ \multicolumn{1}{c}{\textbf{GNU \t{find}?}} &
+ \multicolumn{1}{c}{\textbf{GNU \t{patch} version}} \\
\midrule
- 0, 1, 2, 3, 4 & Undefined \\
- 5, 6, 7 & Yes \\
+ 0, 1, 2, 3, 4 & Undefined & Any \\
+ 5, 6 & Yes & Any \\
+ 7 & Yes & 2.7 \\
\bottomrule
\end{tabular}
\end{centertable}
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 29126f6..7ce264f 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -191,6 +191,9 @@ Profile \t{IUSE} injection & \compactfeatureref{profile-iuse-inject} &
Trailing slash in \t{D} etc. & \compactfeatureref{trailing-slash} &
Yes & Yes & Yes & Yes & No \\
+GNU \t{patch} version & \compactfeatureref{gnu-patch} &
+ Any & Any & Any & Any & 2.7 \\
+
\t{find} is GNU? & \compactfeatureref{gnu-find} &
Undefined & Undefined & Yes & Yes & Yes \\
@@ -429,6 +432,7 @@ EAPI 7 is EAPI 6 with the following changes:
\item \t{best_version} and \t{has_version} support \t{-b}, \t{-d} and \t{-r} options instead of
\t{-{}-host-root}, \featureref{pm-query-options}.
\item \t{ENV_UNSET}, \featureref{env-unset}.
+\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
\end{compactitem}
\ChangeWhenAddingAnEAPI{7}