summaryrefslogtreecommitdiff
blob: 4eb41f49636455f942c4b90cd2b8966d45c85a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
\chapter{Feature Availability by EAPI}

\note This chapter is informative and for convenience only. Refer to the main text for specifics.

\begin{landscape}
\begin{longtable}{lllllll}
\caption{Features in EAPIs}\\
\toprule
\multicolumn{1}{c}{\b{Feature}} &
\multicolumn{1}{c}{\b{Reference}} &
\multicolumn{4}{c}{\b{EAPIs}} \\
\multicolumn{1}{c}{} &
\multicolumn{1}{c}{} &
\multicolumn{1}{c}{0} &
\multicolumn{1}{c}{1} &
\multicolumn{1}{c}{2} &
\multicolumn{1}{c}{3} &
\multicolumn{1}{c}{4} \\
\midrule
\endfirsthead
\midrule
\multicolumn{1}{c}{\b{Feature}} &
\multicolumn{1}{c}{\b{Reference}} &
\multicolumn{4}{c}{\b{EAPIs}} \\
\multicolumn{1}{c}{} &
\multicolumn{1}{c}{} &
\multicolumn{1}{c}{0} &
\multicolumn{1}{c}{1} &
\multicolumn{1}{c}{2} &
\multicolumn{1}{c}{3} &
\multicolumn{1}{c}{4} \\
\midrule
\endhead
\midrule
\endfoot
\bottomrule
\endlastfoot

\t{IUSE} defaults & \compactfeatureref{iuse-defaults} &
    No & Yes & Yes & Yes & Yes \\

\t{REQUIRED\_USE} & \compactfeatureref{required-use} &
    No & No & No & No & Yes \\

\t{PROPERTIES} & \compactfeatureref{properties} &
    Optionally & Optionally & Optionally & Optionally & Yes \\

\t{RDEPEND=DEPEND} & \compactfeatureref{rdepend-depend} &
    Yes & Yes & Yes & Yes & No \\

\t{DEFINED\_PHASES} & \compactfeatureref{defined-phases} &
    Optionally & Optionally & Optionally & Optionally & Yes \\

\t{SRC\_URI} arrows & \compactfeatureref{src-uri-arrows} &
    No & No & Yes & Yes & Yes \\

Slot dependencies & \compactfeatureref{slot-deps} &
    No & Yes & Yes & Yes & Yes \\

Use dependencies & \compactfeatureref{use-deps} &
    No & No & 2-style & 2-style & 4-style \\

\t{!} blockers & \compactfeatureref{bang-strength} &
    Unspecified & Unspecified & Weak & Weak & Weak \\

\t{!!} blockers & \compactfeatureref{bang-strength} &
    Forbidden & Forbidden & Strong & Strong & Strong \\

\t{S} to \t{WORKDIR} fallback & \compactfeatureref{s-workdir-fallback} &
    Always & Always & Always & Always & Conditional \\

\t{pkg\_pretend} & \compactfeatureref{pkg-pretend} &
    No & No & No & No & Yes \\

\t{src\_prepare} & \compactfeatureref{src-prepare} &
    No & No & Yes & Yes & Yes \\

\t{src\_configure} & \compactfeatureref{src-configure} &
    No & No & Yes & Yes & Yes \\

\t{src\_compile} style & \compactfeatureref{src-compile} &
    0 & 1 & 2 & 2 & 2 \\

\t{src\_install} style & \compactfeatureref{src-install} &
    no-op & no-op & no-op & no-op & 4 \\

\t{pkg\_info} & \compactfeatureref{pkg-info} &
    Installed & Installed & Installed & Installed & Both \\

\t{default\_} phase functions & \compactfeatureref{default-phase-funcs} &
    None & None &
    \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} &
    \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} &
    \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure},
        \t{src\_compile}, \t{src\_install}, \t{src\_test}} \\

\t{AA} & \compactfeatureref{aa} &
    Yes & Yes & Yes & Yes & No \\

\t{KV} & \compactfeatureref{kv} &
    Yes & Yes & Yes & Yes & No \\

\t{MERGE\_TYPE} & \compactfeatureref{merge-type} &
    No & No & No & No & Yes \\

\t{REPLACING\_VERSIONS} & \compactfeatureref{replace-version-vars} &
    No & No & No & No & Yes \\

\t{REPLACED\_BY\_VERSION} & \compactfeatureref{replace-version-vars} &
    No & No & No & No & Yes \\

\t{EPREFIX}, \t{ED}, \t{EROOT} & \compactfeatureref{offset-prefix-vars} &
    No & No & No & Yes & Yes \\

Most utilities die & \compactfeatureref{die-on-failure} &
    No & No & No & No & Yes \\

\t{nonfatal} & \compactfeatureref{nonfatal} &
    No & No & No & No & Yes \\

\t{dohard} & \compactfeatureref{banned-commands} &
    Yes & Yes & Yes & Yes & Banned \\

\t{dosed} & \compactfeatureref{banned-commands} &
    Yes & Yes & Yes & Yes & Banned \\

