1 |
commit: cad46e884d84bacbd7763ea7cec69b59f5031acb |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 00:37:00 2015 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 07:56:36 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=cad46e88 |
7 |
|
8 |
EAPI 6: Specify return status for eapply_user. |
9 |
|
10 |
pkg-mgr-commands.tex | 10 ++++++---- |
11 |
1 file changed, 6 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
14 |
index 51f6ebf..b9d53bd 100644 |
15 |
--- a/pkg-mgr-commands.tex |
16 |
+++ b/pkg-mgr-commands.tex |
17 |
@@ -157,10 +157,12 @@ Ebuilds must not run any of these commands once the current phase function has r |
18 |
\item[eapply\_user] \featurelabel{eapply-user} Takes no arguments. Package managers supporting it |
19 |
apply user-provided patches to the source tree in the current working directory. Exact behaviour |
20 |
is implementation defined and beyond the scope of this specification. Package managers not |
21 |
- supporting it must implement the command as a no-op. Only available in EAPIs listed in |
22 |
- table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. In EAPIs where it is supported, |
23 |
- \t{eapply\_user} must be called once in the \t{src\_prepare} phase; for any subsequent calls |
24 |
- the command will do nothing. |
25 |
+ supporting it must implement the command as a no-op. Returns shell true (0) if patches applied |
26 |
+ successfully, or if no patches were provided. Otherwise, aborts the build process, unless run |
27 |
+ using \t{nonfatal}, in which case it returns non-zero exit status. Only available in EAPIs |
28 |
+ listed in table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. In EAPIs where it is |
29 |
+ supported, \t{eapply\_user} must be called once in the \t{src\_prepare} phase; for any |
30 |
+ subsequent calls, the command will do nothing and return~0. |
31 |
\end{description} |
32 |
|
33 |
\begin{algorithm} |