1 |
commit: 4ff018d6b84566535ae4c218fb02397a7a0ccf2b |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 5 16:54:30 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 5 16:54:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=4ff018d6 |
7 |
|
8 |
Cheat sheet: Remove EAPIs 3 and 4 to make room for EAPI 7. |
9 |
|
10 |
eapi-cheatsheet.tex | 202 ++++++++++++++++++++++++++-------------------------- |
11 |
1 file changed, 101 insertions(+), 101 deletions(-) |
12 |
|
13 |
diff --git a/eapi-cheatsheet.tex b/eapi-cheatsheet.tex |
14 |
index 14ca8ca..cce3218 100644 |
15 |
--- a/eapi-cheatsheet.tex |
16 |
+++ b/eapi-cheatsheet.tex |
17 |
@@ -76,7 +76,7 @@ |
18 |
\footnote{\url{http://creativecommons.org/licenses/by-sa/3.0/}} |
19 |
\end{abstract} |
20 |
|
21 |
-\section{EAPIs 0, 1, and 2} |
22 |
+\section{EAPIs 0, 1, 2, 3, and 4} |
23 |
\label{sec:cs:eapi0-2} |
24 |
Omitted for lack of space. See version~5.0 of this document for |
25 |
differences between these previous EAPIs. |
26 |
@@ -154,107 +154,107 @@ differences between these previous EAPIs. |
27 |
% \code{-i18n} switch with EAPI 4. See \featureref{doman-langs}. |
28 |
% \end{description} |
29 |
|
30 |
-\section{EAPI 3 (2010-01-18)} |
31 |
-\label{sec:cs:eapi3} |
32 |
-\subsection{Additions/Changes} |
33 |
-\label{sec:cs:eapi3-additions} |
34 |
-\begin{description} |
35 |
- \item[Support for \code{.xz}] Unpack of \code{.xz} and |
36 |
- \code{.tar.xz} files is possible without any custom |
37 |
- \code{src_unpack} functions. See \featureref{unpack-extensions}. |
38 |
- \item[Offset prefix] Supporting installation on Prefix-enabled |
39 |
- systems will be easier with this EAPI. |
40 |
-\end{description} |
41 |
+% \section{EAPI 3 (2010-01-18)} |
42 |
+% \label{sec:cs:eapi3} |
43 |
+% \subsection{Additions/Changes} |
44 |
+% \label{sec:cs:eapi3-additions} |
45 |
+% \begin{description} |
46 |
+% \item[Support for \code{.xz}] Unpack of \code{.xz} and |
47 |
+% \code{.tar.xz} files is possible without any custom |
48 |
+% \code{src_unpack} functions. See \featureref{unpack-extensions}. |
49 |
+% \item[Offset prefix] Supporting installation on Prefix-enabled |
50 |
+% systems will be easier with this EAPI. |
51 |
+% \end{description} |
52 |
|
53 |
-\section{EAPI 4 (2011-01-17)} |
54 |
-\label{sec:cs:eapi4} |
55 |
-\subsection{Additions/Changes} |
56 |
-\label{sec:cs:eapi4-additions} |
57 |
-\begin{description} |
58 |
- \item[\code{pkg_pretend}] Some useful checks (kernel options for |
59 |
- example) can be placed in this new phase to inform the user early |
60 |
- (when just pretending to emerge the package). Most checks should |
61 |
- usually be repeated in \code{pkg_setup}. |
62 |
- See \featureref{pkg-pretend}. |
63 |
- \item[\code{src_install}] The \code{src_install} phase is no |
64 |
- longer empty but has a default now. This comes along with an |
65 |
- accompanying \code{default} function. |
66 |
- See \featureref{src-install-4}. |
67 |
- \item[\code{pkg_info} on non-installed packages] The |
68 |
- \code{pkg_info} phase can be called even for non-installed |
69 |
- packages. Be warned that dependencies might not have been |
70 |
- installed at execution time. See \featureref{pkg-info}. |
71 |
- \item[\code{econf} changes] The helper function now always |
72 |
- activates \code{-{}-disable-dependency-tracking}. |
73 |
- See \featureref{econf-options}. |
74 |
- \item[USE dependency defaults] In addition to the features offered |
75 |
- in EAPI 2 for USE dependencies, a \code{(+)} or \code{(-)} can be |
76 |
- added after a USE flag (mind the parentheses). The former |
77 |
- specifies that flags not in IUSE should be treated as enabled; the |
78 |
- latter, disabled. Cannot be used with USE_EXPAND flags. This |
79 |
- mimics parts of the behaviour of \code{-{}-missing} in |
80 |
- \code{built_with_use}. See \featureref{use-dep-defaults}. |
81 |
- \item[Controllable compression] All items in the \code{doc}, |
82 |
- \code{info}, \code{man} subdirectories of \code{/usr/share/} may |
83 |
- be compressed on-disk after \code{src_install}, except for |
84 |
- \code{/usr/share/doc/\$\{PF\}/html}. \code{docompress path \dots} |
85 |
- adds paths to the inclusion list for compression. |
86 |
- \code{docompress -x path \dots} adds paths to the exclusion list. |
87 |
- See \featureref{docompress}. |
88 |
- \item[\code{nonfatal} for commands] If you call \code{nonfatal} |
89 |
- the command given as argument will not abort the build process in |
90 |
- case of a failure (as is the default) but will return non-zero on |
91 |
- failure. |
92 |
- See \featureref{nonfatal}. |
93 |
- \item[\code{dodoc} recursion] If the \code{-r} switch is given as |
94 |
- first argument and followed by directories, files from there are |
95 |
- installed recursively. See \featureref{dodoc}. |
96 |
- \item[\code{doins} symlink support] Symbolic links are now |
97 |
- properly installed when using recursion (\code{-r} switch). |
98 |
- See \featureref{doins}. |
99 |
- \item[\code{PROPERTIES}] Is mandatory for all package managers now |
100 |
- to support interactive installs. |
101 |
- \item[\code{REQUIRED_USE}] This variable can be used similar to |
102 |
- the \code{(R|P)DEPEND} variables and define sets of USE flag |
103 |
- combinations that are not allowed. All elements can be further |
104 |
- nested to achieve more functionality. |
105 |
- \begin{description} |
106 |
- \item[Illegal combination] To prevent activation of |
107 |
- \code{flag1} if \code{flag2} is enabled use |
108 |
- "\code{flag2?\ ( !flag1 )}". |
109 |
- \item[OR] If at least one USE flag out of many must be |
110 |
- activated on \code{flag1} use |
111 |
- "\code{flag1?\ ( || ( flag2 flag3 \dots\ ) )}". |
112 |
- \item[XOR] To allow exactly one USE flag out of many use |
113 |
- "\code{\textasciicircum\textasciicircum ( flag1 flag2 \dots\ )}". |
114 |
- \end{description} |
115 |
- See \featureref{required-use}. |
116 |
- \item[\code{MERGE_TYPE}] This variable contains one of three |
117 |
- possible values to allow checks if it is normal merge with |
118 |
- compilation and installation (\code{source}), installation of a |
119 |
- binary package (\code{binary}), or a compilation without |
120 |
- installation (\code{buildonly}). See \featureref{merge-type}. |
121 |
- \item[\code{REPLACING_VERSIONS}, \code{REPLACED_BY_VERSION}] |
122 |
- These variables, valid in \code{pkg_*}, contain a list of all |
123 |
- versions (\code{PVR}) of this package that we are replacing, and |
124 |
- the version that is replacing the current one, respectively. |
125 |
- See \featureref{replace-version-vars}. |
126 |
-\end{description} |
127 |
-\subsection{Removals/Bans} |
128 |
-\label{sec:cs:eapi4-removalsbans} |
129 |
-\begin{description} |
130 |
- \item[\code{dohard}, \code{dosed}] Both functions are not allowed |
131 |
- any more. See \featureref{banned-commands}. |
132 |
- \item[No \code{RDEPEND} fall-back] The package manager will not |
133 |
- fall back to \code{RDEPEND=DEPEND} if \code{RDEPEND} is undefined. |
134 |
- See \featureref{rdepend-depend}. |
135 |
- \item[\code{S} fallback changes] The value of the variable |
136 |
- \code{S} will not automatically be changed to \code{WORKDIR}, if |
137 |
- \code{S} is not a directory, but abort. Virtual packages are the |
138 |
- only exception. See \featureref{s-workdir-fallback}. |
139 |
- \item[\code{AA}, \code{KV}] These variables are not defined |
140 |
- any more. See \featureref{aa} and \featureref{kv}. |
141 |
-\end{description} |
142 |
+% \section{EAPI 4 (2011-01-17)} |
143 |
+% \label{sec:cs:eapi4} |
144 |
+% \subsection{Additions/Changes} |
145 |
+% \label{sec:cs:eapi4-additions} |
146 |
+% \begin{description} |
147 |
+% \item[\code{pkg_pretend}] Some useful checks (kernel options for |
148 |
+% example) can be placed in this new phase to inform the user early |
149 |
+% (when just pretending to emerge the package). Most checks should |
150 |
+% usually be repeated in \code{pkg_setup}. |
151 |
+% See \featureref{pkg-pretend}. |
152 |
+% \item[\code{src_install}] The \code{src_install} phase is no |
153 |
+% longer empty but has a default now. This comes along with an |
154 |
+% accompanying \code{default} function. |
155 |
+% See \featureref{src-install-4}. |
156 |
+% \item[\code{pkg_info} on non-installed packages] The |
157 |
+% \code{pkg_info} phase can be called even for non-installed |
158 |
+% packages. Be warned that dependencies might not have been |
159 |
+% installed at execution time. See \featureref{pkg-info}. |
160 |
+% \item[\code{econf} changes] The helper function now always |
161 |
+% activates \code{-{}-disable-dependency-tracking}. |
162 |
+% See \featureref{econf-options}. |
163 |
+% \item[USE dependency defaults] In addition to the features offered |
164 |
+% in EAPI 2 for USE dependencies, a \code{(+)} or \code{(-)} can be |
165 |
+% added after a USE flag (mind the parentheses). The former |
166 |
+% specifies that flags not in IUSE should be treated as enabled; the |
167 |
+% latter, disabled. Cannot be used with USE_EXPAND flags. This |
168 |
+% mimics parts of the behaviour of \code{-{}-missing} in |
169 |
+% \code{built_with_use}. See \featureref{use-dep-defaults}. |
170 |
+% \item[Controllable compression] All items in the \code{doc}, |
171 |
+% \code{info}, \code{man} subdirectories of \code{/usr/share/} may |
172 |
+% be compressed on-disk after \code{src_install}, except for |
173 |
+% \code{/usr/share/doc/\$\{PF\}/html}. \code{docompress path \dots} |
174 |
+% adds paths to the inclusion list for compression. |
175 |
+% \code{docompress -x path \dots} adds paths to the exclusion list. |
176 |
+% See \featureref{docompress}. |
177 |
+% \item[\code{nonfatal} for commands] If you call \code{nonfatal} |
178 |
+% the command given as argument will not abort the build process in |
179 |
+% case of a failure (as is the default) but will return non-zero on |
180 |
+% failure. |
181 |
+% See \featureref{nonfatal}. |
182 |
+% \item[\code{dodoc} recursion] If the \code{-r} switch is given as |
183 |
+% first argument and followed by directories, files from there are |
184 |
+% installed recursively. See \featureref{dodoc}. |
185 |
+% \item[\code{doins} symlink support] Symbolic links are now |
186 |
+% properly installed when using recursion (\code{-r} switch). |
187 |
+% See \featureref{doins}. |
188 |
+% \item[\code{PROPERTIES}] Is mandatory for all package managers now |
189 |
+% to support interactive installs. |
190 |
+% \item[\code{REQUIRED_USE}] This variable can be used similar to |
191 |
+% the \code{(R|P)DEPEND} variables and define sets of USE flag |
192 |
+% combinations that are not allowed. All elements can be further |
193 |
+% nested to achieve more functionality. |
194 |
+% \begin{description} |
195 |
+% \item[Illegal combination] To prevent activation of |
196 |
+% \code{flag1} if \code{flag2} is enabled use |
197 |
+% "\code{flag2?\ ( !flag1 )}". |
198 |
+% \item[OR] If at least one USE flag out of many must be |
199 |
+% activated on \code{flag1} use |
200 |
+% "\code{flag1?\ ( || ( flag2 flag3 \dots\ ) )}". |
201 |
+% \item[XOR] To allow exactly one USE flag out of many use |
202 |
+% "\code{\textasciicircum\textasciicircum ( flag1 flag2 \dots\ )}". |
203 |
+% \end{description} |
204 |
+% See \featureref{required-use}. |
205 |
+% \item[\code{MERGE_TYPE}] This variable contains one of three |
206 |
+% possible values to allow checks if it is normal merge with |
207 |
+% compilation and installation (\code{source}), installation of a |
208 |
+% binary package (\code{binary}), or a compilation without |
209 |
+% installation (\code{buildonly}). See \featureref{merge-type}. |
210 |
+% \item[\code{REPLACING_VERSIONS}, \code{REPLACED_BY_VERSION}] |
211 |
+% These variables, valid in \code{pkg_*}, contain a list of all |
212 |
+% versions (\code{PVR}) of this package that we are replacing, and |
213 |
+% the version that is replacing the current one, respectively. |
214 |
+% See \featureref{replace-version-vars}. |
215 |
+% \end{description} |
216 |
+% \subsection{Removals/Bans} |
217 |
+% \label{sec:cs:eapi4-removalsbans} |
218 |
+% \begin{description} |
219 |
+% \item[\code{dohard}, \code{dosed}] Both functions are not allowed |
220 |
+% any more. See \featureref{banned-commands}. |
221 |
+% \item[No \code{RDEPEND} fall-back] The package manager will not |
222 |
+% fall back to \code{RDEPEND=DEPEND} if \code{RDEPEND} is undefined. |
223 |
+% See \featureref{rdepend-depend}. |
224 |
+% \item[\code{S} fallback changes] The value of the variable |
225 |
+% \code{S} will not automatically be changed to \code{WORKDIR}, if |
226 |
+% \code{S} is not a directory, but abort. Virtual packages are the |
227 |
+% only exception. See \featureref{s-workdir-fallback}. |
228 |
+% \item[\code{AA}, \code{KV}] These variables are not defined |
229 |
+% any more. See \featureref{aa} and \featureref{kv}. |
230 |
+% \end{description} |
231 |
|
232 |
\section{EAPI 5 (2012-09-20)} |
233 |
\label{sec:cs:eapi5} |