summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-03-15 18:48:01 +0100
committerUlrich Müller <ulm@gentoo.org>2012-03-15 18:48:01 +0100
commit742f67c913e3bb2c79dc4a18ebb83392ba9b9eea (patch)
tree5c34f6c45e55d67ed1ace2a6f311c50d5fb9a6c7
parentFix some misspellings in pms.cls. (diff)
downloadpms-742f67c913e3bb2c79dc4a18ebb83392ba9b9eea.tar.gz
pms-742f67c913e3bb2c79dc4a18ebb83392ba9b9eea.tar.bz2
pms-742f67c913e3bb2c79dc4a18ebb83392ba9b9eea.zip
Specify characters allowed for an EAPI value.
-rw-r--r--eapis.tex2
-rw-r--r--names.tex5
2 files changed, 6 insertions, 1 deletions
diff --git a/eapis.tex b/eapis.tex
index 05bf4d7..5839768 100644
--- a/eapis.tex
+++ b/eapis.tex
@@ -3,7 +3,7 @@
\section{Definition}
An EAPI can be thought of as a `version' of this specification to which a package conforms. An EAPI
-value is a string, and is part of an ebuild's metadata.
+value is a string as per section~\ref{sec:eapi-names}, and is part of an ebuild's metadata.
If a package manager encounters a package version with an unrecognised EAPI, it must not attempt to
perform any operations upon it. It could, for example, ignore the package version entirely (although
diff --git a/names.tex b/names.tex
index c99ed0f..fd9731c 100644
--- a/names.tex
+++ b/names.tex
@@ -48,6 +48,11 @@ assumed that any user accepting keyword \t{\textasciitilde{}foo} will also accep
The exact meaning of any keywords value is beyond the scope of this specification.
+\subsection{EAPI Names}
+\label{sec:eapi-names}
+An EAPI name may contain any of the characters [\t{A-Za-z0-9+\_.-}]. It must not begin with a
+hyphen, a dot or a plus sign.
+
\section{Version Specifications}
The package manager must not impose fixed limits upon the number of version components. Package
managers should indicate or reject any version that is invalid according to these rules.