1 |
Bug: 475288 |
2 |
--- |
3 |
eapi-differences.tex | 4 ++++ |
4 |
pkg-mgr-commands.tex | 15 +++++++++++---- |
5 |
2 files changed, 15 insertions(+), 4 deletions(-) |
6 |
|
7 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
8 |
index 7502c1e..be8563c 100644 |
9 |
--- a/eapi-differences.tex |
10 |
+++ b/eapi-differences.tex |
11 |
@@ -175,6 +175,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & |
12 |
\t{eapply} & \compactfeatureref{eapply} & |
13 |
No & No & No & No & Yes \\ |
14 |
|
15 |
+\t{eapply\_user} & \compactfeatureref{eapply-user} & |
16 |
+ No & No & No & No & Yes \\ |
17 |
+ |
18 |
\t{econf} arguments & \compactfeatureref{econf-options} & |
19 |
& & disable dependency tracking & |
20 |
disable dependency tracking, disable silent rules & |
21 |
@@ -328,6 +331,7 @@ EAPI 6 is EAPI 5 with the following changes: |
22 |
\item \t{einstall} banned, \featureref{banned-commands}. |
23 |
\item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}. |
24 |
\item \t{eapply} support, \featureref{eapply}. |
25 |
+\item \t{eapply\_user} support, \featureref{eapply-user}. |
26 |
\end{compactitem} |
27 |
|
28 |
\ChangeWhenAddingAnEAPI{6} |
29 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
30 |
index 8fb8059..680340a 100644 |
31 |
--- a/pkg-mgr-commands.tex |
32 |
+++ b/pkg-mgr-commands.tex |
33 |
@@ -153,6 +153,12 @@ Ebuilds must not run any of these commands once the current phase function has r |
34 |
according to Algorithm~\ref{alg:eapply}. If applying the patches fails, it aborts the build |
35 |
using \t{die}, unless run using \t{nonfatal}, in which case it returns non-zero exit status. |
36 |
Only available in EAPIs listed in table~\ref{tab:patch-commands} as supporting \t{eapply}. |
37 |
+ |
38 |
+\item[eapply\_user] \featurelabel{eapply-user} Takes no arguments. Package managers supporting it |
39 |
+ apply user-provided patches to the source tree in the current working directory. Exact behaviour |
40 |
+ is implementation defined and beyond the scope of this specification. Package managers not |
41 |
+ supporting it must implement the function as a no-op. Only available in EAPIs listed in |
42 |
+ table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. |
43 |
\end{description} |
44 |
|
45 |
\begin{algorithm} |
46 |
@@ -189,13 +195,14 @@ Ebuilds must not run any of these commands once the current phase function has r |
47 |
\ChangeWhenAddingAnEAPI{6} |
48 |
\begin{centertable}{Patch commands for EAPIs} |
49 |
\label{tab:patch-commands} |
50 |
- \begin{tabular}{ l l } |
51 |
+ \begin{tabular}{ l l l } |
52 |
\toprule |
53 |
\multicolumn{1}{c}{\textbf{EAPI}} & |
54 |
- \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\ |
55 |
+ \multicolumn{1}{c}{\textbf{\t{eapply}?}} & |
56 |
+ \multicolumn{1}{c}{\textbf{\t{eapply\_user}?}} \\ |
57 |
\midrule |
58 |
- 0, 1, 2, 3, 4, 5 & No \\ |
59 |
- 6 & Yes \\ |
60 |
+ 0, 1, 2, 3, 4, 5 & No & No \\ |
61 |
+ 6 & Yes & Yes \\ |
62 |
\bottomrule |
63 |
\end{tabular} |
64 |
\end{centertable} |
65 |
-- |
66 |
2.6.1 |