summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-06-21 08:59:16 +0200
committerUlrich Müller <ulm@gentoo.org>2015-11-08 20:29:19 +0100
commitaf3e1aaf7ae9aa73676aa149ebeca71091b6afed (patch)
tree39fc9492244d978d5b5225013e26e15e4ba0d095 /ebuild-functions.tex
parentUpdate mailing list address. (diff)
downloadpms-af3e1aaf7ae9aa73676aa149ebeca71091b6afed.tar.gz
pms-af3e1aaf7ae9aa73676aa149ebeca71091b6afed.tar.bz2
pms-af3e1aaf7ae9aa73676aa149ebeca71091b6afed.zip
Add an EAPI 6 identical to EAPI 5.
Diffstat (limited to 'ebuild-functions.tex')
-rw-r--r--ebuild-functions.tex28
1 files changed, 19 insertions, 9 deletions
diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index 084e866..a4c9144 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -44,7 +44,7 @@ fallback to \t{WORKDIR} is used:
in \t{DEFINED\_PHASES}.
\end{compactitem}
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs with \t{S} to \t{WORKDIR} fallbacks} \label{tab:s-fallback-table}
\begin{tabular}{ l l }
\toprule
@@ -57,6 +57,7 @@ fallback to \t{WORKDIR} is used:
\t{3} & Always \\
\t{4} & Conditional error \\
\t{5} & Conditional error \\
+ \t{6} & Conditional error \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -79,7 +80,7 @@ before the next phase is executed.
\t{pkg\_pretend} must not write to the filesystem.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting \t{pkg\_pretend}} \label{tab:pkg-pretend-table}
\begin{tabular}{ l l }
\toprule
@@ -92,6 +93,7 @@ before the next phase is executed.
\t{3} & No \\
\t{4} & Yes \\
\t{5} & Yes \\
+ \t{6} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -138,7 +140,7 @@ implementation does nothing.
The initial working directory is \t{S}, with an error or fallback to \t{WORKDIR} as discussed in
section~\ref{sec:s-to-workdir-fallback}.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting \t{src\_prepare}} \label{tab:src-prepare-table}
\begin{tabular}{ l l }
\toprule
@@ -151,6 +153,7 @@ section~\ref{sec:s-to-workdir-fallback}.
\t{3} & Yes \\
\t{4} & Yes \\
\t{5} & Yes \\
+ \t{6} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -178,7 +181,7 @@ src_configure() {
\end{verbatim}
\end{listing}
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting \t{src\_configure}} \label{tab:src-configure-table}
\begin{tabular}{ l l }
\toprule
@@ -191,6 +194,7 @@ src_configure() {
\t{3} & Yes \\
\t{4} & Yes \\
\t{5} & Yes \\
+ \t{6} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -255,7 +259,7 @@ src_compile() {
\end{verbatim}
\end{listing}
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{\t{src\_compile} behaviour for EAPIs} \label{tab:src-compile-table}
\begin{tabular}{ l l }
\toprule
@@ -268,6 +272,7 @@ src_compile() {
\t{3} & 2 \\
\t{4} & 2 \\
\t{5} & 2 \\
+ \t{6} & 2 \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -290,7 +295,7 @@ parallel tests, the \t{emake} command must be called with option \t{-j1}.
The \t{src\_test} function may be disabled by \t{RESTRICT}\@. See section~\ref{sec:restrict}. It may
be disabled by user too, using a PM-specific mechanism.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{\t{src\_test} behaviour for EAPIs} \label{tab:src-test-table}
\begin{tabular}{ l l }
\toprule
@@ -303,6 +308,7 @@ be disabled by user too, using a PM-specific mechanism.
\t{3} & No \\
\t{4} & No \\
\t{5} & Yes \\
+ \t{6} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -346,7 +352,7 @@ src_install() {
For other EAPIs, the default implementation used when the ebuild lacks the \t{src\_install} function
is a no-op.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{\t{src\_install} behaviour for EAPIs} \label{tab:src-install-table}
\begin{tabular}{ l l }
\toprule
@@ -359,6 +365,7 @@ is a no-op.
\t{3} & no-op \\
\t{4} & 4 \\
\t{5} & 4 \\
+ \t{6} & 4 \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -422,7 +429,7 @@ that dependencies may not be installed.
\t{pkg\_info} must not write to the filesystem.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting \t{pkg\_info} on non-installed packages} \label{tab:pkg-info-table}
\begin{tabular}{ l l }
\toprule
@@ -435,6 +442,7 @@ that dependencies may not be installed.
\t{3} & No \\
\t{4} & Yes \\
\t{5} & Yes \\
+ \t{6} & Yes \\
\bottomrule
\end{tabular}
\end{centertable}
@@ -457,7 +465,7 @@ named \t{default\_}(phase) that behaves as the default implementation for that E
when executing any ebuild phase listed in the table. Ebuilds must not call these functions except
when in the phase in question.
-\ChangeWhenAddingAnEAPI{5}
+\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{EAPIs supporting \t{default\_} phase functions} \label{tab:default-phase-function-table}
\begin{tabular}{ l >{\setlength{\rightskip}{0pt plus 1fil}}p{30em} }
\toprule
@@ -474,6 +482,8 @@ when in the phase in question.
\t{src\_compile}, \t{src\_install}, \t{src\_test} \\
\t{5} & \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure},
\t{src\_compile}, \t{src\_install}, \t{src\_test} \\
+ \t{6} & \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure},
+ \t{src\_compile}, \t{src\_install}, \t{src\_test} \\
\bottomrule
\end{tabular}
\end{centertable}