From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0B100138ACF for ; Mon, 16 Feb 2015 15:08:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB176E09D7; Mon, 16 Feb 2015 15:08:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FBC4E0955 for ; Mon, 16 Feb 2015 15:08:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28A87340691 for ; Mon, 16 Feb 2015 15:08:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCBA011E39 for ; Mon, 16 Feb 2015 15:08:10 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1424099481.33e5d2a97fe8d372b0055185242654c83781f0b6.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex ebuild-env-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 33e5d2a97fe8d372b0055185242654c83781f0b6 X-VCS-Branch: eapi-6 Date: Mon, 16 Feb 2015 15:08:10 +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: 74d91970-f772-46b0-920e-0216e2a4b9b9 X-Archives-Hash: 08c86ec6bc383f032dbc1535862317a6 commit: 33e5d2a97fe8d372b0055185242654c83781f0b6 Author: Ulrich Müller gentoo org> AuthorDate: Mon Feb 16 12:46:40 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Feb 16 15:11:21 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=33e5d2a9 EAPI 6 enables failglob in global scope. See bug 463822. --- eapi-differences.tex | 4 ++++ ebuild-env-commands.tex | 23 +++++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index f1255f3..b9fe5a4 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -142,6 +142,9 @@ Profile \t{IUSE} injection & \compactfeatureref{profile-iuse-inject} & Bash version & \compactfeatureref{bash-version} & 3.2 & 3.2 & 3.2 & 3.2 & 4.2 \\ +\t{failglob} in global scope & \compactfeatureref{failglob} & + No & No & No & No & Yes \\ + \t{find} is GNU? & \compactfeatureref{gnu-find} & Undefined & Undefined & Undefined & Yes & Yes \\ @@ -308,6 +311,7 @@ EAPI 6 is EAPI 5 with the following changes: \begin{compactitem} \item Bash version is 4.2, \featureref{bash-version}. +\item \t{failglob} is enabled in global scope, \featureref{failglob}. \end{compactitem} \ChangeWhenAddingAnEAPI{6} diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex index 6eca0c9..4e3d049 100644 --- a/ebuild-env-commands.tex +++ b/ebuild-env-commands.tex @@ -33,21 +33,28 @@ The following commands must always be available in the ebuild environment: table~\ref{tab:system-commands-table} as requiring GNU find. \end{compactitem} +\subsubsection{Shell options} + +\featurelabel{failglob} For EAPIs listed such in table~\ref{tab:system-commands-table}, the +\t{failglob} option of bash is set in the global scope of ebuilds. If set, failed pattern matches +during filename expansion result in an error when the ebuild is being sourced. + \ChangeWhenAddingAnEAPI{6} \begin{centertable}{System commands for EAPIs} \label{tab:system-commands-table} - \begin{tabular}{ l l l } + \begin{tabular}{ l l l l } \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{Bash version}} & + \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} & \multicolumn{1}{c}{\textbf{GNU \t{find}?}} \\ \midrule - \t{0} & 3.2 & Undefined \\ - \t{1} & 3.2 & Undefined \\ - \t{2} & 3.2 & Undefined \\ - \t{3} & 3.2 & Undefined \\ - \t{4} & 3.2 & Undefined \\ - \t{5} & 3.2 & Yes \\ - \t{6} & 4.2 & Yes \\ + \t{0} & 3.2 & No & Undefined \\ + \t{1} & 3.2 & No & Undefined \\ + \t{2} & 3.2 & No & Undefined \\ + \t{3} & 3.2 & No & Undefined \\ + \t{4} & 3.2 & No & Undefined \\ + \t{5} & 3.2 & No & Yes \\ + \t{6} & 4.2 & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable}