summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@ciaranm.org>2007-03-08 19:15:01 +0000
committerCiaran McCreesh <ciaranm@ciaranm.org>2007-03-08 19:15:01 +0000
commitd07f59dcccbd3790c7f8ef6cdb857a27a031ef52 (patch)
tree2567c3f5133c4d8659009cac5965f2b4429c330b /eclasses.tex
parentFormatting (diff)
downloadpms-d07f59dcccbd3790c7f8ef6cdb857a27a031ef52.tar.gz
pms-d07f59dcccbd3790c7f8ef6cdb857a27a031ef52.tar.bz2
pms-d07f59dcccbd3790c7f8ef6cdb857a27a031ef52.zip
Clarify INHERITED, ECLASS
git-svn-id: http://svn.repogirl.net/pms/trunk@61 a05a4626-2124-0410-b604-e6c5abf33261
Diffstat (limited to 'eclasses.tex')
-rw-r--r--eclasses.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclasses.tex b/eclasses.tex
index d4d408c..2a4e74e 100644
--- a/eclasses.tex
+++ b/eclasses.tex
@@ -18,6 +18,14 @@ This will cause the eclass to be sourced as part of the ebuild -- any function o
definitions in the eclass will appear as part of the ebuild, with exceptions for certain metadata
variables, as described below.
+The \t{inherit} command must also ensure that:
+
+\begin{bulletlist}
+\item The \t{ECLASS} variable is set to the name of the current eclass, when inside an eclass.
+\item The \t{INHERITED} metadata variable contains the name of every eclass used, separated
+ by whitespace.
+\end{bulletlist}
+
\section{Eclass-defined Metadata Keys}
The \t{IUSE}, \t{KEYWORDS}, \t{DEPEND}, \t{RDEPEND} and \t{PDEPEND} variables are handled specially