1 |
commit: 8bcf0e2f9b6234e2e752d68df0ef054fd2cc49b1 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 17 19:00:47 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 17 19:00:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8bcf0e2f |
7 |
|
8 |
ebuild-vars.tex: Clarify which variables can be defined by an eclass |
9 |
|
10 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
11 |
|
12 |
ebuild-vars.tex | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/ebuild-vars.tex b/ebuild-vars.tex |
16 |
index d07cca4..e7aab0a 100644 |
17 |
--- a/ebuild-vars.tex |
18 |
+++ b/ebuild-vars.tex |
19 |
@@ -43,8 +43,9 @@ All ebuilds must define at least the following variables: |
20 |
\section{Optional Ebuild-defined Variables} |
21 |
\label{sec:optional-vars} |
22 |
|
23 |
-Ebuilds may define any of the following variables: |
24 |
-\nobreakpar |
25 |
+Ebuilds may define any of the following variables. Unless otherwise stated, any of them may be |
26 |
+defined by an eclass. |
27 |
+ |
28 |
\begin{description} |
29 |
\item[EAPI] The EAPI\@. See below in section~\ref{sec:eapi}. |
30 |
\item[HOMEPAGE] The URI or URIs for a package's homepage, including protocols. |
31 |
@@ -147,6 +148,8 @@ EAPI, the package manager must make sure that the \t{EAPI} value obtained by sou |
32 |
with bash is identical to the EAPI obtained by parsing. The ebuild must be treated as invalid if |
33 |
these values are different. |
34 |
|
35 |
+Eclasses must not attempt to modify the \t{EAPI} variable. |
36 |
+ |
37 |
\subsection{SRC_URI} |
38 |
\label{sec:src-uri-behaviour} |