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 1SUzQj-0007M9-J4 for garchives@archives.gentoo.org; Thu, 17 May 2012 12:03:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82208E0941; Thu, 17 May 2012 12:02:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 54E3AE0941 for ; Thu, 17 May 2012 12:02:29 +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 B9D931B406D for ; Thu, 17 May 2012 12:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3D197E5440 for ; Thu, 17 May 2012 12:02:26 +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: <1337250977.91d1e1e39b034bde7e5b981a5616a127135f37fa.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-5 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-vars.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 91d1e1e39b034bde7e5b981a5616a127135f37fa X-VCS-Branch: eapi-5 Date: Thu, 17 May 2012 12:02:26 +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: 5a26ce76-e17d-4633-9350-d041a4e3f6b2 X-Archives-Hash: 8e417e85acc716179b8a65c15929f046 commit: 91d1e1e39b034bde7e5b981a5616a127135f37fa Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Thu May 10 07:19:08 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu May 17 10:36:17 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc= ommit;h=3D91d1e1e3 Make parsing of the EAPI assignment mandatory. --- ebuild-vars.tex | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ebuild-vars.tex b/ebuild-vars.tex index f397f0e..a4586bf 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -136,8 +136,8 @@ the assignment statement must match the following reg= ular expression: ^[ \t]*EAPI=3D(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$ \end{verbatim} =20 -The package manager may optionally determine the EAPI of an ebuild by pa= rsing its first non-blank -and non-comment line, using the above regular expression. If it matches,= the EAPI is the substring +The package manager must determine the EAPI of an ebuild by parsing its = first non-blank and +non-comment line, using the above regular expression. If it matches, the= EAPI is the substring matched by the capturing parentheses (\t{0} if empty), otherwise it is \= t{0}. For a recognised EAPI, the package manager must make sure that the \t{EAPI} value obtaine= d by sourcing the ebuild with bash is identical to the EAPI obtained by parsing. The ebuild must = be treated as invalid if