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 23D15138BF0 for ; Thu, 15 Oct 2015 10:43:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C13821C01C; Thu, 15 Oct 2015 10:43:11 +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 E071821C01C for ; Thu, 15 Oct 2015 10:43:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2B2C340B7E for ; Thu, 15 Oct 2015 10:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB18410E7 for ; Thu, 15 Oct 2015 10:43:07 +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: <1444895299.d69d71d84f8a735e88edfe04befb1693d56d2827.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d69d71d84f8a735e88edfe04befb1693d56d2827 X-VCS-Branch: eapi-6 Date: Thu, 15 Oct 2015 10:43:07 +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: 3f08c433-c143-45c0-b892-d207bea20ceb X-Archives-Hash: f2ab5ee3437c8d24cc334e9dca8b8d2f commit: d69d71d84f8a735e88edfe04befb1693d56d2827 Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 23 12:56:19 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Oct 15 07:48:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d69d71d8 EAPI 6 has in_iuse. Bug: 449862 eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 22 ++++++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index b3035e3..6002785 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -216,6 +216,9 @@ Controllable compression & \compactfeatureref{docompress} & \t{usex} & \compactfeatureref{usex} & No & No & No & Yes & Yes \\ +\t{in\_iuse} & \compactfeatureref{in-iuse} & + No & No & No & No & Yes \\ + \t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} & No & Yes & Yes & Yes & Yes \\ @@ -337,6 +340,7 @@ EAPI 6 is EAPI 5 with the following changes: \item \t{eapply} support, \featureref{eapply}. \item \t{eapply\_user} support, \featureref{eapply-user}. \item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}. +\item \t{in\_iuse} support, \featureref{in-iuse}. \end{compactitem} \ChangeWhenAddingAnEAPI{6} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 961af2a..6b150c7 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -715,8 +715,9 @@ These functions provide behaviour based upon set or unset use flags. Ebuilds mus these commands once the current phase function has returned. Ebuilds must not run any of these functions in global scope. -If any of these functions is called with a flag value that is not included in \t{IUSE\_EFFECTIVE}, -either behaviour is undefined or it is an error as decided by table~\ref{tab:use-list-strictness}. +Unless otherwise noted, if any of these functions is called with a flag value that is not included +in \t{IUSE\_EFFECTIVE}, either behaviour is undefined or it is an error as decided by +table~\ref{tab:use-list-strictness}. \begin{description} \item[use] Returns shell true (0) if the first argument (a \t{USE} flag name) is enabled, false @@ -742,6 +743,9 @@ either behaviour is undefined or it is an error as decided by table~\ref{tab:use set, outputs \t{\$\{arg2\}\$\{arg4\}}. Otherwise, outputs \t{\$\{arg3\}\$\{arg5\}}. The condition is inverted if the flag name is prefixed with~\t{!}. Only available in EAPIs listed in table~\ref{tab:usex-table} as supporting \t{usex}. +\item[in\_iuse] \featurelabel{in-iuse} Returns shell true (0) if the first argument (a \t{USE} flag + name) is included in \t{IUSE\_EFFECTIVE}, false otherwise. Only available in EAPIs listed in + table~\ref{tab:in-iuse} as supporting \t{in\_iuse}. \end{description} \ChangeWhenAddingAnEAPI{6} @@ -786,6 +790,20 @@ either behaviour is undefined or it is an error as decided by table~\ref{tab:use \end{tabular} \end{centertable} +\ChangeWhenAddingAnEAPI{6} +\begin{centertable}{EAPIs supporting \t{in\_iuse}} + \label{tab:in-iuse} + \begin{tabular}{ l l } + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Supports \t{in\_iuse}?}} \\ + \midrule + 0, 1, 2, 3, 4, 5 & No \\ + 6 & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsubsection{Text List Functions} These functions check whitespace-separated lists for a particular value.