Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-6 commit in: /
Date: Sun, 30 Aug 2015 19:03:47
Message-Id: 1440961053.c82042d29a03defbb639050e5b3d265f74cbbee6.ulm@gentoo
1 commit: c82042d29a03defbb639050e5b3d265f74cbbee6
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 23 18:38:37 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 18:57:33 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c82042d2
7
8 EAPI 6 has eapply_user.
9
10 See bug 475288.
11
12 eapi-differences.tex | 4 ++++
13 pkg-mgr-commands.tex | 15 +++++++++++----
14 2 files changed, 15 insertions(+), 4 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 7502c1e..be8563c 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -175,6 +175,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
21 \t{eapply} & \compactfeatureref{eapply} &
22 No & No & No & No & Yes \\
23
24 +\t{eapply\_user} & \compactfeatureref{eapply-user} &
25 + No & No & No & No & Yes \\
26 +
27 \t{econf} arguments & \compactfeatureref{econf-options} &
28 & & disable dependency tracking &
29 disable dependency tracking, disable silent rules &
30 @@ -328,6 +331,7 @@ EAPI 6 is EAPI 5 with the following changes:
31 \item \t{einstall} banned, \featureref{banned-commands}.
32 \item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}.
33 \item \t{eapply} support, \featureref{eapply}.
34 +\item \t{eapply\_user} support, \featureref{eapply-user}.
35 \end{compactitem}
36
37 \ChangeWhenAddingAnEAPI{6}
38
39 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
40 index ced5704..048be14 100644
41 --- a/pkg-mgr-commands.tex
42 +++ b/pkg-mgr-commands.tex
43 @@ -150,6 +150,12 @@ Ebuilds must not run any of these commands once the current phase function has r
44 \begin{description}
45 \item[eapply] \featurelabel{eapply}
46 Only available in EAPIs listed in table~\ref{tab:patch-commands} as supporting \t{eapply}.
47 +
48 +\item[eapply\_user] \featurelabel{eapply-user} Takes no arguments. Package managers supporting it
49 + apply user-provided patches to the source tree in the current working directory. Exact behaviour
50 + is implementation defined and beyond the scope of this specification. Package managers not
51 + supporting it must implement the function as a no-op. Only available in EAPIs listed in
52 + table~\ref{tab:patch-commands} as supporting \t{eapply\_user}.
53 \end{description}
54
55 \begin{algorithm}
56 @@ -162,13 +168,14 @@ Ebuilds must not run any of these commands once the current phase function has r
57 \ChangeWhenAddingAnEAPI{6}
58 \begin{centertable}{Patch commands for EAPIs}
59 \label{tab:patch-commands}
60 - \begin{tabular}{ l l }
61 + \begin{tabular}{ l l l }
62 \toprule
63 \multicolumn{1}{c}{\textbf{EAPI}} &
64 - \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\
65 + \multicolumn{1}{c}{\textbf{\t{eapply}?}} &
66 + \multicolumn{1}{c}{\textbf{\t{eapply\_user}?}} \\
67 \midrule
68 - 0, 1, 2, 3, 4, 5 & No \\
69 - 6 & Yes \\
70 + 0, 1, 2, 3, 4, 5 & No & No \\
71 + 6 & Yes & Yes \\
72 \bottomrule
73 \end{tabular}
74 \end{centertable}