commit:     2d0b66480962486057acfbbc79e7b580b23d7cf2
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 18:14:14 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 16 19:33:20 2025 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=2d0b6648

EAPI 9 has edo

Bug: https://bugs.gentoo.org/744880
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eapi-differences.tex |  4 ++++
 pkg-mgr-commands.tex | 21 ++++++++++++++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index a411352..99a3526 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -192,6 +192,9 @@ Controllable stripping & \compactfeatureref{dostrip} &
 \t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} &
     Yes & Yes & No & No \\
 
+\t{edo} & \compactfeatureref{edo} &
+    No & No & No & Yes \\
+
 \end{longtable}
 
 \chapter{Differences between EAPIs}
@@ -384,6 +387,7 @@ EAPI 9 is EAPI 8 with the following changes:
 \item \t{domo} banned, \featureref{banned-commands}.
 \item \t{pipestatus}, \featureref{pipestatus}.
 \item \t{ver_replacing}, \featureref{ver-replacing}.
+\item \t{edo}, \featureref{edo}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{9}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 6944c6e..a4f4b8e 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -1301,21 +1301,32 @@ has returned.
 \end{algorithmic}
 \end{algorithm}
 
+\item[edo] \featurelabel{edo} Takes one or more arguments. The entire argument 
list is output
+as an informational message to stderr; individual tokens may be reformatted to 
avoid ambiguity.
+The first argument is then executed as a command, with the remaining arguments 
passed to it.
+If the command fails, \t{edo} aborts the build process using \t{die}, unless 
it was called under
+\t{nonfatal}, in which case it returns a non-zero exit status.
+
+\t{edo} must be implemented internally as a shell function. Only available in 
EAPIs listed in
+table~\ref{tab:misc-commands} as supporting \t{edo}.
+
 \end{description}
 
 \ChangeWhenAddingAnEAPI{9}
 \begin{centertable}{Misc commands for EAPIs}
     \label{tab:misc-commands}
-    \begin{tabular}{llll}
+    \begin{tabular}{lllll}
       \toprule
       \multicolumn{1}{c}{\textbf{EAPI}} &
       \multicolumn{1}{c}{\textbf{\t{default}?}} &
       \multicolumn{1}{c}{\textbf{\t{einstalldocs}?}} &
-      \multicolumn{1}{c}{\textbf{\t{get_libdir}?}} \\
+      \multicolumn{1}{c}{\textbf{\t{get_libdir}?}} &
+      \multicolumn{1}{c}{\textbf{\t{edo}?}} \\
       \midrule
-      0, 1              & No  & No  & No  \\
-      2, 3, 4, 5        & Yes & No  & No  \\
-      6, 7, 8, 9        & Yes & Yes & Yes \\
+      0, 1              & No  & No  & No  & No  \\
+      2, 3, 4, 5        & Yes & No  & No  & No  \\
+      6, 7, 8           & Yes & Yes & Yes & No  \\
+      9                 & Yes & Yes & Yes & Yes \\
       \bottomrule
     \end{tabular}
 \end{centertable}

Reply via email to