commit:     6909cdc8203d5ad002b138885494b50a9e1e77a7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 16:02:56 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 16:02:56 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=6909cdc8

EAPI 9: assert banned

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

 eapi-differences.tex |  4 ++++
 pkg-mgr-commands.tex | 10 +++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 3d5bb97..ddeb1e6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -117,6 +117,9 @@ GNU \t{patch} version & \compactfeatureref{gnu-patch} &
 \t{hasq} & \compactfeatureref{banned-commands} &
     Yes & Yes & Banned & Banned \\
 
+\t{assert} & \compactfeatureref{banned-commands} &
+    Yes & Yes & Yes & Banned \\
+
 Query command options & \compactfeatureref{pm-query-options} &
     \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} & \t{-b}, \t{-d}, \t{-r} & 
\t{-b}, \t{-d}, \t{-r} \\
 
@@ -359,6 +362,7 @@ EAPI 9 is EAPI 8 with the following changes:
 
 \begin{compactitem}
 \item Different default EAPI for profiles, \featureref{profile-eapi-default}.
+\item \t{assert} banned, \featureref{banned-commands}.
 \item Absolute symlinks no longer being rewritten, \featureref{symlink-rewrite}
 
 \end{compactitem}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 4ab8fdf..799d305 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -80,10 +80,12 @@ called, the package manager must abort the build process 
indicating an error.
       \multicolumn{1}{c}{} &
       \multicolumn{1}{c}{\textbf{\t{useq}}} &
       \multicolumn{1}{c}{\textbf{\t{hasv}}} &
-      \multicolumn{1}{c}{\textbf{\t{hasq}}} & & & \\
+      \multicolumn{1}{c}{\textbf{\t{hasq}}} &
+      \multicolumn{1}{c}{\textbf{\t{assert}}} & & \\
       \midrule
-      0, 1, 2, 3, 4, 5, 6, 7  & No  & No  & No  & & & \\
-      8, 9                    & Yes & Yes & Yes & & & \\
+      0, 1, 2, 3, 4, 5, 6, 7  & No  & No  & No  & No  & & \\
+      8                       & Yes & Yes & Yes & No  & & \\
+      9                       & Yes & Yes & Yes & Yes & & \\
       \bottomrule
     \end{tabular}
 \end{centertable}
@@ -201,6 +203,8 @@ completing. Ebuilds must not run any of these commands once 
the current phase fu
     environment.
 \item[assert] Checks the shell's pipe status array, and if any element is 
non-zero (indicating
     failure), calls \t{die}, passing any parameters to it.
+    In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is 
banned as per
+    section~\ref{sec:banned-commands}.
 \end{description}
 
 \ChangeWhenAddingAnEAPI{9}

Reply via email to