commit: 440b0ee22c50bfd1c7f0b1038213a282c8bbbfa8
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 23 18:35:39 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 19:29:19 2015 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=440b0ee2
EAPI 6 has eapply.
Bug: 463768
eapi-differences.tex | 4 ++++
pkg-mgr-commands.tex | 30 ++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 17b6aa9..2fb41d2 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -168,6 +168,9 @@ Option \t{-{}-host-root} &
\compactfeatureref{host-root-option} &
\t{die -n} & \compactfeatureref{nonfatal-die} &
No & No & No & No & Yes \\
+\t{eapply} & \compactfeatureref{eapply} &
+ No & No & No & No & Yes \\
+
\t{econf} arguments & \compactfeatureref{econf-options} &
& & disable dependency tracking &
disable dependency tracking, disable silent rules &
@@ -319,6 +322,7 @@ EAPI 6 is EAPI 5 with the following changes:
\item \t{failglob} is enabled in global scope, \featureref{failglob}.
\item \t{einstall} banned, \featureref{banned-commands}.
\item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal},
\featureref{nonfatal-die}.
+\item \t{eapply} support, \featureref{eapply}.
\end{compactitem}
\ChangeWhenAddingAnEAPI{6}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 49402e7..28a96b0 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -143,6 +143,36 @@ completing. Ebuilds must not run any of these commands
once the current phase fu
\end{tabular}
\end{centertable}
+\subsubsection{Patch commands}
+These commands are used during the \t{src\_prepare} phase to apply patches to
the package's sources.
+Ebuilds must not run any of these commands once the current phase function has
returned.
+
+\begin{description}
+\item[eapply] \featurelabel{eapply}
+ Only available in EAPIs listed in table~\ref{tab:patch-commands} as
supporting \t{eapply}.
+\end{description}
+
+\begin{algorithm}
+\caption{eapply logic} \label{alg:eapply}
+\begin{algorithmic}[1]
+\STATE \COMMENT{WORK IN PROGRESS}
+\end{algorithmic}
+\end{algorithm}
+
+\ChangeWhenAddingAnEAPI{6}
+\begin{centertable}{Patch commands for EAPIs}
+ \label{tab:patch-commands}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\
+ \midrule
+ 0, 1, 2, 3, 4, 5 & No \\
+ 6 & Yes \\
+ \bottomrule
+ \end{tabular}
+\end{centertable}
+
\subsubsection{Build commands}
These commands are used during the \t{src\_configure}, \t{src\_compile}, and
\t{src\_install}
phases to run the package's build commands. Ebuilds must not run any of these
commands once the