* [gentoo-pms] [PATCH] EAPI 5 supports usex.
@ 2012-08-31 16:23 Ulrich Mueller
2012-09-04 8:59 ` [gentoo-pms] " Ulrich Mueller
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2012-08-31 16:23 UTC (permalink / raw
To: gentoo-pms
Please review.
From 90b87edeaf92608805330c30f948e041410455d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Fri, 31 Aug 2012 18:17:37 +0200
Subject: [PATCH] EAPI 5 supports usex.
See bug 382963.
---
eapi-differences.tex | 4 ++++
pkg-mgr-commands.tex | 23 +++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/eapi-differences.tex b/eapi-differences.tex
index c70231f..2c04dd7 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 \\
@@ -294,6 +297,7 @@ EAPI 5 is EAPI 4 with the following changes:
\featureref{host-root-option}.
\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 0f003eb..a04556e 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -664,6 +664,12 @@ 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\}}.
+ Only available in EAPIs listed in table~\ref{tab:usex-table} as supporting \t{usex}.
\end{description}
\ChangeWhenAddingAnEAPI{5}
@@ -701,6 +707,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.
--
1.7.8.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-pms] Re: [PATCH] EAPI 5 supports usex.
2012-08-31 16:23 [gentoo-pms] [PATCH] EAPI 5 supports usex Ulrich Mueller
@ 2012-09-04 8:59 ` Ulrich Mueller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller @ 2012-09-04 8:59 UTC (permalink / raw
To: gentoo-pms
Committed:
<http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9ef20fa5b959f1878179342c5ed010534a954bf>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-04 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 16:23 [gentoo-pms] [PATCH] EAPI 5 supports usex Ulrich Mueller
2012-09-04 8:59 ` [gentoo-pms] " Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox