1 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
2 |
--- |
3 |
eapi-cheatsheet.tex | 62 ++++++++++++++++++++++++++++++++++++++++++++- |
4 |
1 file changed, 61 insertions(+), 1 deletion(-) |
5 |
|
6 |
diff --git a/eapi-cheatsheet.tex b/eapi-cheatsheet.tex |
7 |
index 82602f2..451ab85 100644 |
8 |
--- a/eapi-cheatsheet.tex |
9 |
+++ b/eapi-cheatsheet.tex |
10 |
@@ -15,7 +15,7 @@ |
11 |
\usepackage[local]{gitinfo2} |
12 |
\newcommand{\code}[1]{\texttt{#1}} |
13 |
% This should reflect the latest approved EAPI version |
14 |
-\newcommand{\version}{7.0} |
15 |
+\newcommand{\version}{8.0} |
16 |
\newcommand{\featureref}[1]{\textsc{#1} on page~\pageref{feat:#1}} |
17 |
\renewcommand{\familydefault}{\sfdefault} |
18 |
\urlstyle{sf} |
19 |
@@ -517,6 +517,66 @@ differences between these previous EAPIs. |
20 |
used as replacement. |
21 |
See \featureref{banned-commands}. |
22 |
\end{description} |
23 |
+ |
24 |
+\section{EAPI 8} |
25 |
+\label{sec:cs:eapi8} |
26 |
+\subsection{Additions/Changes} |
27 |
+\label{sec:cs:eapi8-additions} |
28 |
+\begin{description} |
29 |
+ \item[\code{profiles/updates} directory] Arbitrary filenames |
30 |
+ are now allowed, instead of strict naming by quarters |
31 |
+ (like \code{2Q-2021}). See \featureref{updates-filenames}. |
32 |
+ \item[Bash version] Ebuilds can use features of Bash version 5.0 |
33 |
+ (was 4.2 before). See \featureref{bash-version}. |
34 |
+ \item[Selective fetch/mirror restriction] In \code{SRC_URI}, |
35 |
+ adding a \code{fetch+} or \code{mirror+} prefix to an individual |
36 |
+ URI means that the file may be fetched or mirrored. This overrides |
37 |
+ the corresponding global settings in the \code{RESTRICT} variable. |
38 |
+ See \featureref{uri-restrict}. |
39 |
+ \item[\code{IDEPEND}] This variable specifies install-time |
40 |
+ dependencies on packages used in (e.\,g.) \code{pkg_postinst}. |
41 |
+ In a cross-compilation environment, these are dependencies for |
42 |
+ native tools (\code{CBUILD}). See \featureref{idepend}. |
43 |
+ \item[\code{pkg_*} phases] The initial working directory is |
44 |
+ guaranteed to be empty. See \featureref{phase-function-dir}. |
45 |
+ \item[\code{src_prepare}] Items in the \code{PATCHES} variable are |
46 |
+ interpreted as files, even if their name begins with a hyphen. |
47 |
+ See \featureref{src-prepare}. |
48 |
+ \item[\code{PROPERTIES} and \code{RESTRICT}] These variables are |
49 |
+ accumulated across the ebuild and inherited eclasses, like |
50 |
+ \code{IUSE}, \code{REQUIRED\_USE}, and \code{*DEPEND} were before. |
51 |
+ See \featureref{accumulate-vars}. |
52 |
+ \item[\code{econf}] If supported, options |
53 |
+ \code{-{}-disable-static} and |
54 |
+ \code{-{}-datarootdir=\$\{EPREFIX\}/usr/share} are passed |
55 |
+ to configure, respectively. See \featureref{econf-options}. |
56 |
+ \item[\code{dosym}] With the new option \code{-r}, an absolute |
57 |
+ path specified for the link target will be converted to a path |
58 |
+ relative to the link location. See \featureref{dosym-relative}. |
59 |
+ \item[\code{insopts}] Commands \code{doconfd}, \code{doenvd}, |
60 |
+ \code{doheader} install files with fixed mode 0644, i.\,e., |
61 |
+ they are no longer affected by \code{insopts}. |
62 |
+ See \featureref{insopts}. |
63 |
+ \item[\code{exeopts}] Command \code{doinitd} installs files |
64 |
+ with fixed mode 0755, i.\,e., it is no longer affected by |
65 |
+ \code{exeopts}. See \featureref{exeopts}. |
66 |
+ \item[\code{usev}] This helper has an optional second argument |
67 |
+ now: \code{usev} \emph{<flag> [true]}. If the flag is set, |
68 |
+ outputs \emph{[true]}, or the flag's name if called with only one |
69 |
+ argument. Otherwise outputs nothing. See \featureref{usev}. |
70 |
+\end{description} |
71 |
+\subsection{Removals/Bans} |
72 |
+\label{sec:cs:eapi8-removalsbans} |
73 |
+\begin{description} |
74 |
+ \item[\code{useq}] No longer allowed. Use regular \code{use} as |
75 |
+ a drop-in replacement. See \featureref{banned-commands}. |
76 |
+ \item[\code{hasv} and \code{hasq}] No longer allowed. Regular |
77 |
+ \code{has} should be used instead. |
78 |
+ See \featureref{banned-commands}. |
79 |
+ \item[\code{unpack}] No longer supports unpacking of 7-Zip, RAR, |
80 |
+ and LHA archives. See \featureref{unpack-extensions}. |
81 |
+\end{description} |
82 |
+ |
83 |
\end{document} |
84 |
|
85 |
% vim: set filetype=tex fileencoding=utf8 et tw=70 spell spelllang=en : |
86 |
-- |
87 |
2.31.1 |