summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-03-17 20:00:47 +0100
committerUlrich Müller <ulm@gentoo.org>2022-03-17 20:00:47 +0100
commit8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1 (patch)
tree640cc206db1b1876877b430dfaad264ab8a1bf6e
parentebuild-environment.tex: Consolidate source files (diff)
downloadpms-8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1.tar.gz
pms-8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1.tar.bz2
pms-8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1.zip
ebuild-vars.tex: Clarify which variables can be defined by an eclass
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ebuild-vars.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index d07cca4..e7aab0a 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -43,8 +43,9 @@ All ebuilds must define at least the following variables:
\section{Optional Ebuild-defined Variables}
\label{sec:optional-vars}
-Ebuilds may define any of the following variables:
-\nobreakpar
+Ebuilds may define any of the following variables. Unless otherwise stated, any of them may be
+defined by an eclass.
+
\begin{description}
\item[EAPI] The EAPI\@. See below in section~\ref{sec:eapi}.
\item[HOMEPAGE] The URI or URIs for a package's homepage, including protocols.
@@ -147,6 +148,8 @@ EAPI, the package manager must make sure that the \t{EAPI} value obtained by sou
with bash is identical to the EAPI obtained by parsing. The ebuild must be treated as invalid if
these values are different.
+Eclasses must not attempt to modify the \t{EAPI} variable.
+
\subsection{SRC_URI}
\label{sec:src-uri-behaviour}