From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S8vTZ-0005gY-A6 for garchives@archives.gentoo.org; Sat, 17 Mar 2012 15:23:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8567E07BA; Sat, 17 Mar 2012 15:23:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8CB5CE07BA for ; Sat, 17 Mar 2012 15:23:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFE621B4021 for ; Sat, 17 Mar 2012 15:23:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B134FE5402 for ; Sat, 17 Mar 2012 15:23:16 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1331833681.742f67c913e3bb2c79dc4a18ebb83392ba9b9eea.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapis.tex names.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 742f67c913e3bb2c79dc4a18ebb83392ba9b9eea X-VCS-Branch: master Date: Sat, 17 Mar 2012 15:23:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: aae15616-0d40-4341-a48d-841bc79f95b6 X-Archives-Hash: f47596d58cbb70a3ffbd8e2567d81298 commit: 742f67c913e3bb2c79dc4a18ebb83392ba9b9eea Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Thu Mar 15 17:48:01 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu Mar 15 17:48:01 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc= ommit;h=3D742f67c9 Specify characters allowed for an EAPI value. --- eapis.tex | 2 +- names.tex | 5 +++++ 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} =20 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. =20 If a package manager encounters a package version with an unrecognised E= API, it must not attempt to perform any operations upon it. It could, for example, ignore the packag= e 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{\textasciit= ilde{}foo} will also accep =20 The exact meaning of any keywords value is beyond the scope of this spec= ification. =20 +\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 vers= ion components. Package managers should indicate or reject any version that is invalid according= to these rules.