View | Details | Raw Unified | Return to bug 347353 | Differences between
and this patch

Collapse All | Expand All

 Lines 281-287 flags to be valid for this ebuild. In order to be matched, a \t{USE} flag in a t (-)a/dependencies.tex (-1 / +2 lines) 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
 Lines 90-95 Use dependencies & \compactfeatureref{use-deps} & (-)a/eapi-differences.tex (+3 lines) 90 \t{pkg\_info} & \compactfeatureref{pkg-info} & 90 \t{pkg\_info} & \compactfeatureref{pkg-info} & 91  Installed & Installed & Installed & Installed & Both \\ 91  Installed & Installed & Installed & Installed & Both \\ 92 92 93 \t{pkg\_required\_use} & \compactfeatureref{pkg-required-use} & 94  No & No & No & No & Yes \\ 95 93 \t{default\_} phase functions & \compactfeatureref{default-phase-funcs} & 96 \t{default\_} phase functions & \compactfeatureref{default-phase-funcs} & 94  None & None & 97  None & None & 95  \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} & 98  \parbox[t]{1in}{\t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configure}, \t{src\_compile}, \t{src\_test}} &
 Lines 166-174 variable. (-)a/ebuild-env-vars.tex (-3 / +3 lines) 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 &
 Lines 395-400 source files from their respective locations, with notes concerning licensing if (-)a/ebuild-functions.tex (-1 / +25 lines) 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:pkg-required-use-table} as 402 supporting it, the \t{pkg\_required\_use} function may be called when at least one assertion of the 403 \t{REQUIRED\_USE} variable is not met. The function should output an appropriate explanation why 404 these assertions failed. It may also suggest \t{USE} flags to be adjusted by the user. 405 406 \t{pkg\_required\_use} must not write to the filesystem. 407 408 \begin{centertable}{EAPIs supporting \t{pkg\_required\_use}} \label{tab:pkg-required-use-table} 409  \begin{tabular}{ l l } 410  \toprule 411  \multicolumn{1}{c}{\textbf{EAPI}} & 412  \multicolumn{1}{c}{\textbf{Supports \t{pkg\_required\_use}?}} \\ 413  \midrule 414  \t{0} & No \\ 415  \t{1} & No \\ 416  \t{2} & No \\ 417  \t{3} & No \\ 418  \t{4} & Yes \\ 419  \bottomrule 420  \end{tabular} 421 \end{centertable} 422 398 \subsection{\t{default\_} Phase Functions} 423 \subsection{\t{default\_} Phase Functions} 399 \label{sec:default-phase-funcs} 424 \label{sec:default-phase-funcs} 400 425 401 -