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 C2BC41384B4 for ; Sun, 8 Nov 2015 19:36:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 886D2E0856; Sun, 8 Nov 2015 19:36:56 +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 040C4E084D for ; Sun, 8 Nov 2015 19:36:56 +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 2B4CD340649 for ; Sun, 8 Nov 2015 19:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5043422C6 for ; Sun, 8 Nov 2015 19:36:52 +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: <1447010959.5e5b02033ff3f2a8fa0783668c11960277aa68bd.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: 5e5b02033ff3f2a8fa0783668c11960277aa68bd X-VCS-Branch: eapi-6 Date: Sun, 8 Nov 2015 19:36:52 +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: e970d494-9ff6-4565-9efc-9f5502313ddd X-Archives-Hash: 82d0ac10f2ec1832afdb0792a9d38111 commit: 5e5b02033ff3f2a8fa0783668c11960277aa68bd Author: Ulrich Müller gentoo org> AuthorDate: Mon Feb 16 12:46:40 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Nov 8 19:29:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=5e5b0203 EAPI 6 enables failglob in global scope. Bug: 463822 eapi-differences.tex | 4 ++++ ebuild-env-commands.tex | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 71826c4..f5b9530 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -141,6 +141,9 @@ Profile \t{IUSE} injection & \compactfeatureref{profile-iuse-inject} & \t{EPREFIX}, \t{ED}, \t{EROOT} & \compactfeatureref{offset-prefix-vars} & No & Yes & Yes & Yes & Yes \\ +\t{failglob} in global scope & \compactfeatureref{failglob} & + No & No & No & No & Yes \\ + \t{find} is GNU? & \compactfeatureref{gnu-find} & Undefined & Undefined & Undefined & Yes & Yes \\ @@ -307,6 +310,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 f6bc3f6..72228da 100644 --- a/ebuild-env-commands.tex +++ b/ebuild-env-commands.tex @@ -33,16 +33,24 @@ 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}{\t{find} implementation for EAPIs} +\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{\t{failglob} in global scope?}} \\ \midrule - 0, 1, 2, 3, 4 & Undefined \\ - 5, 6 & Yes \\ + 0, 1, 2, 3, 4 & Undefined & No \\ + 5 & Yes & No \\ + 6 & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable}