From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B7DF1396D0 for ; Wed, 4 Oct 2017 16:25:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C73AE2BC033; Wed, 4 Oct 2017 16:25:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92F1D2BC033 for ; Wed, 4 Oct 2017 16:25:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84C3B3417A5 for ; Wed, 4 Oct 2017 16:25:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D685C90A1 for ; Wed, 4 Oct 2017 16:25:17 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1507133915.cdb90005dc23205b0add29ef023f2687f022cb40.mgorny@gentoo> Subject: [gentoo-commits] proj/pms:eapi-7 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex ebuild-env-commands.tex X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cdb90005dc23205b0add29ef023f2687f022cb40 X-VCS-Branch: eapi-7 Date: Wed, 4 Oct 2017 16:25:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b0f3dd8f-3720-4457-a9f9-8f83238db269 X-Archives-Hash: 3b165664e108058e7949c6b287a947ec commit: cdb90005dc23205b0add29ef023f2687f022cb40 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 28 17:50:56 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 4 16:18:35 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=cdb90005 EAPI 7 requires GNU patch 2.7. Bug: https://bugs.gentoo.org/593786 eapi-differences.tex | 4 ++++ ebuild-env-commands.tex | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 939c501..9f39934 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs. \bottomrule \endlastfoot +GNU patch version & \compactfeatureref{gnu-patch} & + Any & Any & Any & Any & 2.7 \\ + Trailing slash in \t{ROOT}, \t{D}... & \compactfeatureref{trailing-slash} & Yes & Yes & Yes & Yes & No \\ @@ -400,6 +403,7 @@ EAPI 7 is EAPI 6 with the following changes: \item Output commands can no longer use stdout, \featureref{output-no-stdout}. \item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash, \featureref{trailing-slash}. +\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex index 590f709..f5e1c07 100644 --- a/ebuild-env-commands.tex +++ b/ebuild-env-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. @@ -41,15 +42,17 @@ during filename expansion result in an error when the ebuild is being sourced. \ChangeWhenAddingAnEAPI{7} \begin{centertable}{System commands for EAPIs} \label{tab:system-commands-table} - \begin{tabular}{lll} + \begin{tabular}{llll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{GNU \t{find}?}} & - \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} \\ + \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} & + \multicolumn{1}{c}{\textbf{GNU patch version}} \\ \midrule - 0, 1, 2, 3, 4 & Undefined & No \\ - 5 & Yes & No \\ - 6, 7 & Yes & Yes \\ + 0, 1, 2, 3, 4 & Undefined & No & Any \\ + 5 & Yes & No & Any \\ + 6 & Yes & Yes & Any \\ + 7 & Yes & Yes & 2.7 \\ \bottomrule \end{tabular} \end{centertable}