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 61BC9138200 for ; Fri, 14 Sep 2012 06:17:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D548D21C02F; Fri, 14 Sep 2012 06:14:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9654221C02F for ; Fri, 14 Sep 2012 06:14:53 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D498B33D744 for ; Fri, 14 Sep 2012 06:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 87D03E5449 for ; Fri, 14 Sep 2012 06:14:50 +0000 (UTC) From: "Ulrich Mueller" 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 Mueller" Message-ID: <1347517697.91a920caaf45dee42dc1513c8853b0fd43f6a167.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master 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 Mueller X-VCS-Revision: 91a920caaf45dee42dc1513c8853b0fd43f6a167 X-VCS-Branch: master Date: Fri, 14 Sep 2012 06:14:50 +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: 90c72695-1541-4cc4-9fdf-0bf2d2ede3d2 X-Archives-Hash: 0c9a7312b3bc6a96cb6428129bc69df4 commit: 91a920caaf45dee42dc1513c8853b0fd43f6a167 Author: Ulrich Müller gentoo org> AuthorDate: Fri Aug 31 16:17:37 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu Sep 13 06:28:17 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=91a920ca EAPI 5 has usex. See bug 382963. --- eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 8974b7e..90ac8b2 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -184,6 +184,9 @@ Controllable compression & \compactfeatureref{controllable-compress} & \t{use\_with} empty third arg & \compactfeatureref{use-with} & No & No & No & No & Yes & Yes \\ +\t{usex} & \compactfeatureref{usex} & + No & No & No & No & No & Yes \\ + \t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} & No & No & No & Yes & Yes & Yes \\ @@ -289,6 +292,7 @@ EAPI 5 is EAPI 4 with the following changes: \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}. \item \t{doheader} and \t{newheader} support, \featureref{doheader}. \item \t{new*} can read from standard input, \featureref{newfoo-stdin}. +\item \t{usex} support, \featureref{usex}. \end{compactitem} \ChangeWhenAddingAnEAPI{5} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 9e51119..9538a7e 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -666,6 +666,13 @@ either behaviour is undefined or it is an error as decided by table~\ref{tab:use \t{-{}-without-\$\{opt\}}. \item[use\_enable] Works the same as \t{use\_with()}, but outputs \t{-{}-enable-} or \t{-{}-disable-} instead of \t{-{}-with-} or \t{-{}-without-}. +\item[usex] \featurelabel{usex} Accepts at least one and at most five arguments. The first argument + is a USE flag name, any subsequent arguments (\t{\$\{arg2\}} to \t{\$\{arg5\}}) are string + values. If not provided, \t{\$\{arg2\}} and \t{\$\{arg3\}} default to \t{yes} and \t{no}, + respectively; \t{\$\{arg4\}} and \t{\$\{arg5\}} default to the empty string. If the USE flag is + 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}. \end{description} \ChangeWhenAddingAnEAPI{5} @@ -703,6 +710,23 @@ instead of \t{-{}-with-} or \t{-{}-without-}. \end{tabular} \end{centertable} +\ChangeWhenAddingAnEAPI{5} +\begin{centertable}{EAPIs supporting \t{usex}} \label{tab:usex-table} + \begin{tabular}{ l l } + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Supports \t{usex}?}} \\ + \midrule + \t{0} & No \\ + \t{1} & No \\ + \t{2} & No \\ + \t{3} & No \\ + \t{4} & No \\ + \t{5} & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsubsection{Text List Functions} These functions check whitespace-separated lists for a particular value.