Gentoo Archives: gentoo-pms

From: David Leverton <levertond@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: David Leverton <levertond@××××××××××.com>
Subject: [gentoo-pms] [PATCH 2/2] Require a space before the trailing comment
Date: Sun, 13 May 2012 19:13:29
Message-Id: 1336936370-25779-1-git-send-email-levertond@googlemail.com
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by Ulrich Mueller
1 ---
2 ebuild-vars.tex | 2 +-
3 1 files changed, 1 insertions(+), 1 deletions(-)
4
5 diff --git a/ebuild-vars.tex b/ebuild-vars.tex
6 index 58ca42e..60c7b04 100644
7 --- a/ebuild-vars.tex
8 +++ b/ebuild-vars.tex
9 @@ -129,7 +129,7 @@ once. The assignment must not be preceded by any lines other than blank lines or
10 with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing
11 the assignment statement must match the following regular expression:
12 \begin{verbatim}
13 -^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$
14 +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$
15 \end{verbatim}
16
17 The package manager may optionally determine the EAPI of an ebuild by parsing its first non-blank
18 --
19 1.7.3.4