Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 347353 | Differences between
and this patch

Collapse All | Expand All

(-)a/dependencies.tex (-1 / +2 lines)
Lines 281-287 flags to be valid for this ebuild. In order to be matched, a \t{USE} flag in a t Link Here
281
must be enabled (or disabled if it has an exclamation mark prefix).
281
must be enabled (or disabled if it has an exclamation mark prefix).
282
282
283
If the package manager encounters a package version where \t{REQUIRED\_USE} assertions are not met,
283
If the package manager encounters a package version where \t{REQUIRED\_USE} assertions are not met,
284
it must treat this package version as if it was masked. No phase functions must be called.
284
it must treat this package version as if it was masked. \t{pkg\_required\_use} is run in this case.
285
No other phase functions must be called.
285
286
286
It is an error for a flag to be used if it is not included in \t{IUSE\_EFFECTIVE}.
287
It is an error for a flag to be used if it is not included in \t{IUSE\_EFFECTIVE}.
287
288
(-)a/ebuild-env-vars.tex (-3 / +3 lines)
Lines 166-174 variable. Link Here
166
    No &
166
    No &
167
    Takes one of the values \t{config}, \t{setup}, \t{nofetch}, \t{unpack}, \t{prepare},
167
    Takes one of the values \t{config}, \t{setup}, \t{nofetch}, \t{unpack}, \t{prepare},
168
    \t{configure}, \t{compile}, \t{test}, \t{install}, \t{preinst}, \t{postinst}, \t{prerm},
168
    \t{configure}, \t{compile}, \t{test}, \t{install}, \t{preinst}, \t{postinst}, \t{prerm},
169
    \t{postrm}, \t{info}, \t{pretend} according to the top level ebuild function that was executed
169
    \t{postrm}, \t{info}, \t{pretend}, \t{required\_use} according to the top level ebuild function
170
    by the package manager. May be unset or any single word that is not any of the above when the
170
    that was executed by the package manager. May be unset or any single word that is not any of
171
    ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. \\
171
    the above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes. \\
172
\t{WORKDIR} &
172
\t{WORKDIR} &
173
    \t{src\_*} &
173
    \t{src\_*} &
174
    Yes &
174
    Yes &
(-)a/ebuild-functions.tex (-1 / +11 lines)
Lines 395-400 source files from their respective locations, with notes concerning licensing if Link Here
395
395
396
\t{pkg\_nofetch} must require no write access to any part of the filesystem.
396
\t{pkg\_nofetch} must require no write access to any part of the filesystem.
397
397
398
\subsection{pkg\_required\_use}
399
\label{sec:pkg-required-use-function}
400
401
\featurelabel{pkg-required-use} For EAPIs listed in table~\ref{tab:optional-vars-table} as
402
supporting \t{REQUIRED\_USE}, the \t{pkg\_required\_use} function may be called when at least one
403
assertion of the \t{REQUIRED\_USE} variable is not met. The function should output an appropriate
404
explanation why these assertions failed. It may also suggest \t{USE} flags to be adjusted by the
405
user.
406
407
\t{pkg\_required\_use} must not write to the filesystem.
408
398
\subsection{\t{default\_} Phase Functions}
409
\subsection{\t{default\_} Phase Functions}
399
\label{sec:default-phase-funcs}
410
\label{sec:default-phase-funcs}
400
411
401
- 

Return to bug 347353