1 |
See Council meeting on 20081211. |
2 |
--- |
3 |
ebuild-vars.tex | 14 ++++++++++++++ |
4 |
tree-layout.tex | 1 + |
5 |
2 files changed, 15 insertions(+), 0 deletions(-) |
6 |
|
7 |
diff --git a/ebuild-vars.tex b/ebuild-vars.tex |
8 |
index e4fd6d1..6704898 100644 |
9 |
--- a/ebuild-vars.tex |
10 |
+++ b/ebuild-vars.tex |
11 |
@@ -209,6 +209,20 @@ of the ebuild's metadata: |
12 |
\note Thus, by extension of section~\ref{metadata-invariance}, \t{inherit} may not be used |
13 |
conditionally, except upon constant conditions. |
14 |
|
15 |
+The following are special variables defined by the package manager for internal use and may or may |
16 |
+not be exported to the ebuild environment: |
17 |
+ |
18 |
+\begin{description} |
19 |
+\item[DEFINED\_PHASES] A space separated arbitrarily ordered list of phase names (e.g. \t{configure |
20 |
+setup unpack}) whose phase functions are defined by the ebuild or an eclass inherited by the ebuild. |
21 |
+If no phase functions are defined, a single hyphen is used instead of an empty string. Package |
22 |
+managers may not rely upon the metadata cache having this variable defined, and must treat an empty |
23 |
+string as ``this information is not available``. |
24 |
+\end{description} |
25 |
+ |
26 |
+\note Thus, by extension of section~\ref{metadata-invariance}, phase functions must not be defined |
27 |
+based upon any variant condition. |
28 |
+ |
29 |
% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en : |
30 |
|
31 |
%%% Local Variables: |
32 |
diff --git a/tree-layout.tex b/tree-layout.tex |
33 |
index 3166a03..5c01443 100644 |
34 |
--- a/tree-layout.tex |
35 |
+++ b/tree-layout.tex |
36 |
@@ -263,6 +263,7 @@ order. Other lines may be present following these; their meanings are not define |
37 |
\item Old-style virtuals provided by this package (\t{PROVIDE}) |
38 |
\item The ebuild API version to which this package conforms (\t{EAPI}) |
39 |
\item Properties (\t{PROPERTIES}). May optionally be blank, regardless of ebuild metadata. |
40 |
+\item Defined phases (\t{DEFINED\_PHASES}). May optionally be blank, regardless of ebuild metadata. |
41 |
\item Blank lines to pad the file to 22 lines long |
42 |
\end{compactenum} |
43 |
|
44 |
-- |
45 |
1.6.0.4 |