diff options
author | Ciaran McCreesh <ciaran.mccreesh@googlemail.com> | 2012-05-06 18:34:51 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-09-13 08:28:16 +0200 |
commit | 293018c0bc17aff55d231e897a8967aacdef212b (patch) | |
tree | 730d861257df39204802d42e55a751480cc0a466 | |
parent | EAPI 5 supports ?? ( ) groups (diff) | |
download | pms-293018c0bc17aff55d231e897a8967aacdef212b.tar.gz pms-293018c0bc17aff55d231e897a8967aacdef212b.tar.bz2 pms-293018c0bc17aff55d231e897a8967aacdef212b.zip |
EAPI 5 has EBUILD_PHASE_FUNC
See bug 390765
-rw-r--r-- | eapi-differences.tex | 4 | ||||
-rw-r--r-- | ebuild-env-vars.tex | 27 |
2 files changed, 23 insertions, 8 deletions
diff --git a/eapi-differences.tex b/eapi-differences.tex index 3e4bf27..0a555de 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -109,6 +109,9 @@ Use dependencies & \compactfeatureref{use-deps} & \t{KV} & \compactfeatureref{kv} & Yes & Yes & Yes & Yes & No & No \\ +\t{EBUILD\_PHASE\_FUNC} & \compactfeatureref{ebuild-phase-func} & + No & No & No & No & No & Yes \\ + \t{MERGE\_TYPE} & \compactfeatureref{merge-type} & No & No & No & No & Yes & Yes \\ @@ -253,6 +256,7 @@ EAPI 5 is EAPI 4 with the following changes: \begin{compactitem} \item \t{REQUIRED\_USE} now supports \t{??} groups, \featureref{at-most-one-of}. \item Slot operator dependencies, \featureref{slot-operator-deps}. +\item \t{EBUILD\_PHASE\_FUNC}, \featureref{ebuild-phase-func}. \item \t{USE} is calculated differently, \featureref{profile-iuse-injection}. \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}. \end{compactitem} diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index db636c9..428cb3a 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -168,6 +168,16 @@ variable. \t{postrm}, \t{info}, \t{pretend} according to the top level ebuild function that was executed by the package manager. May be unset or any single word that is not any of the above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. \\ +\t{EBUILD\_PHASE\_FUNC} & + All & + No & + \featurelabel{ebuild-phase-func} Takes one of the values \t{pkg\_config}, \t{pkg\_setup}, + \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, + \t{src\_test}, \t{src\_install}, \t{pkg\_preinst}, \t{pkg\_postinst}, \t{pkg\_prerm}, + \t{pkg\_postrm}, \t{pkg\_info}, \t{pkg\_pretend} according to the top level ebuild function that + was executed by the package manager. May be unset or any single word that is not any of the + above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. Only for + EAPIs listed in table~\ref{tab:env-vars-table} as supporting \t{EBUILD\_PHASE\_FUNC}. \\ \t{WORKDIR} & \t{src\_*}, global~scope & Yes & @@ -212,21 +222,22 @@ variable. \ChangeWhenAddingAnEAPI{5} \begin{centertable}{EAPIs supporting various env variables} \label{tab:env-vars-table} - \begin{tabular}{ l l l l l l } + \begin{tabular}{ l l l l l l l } \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{\t{AA}?}} & \multicolumn{1}{c}{\textbf{\t{KV}?}} & \multicolumn{1}{c}{\textbf{\t{MERGE\_TYPE}?}} & \multicolumn{1}{c}{\textbf{\t{REPLACING\_VERSIONS}?}} & - \multicolumn{1}{c}{\textbf{\t{REPLACED\_BY\_VERSION}?}} \\ + \multicolumn{1}{c}{\textbf{\t{REPLACED\_BY\_VERSION}?}} & + \multicolumn{1}{c}{\textbf{\t{EBUILD\_PHASE\_FUNC}?}} \\ \midrule - \t{0} & Yes & Yes & No & No & No \\ - \t{1} & Yes & Yes & No & No & No \\ - \t{2} & Yes & Yes & No & No & No \\ - \t{3} & Yes & Yes & No & No & No \\ - \t{4} & No & No & Yes & Yes & Yes \\ - \t{5} & No & No & Yes & Yes & Yes \\ + \t{0} & Yes & Yes & No & No & No & No \\ + \t{1} & Yes & Yes & No & No & No & No \\ + \t{2} & Yes & Yes & No & No & No & No \\ + \t{3} & Yes & Yes & No & No & No & No \\ + \t{4} & No & No & Yes & Yes & Yes & No \\ + \t{5} & No & No & Yes & Yes & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable} |