Gentoo Archives: gentoo-pms

From: Brian Harring <ferringb@×××××.com>
To: gentoo-pms@l.g.o
Cc: Brian Harring <ferringb@×××××.com>
Subject: [gentoo-pms] [PATCH] EAPI must be at least a single char.
Date: Sun, 30 Sep 2012 08:28:53
Message-Id: 1348993716-27744-1-git-send-email-ferringb@gmail.com
1 The example regex allowed for
2 EAPI=
3
4 Which isn't used, alloewd, nor desired; at best, that's short hand
5 for EAPI=0.
6 ---
7 ebuild-vars.tex | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/ebuild-vars.tex b/ebuild-vars.tex
11 index 53de53d..ec0d84e 100644
12 --- a/ebuild-vars.tex
13 +++ b/ebuild-vars.tex
14 @@ -139,7 +139,7 @@ once. The assignment must not be preceded by any lines other than blank lines or
15 with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing
16 the assignment statement must match the following regular expression:
17 \begin{verbatim}
18 -^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$
19 +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]+)\1[ \t]*([ \t]#.*)?$
20 \end{verbatim}
21
22 The package manager must determine the EAPI of an ebuild by parsing its first non-blank and
23 --
24 1.7.12

Replies

Subject Author
Re: [gentoo-pms] [PATCH] EAPI must be at least a single char. Ulrich Mueller <ulm@g.o>