commit: 5e9afb6d818201028acbe922c6d86e9bf27dd860 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sat Jan 14 09:28:01 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jan 18 21:12:28 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=5e9afb6d
Distinguish between "phase" and "phase function" Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-functions.tex | 6 +++--- eclasses.tex | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ebuild-functions.tex b/ebuild-functions.tex index 7d372fa..25164d4 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -477,9 +477,9 @@ source files from their respective locations, with notes concerning licensing if \featurelabel{default-phase-funcs} In EAPIs listed in table~\ref{tab:default-phase-function-table} as supporting \t{default_} phase functions, a function -named \t{default_}(phase) that behaves as the default implementation for that EAPI shall be defined -when executing any ebuild phase listed in the table. Ebuilds must not call these functions except -when in the phase in question. +named \t{default_<phase-function>}) that behaves as the default implementation for that EAPI shall +be defined when executing any ebuild phase function listed in the table. Ebuilds must not call +these functions except when in the phase in question. \ChangeWhenAddingAnEAPI{8} \begin{centertable}{EAPIs supporting \t{default_} phase functions} diff --git a/eclasses.tex b/eclasses.tex index 0b9b5d4..a4400e1 100644 --- a/eclasses.tex +++ b/eclasses.tex @@ -87,7 +87,7 @@ should the author wish to override it he can access the function in \t{foo.eclas \t{foo_src_compile}. \t{EXPORT_FUNCTIONS} must only be used on ebuild phase functions. The function that is aliased -must be named \t{eclassname_phasefunctionname}, where \t{eclassname} is the name of the eclass. +must be named \t{<eclass>_<phase-function>}, where \t{<eclass>} is the name of the eclass. If \t{EXPORT_FUNCTIONS} is called multiple times for the same phase function, the last call takes precedence. Eclasses may not rely upon any particular behaviour if they inherit another eclass