\t{econf} arguments & \compactfeatureref{econf-options} &
    &  &  &  & \parbox[t]{1in}{disable dependency tracking} \\

\t{dodoc -r} & \compactfeatureref{dodoc} &
    No & No & No & No & Yes \\

\t{doins} handles symlinks & \compactfeatureref{doins} &
    No & No & No & No & Yes \\

\t{doman} languages & \compactfeatureref{doman-langs} &
    No & No & Yes & Yes & Yes \\

\t{doman -i18n} precedence & \compactfeatureref{doman-langs} &
    N/A & N/A & No & No & Yes \\

Controllable compression & \compactfeatureref{controllable-compress} &
    No & No & No & No & Yes \\

\t{docompress} & \compactfeatureref{controllable-compress} &
    No & No & No & No & Yes \\

\t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} &
    No & No & No & Yes & Yes \\

\t{default} function & \compactfeatureref{default-func} &
    No & No & Yes & Yes & Yes \\

File mtimes preserved & \compactfeatureref{mtime-preserve} &
    Undefined & Undefined & Undefined & Yes & Yes \\

\end{longtable}
\end{landscape}

\chapter{Differences Between EAPIs}

\note This chapter is informative and for convenience only. Refer to the main text for specifics.

\section*{EAPI 0}

EAPI 0 is the base EAPI.

\section*{EAPI 1}

EAPI 1 is EAPI 0 with the following changes:

\begin{compactitem}
\item \t{IUSE} defaults, \featureref{iuse-defaults}.
\item Slot dependencies, \featureref{slot-deps}.
\item Different \t{src\_compile} implementation, \featureref{src-compile-1}.
\end{compactitem}

\section*{EAPI 2}

EAPI 2 is EAPI 1 with the following changes:

\begin{compactitem}
\item Use dependencies, \featureref{use-deps}.
\item \t{!} and \t{!!} blockers, \featureref{bang-strength}.
\item \t{SRC\_URI} arrows, \featureref{src-uri-arrows}.
\item \t{src\_prepare}, \featureref{src-prepare}.
\item \t{src\_configure}, \featureref{src-configure}.
\item Different \t{src\_compile} implementation, \featureref{src-compile-2}.
\item \t{default\_} phase functions for phases \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare},
    \t{src\_configure}, \t{src\_compile} and \t{src\_test}; \featureref{default-phase-funcs}.
\item \t{doman} language detection by filename, \featureref{doman-langs}.
\item \t{default} function, \featureref{default-func}.
\end{compactitem}

\section*{EAPI 3}

EAPI 3 is EAPI 2 with the following changes:
\begin{compactitem}
\item Offset-prefix support by definition of \t{EPREFIX}, \t{ED} and \t{EROOT},
    \featureref{offset-prefix-vars}.
\item \t{unpack} supports \t{.xz} and \t{.tar.xz}, \featureref{unpack-extensions}.
\item File modification times are preserved, \featureref{mtime-preserve}.
\end{compactitem}

\section*{EAPI 4}

EAPI 4 is EAPI 3 with the following changes:

\begin{compactitem}
\item \t{PROPERTIES} support is mandatory, \featureref{properties}.
\item \t{REQUIRED\_USE}, \featureref{required-use}.
\item \t{RDEPEND=DEPEND} no longer done, \featureref{rdepend-depend}.
\item \t{DEFINED\_PHASES} support is mandatory, \featureref{defined-phases}.
\item Use dependency defaults, \featureref{use-dep-defaults}.
\item \t{S} to \t{WORKDIR} fallback restricted, \featureref{s-workdir-fallback}.
\item \t{pkg\_pretend}, \featureref{pkg-pretend}.
\item Default \t{src\_install} no longer a no-op, \featureref{src-install-4}.
\item \t{pkg\_info} can run on non-installed packages, \featureref{pkg-info}.
\item \t{AA} is gone, \featureref{aa}.
\item \t{KV} is gone, \featureref{kv}.
\item \t{MERGE\_TYPE}, \featureref{merge-type}.
\item \t{REPLACING\_VERSIONS} and \t{REPLACED\_BY\_VERSION}, \featureref{replace-version-vars}.
\item Utilities now die on failure, \featureref{die-on-failure}, unless called under \t{nonfatal},
    \featureref{nonfatal}
\item \t{dohard}, \t{dosed} banned, \featureref{banned-commands}.
\item \t{econf} adds \t{-{}-disable-dependency-tracking}, \featureref{econf-options}.
\item \t{dodoc -r} support, \featureref{dodoc}.
\item \t{doins} supports symlinks, \featureref{doins}.
\item \t{doman -i18n} option takes precedence, \featureref{doman-langs}.
\item Controllable compression and \t{docompress}, \featureref{controllable-compress}.
\end{compactitem}

% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pms"
%%% LaTeX-indent-level: 4
%%% LaTeX-item-indent: 0
%%% TeX-brace-indent-level: 4
%%% End: