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:51
Message-Id: 1440961053.3aaee802cea94fc3a81525df27ee805df7a90dc3.ulm@gentoo
1 commit: 3aaee802cea94fc3a81525df27ee805df7a90dc3
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 23 18:35:39 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=3aaee802
7
8 EAPI 6 has eapply.
9
10 See bug 463768.
11
12 eapi-differences.tex | 4 ++++
13 pkg-mgr-commands.tex | 30 ++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 2a4f840..7502c1e 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -172,6 +172,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
21 \t{die -n} & \compactfeatureref{nonfatal-die} &
22 No & No & No & No & Yes \\
23
24 +\t{eapply} & \compactfeatureref{eapply} &
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 @@ -324,6 +327,7 @@ EAPI 6 is EAPI 5 with the following changes:
31 \item \t{failglob} is enabled in global scope, \featureref{failglob}.
32 \item \t{einstall} banned, \featureref{banned-commands}.
33 \item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}.
34 +\item \t{eapply} support, \featureref{eapply}.
35 \end{compactitem}
36
37 \ChangeWhenAddingAnEAPI{6}
38
39 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
40 index ecaee6e..ced5704 100644
41 --- a/pkg-mgr-commands.tex
42 +++ b/pkg-mgr-commands.tex
43 @@ -143,6 +143,36 @@ completing. Ebuilds must not run any of these commands once the current phase fu
44 \end{tabular}
45 \end{centertable}
46
47 +\subsubsection{Patch commands}
48 +These commands are used during the \t{src\_prepare} phase to apply patches to the package's sources.
49 +Ebuilds must not run any of these commands once the current phase function has returned.
50 +
51 +\begin{description}
52 +\item[eapply] \featurelabel{eapply}
53 + Only available in EAPIs listed in table~\ref{tab:patch-commands} as supporting \t{eapply}.
54 +\end{description}
55 +
56 +\begin{algorithm}
57 +\caption{eapply logic} \label{alg:eapply}
58 +\begin{algorithmic}[1]
59 +\STATE \COMMENT{WORK IN PROGRESS}
60 +\end{algorithmic}
61 +\end{algorithm}
62 +
63 +\ChangeWhenAddingAnEAPI{6}
64 +\begin{centertable}{Patch commands for EAPIs}
65 + \label{tab:patch-commands}
66 + \begin{tabular}{ l l }
67 + \toprule
68 + \multicolumn{1}{c}{\textbf{EAPI}} &
69 + \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\
70 + \midrule
71 + 0, 1, 2, 3, 4, 5 & No \\
72 + 6 & Yes \\
73 + \bottomrule
74 + \end{tabular}
75 +\end{centertable}
76 +
77 \subsubsection{Build commands}
78 These commands are used during the \t{src\_configure}, \t{src\_compile}, and \t{src\_install}
79 phases to run the package's build commands. Ebuilds must not run any of these commands once the