From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-505660-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C1077138010 for <garchives@archives.gentoo.org>; Fri, 14 Sep 2012 06:16:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B38721C02B; Fri, 14 Sep 2012 06:14:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C8FA21C018 for <gentoo-commits@lists.gentoo.org>; Fri, 14 Sep 2012 06:14:52 +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 B524733D72D for <gentoo-commits@lists.gentoo.org>; Fri, 14 Sep 2012 06:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EADFEE5445 for <gentoo-commits@lists.gentoo.org>; Fri, 14 Sep 2012 06:14:48 +0000 (UTC) From: "Ulrich Mueller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" <ulm@gentoo.org> Message-ID: <1347517696.6ffe6aec8f13ddc3786d0f9f73c8f3b54e8df2b6.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master 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: 6ffe6aec8f13ddc3786d0f9f73c8f3b54e8df2b6 X-VCS-Branch: master Date: Fri, 14 Sep 2012 06:14:48 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3dd94991-73db-49fc-aab4-1e45f4930139 X-Archives-Hash: 96b70f052b3d302b9e51c92d7ce5e53e commit: 6ffe6aec8f13ddc3786d0f9f73c8f3b54e8df2b6 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu May 10 07:19:08 2012 +0000 Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Sep 13 06:28:16 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=6ffe6aec 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 306fb2f..7eaabc5 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -136,8 +136,8 @@ the assignment statement must match the following regular expression: ^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$ \end{verbatim} -The package manager may optionally 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 +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 obtained by sourcing the ebuild with bash is identical to the EAPI obtained by parsing. The ebuild must be treated as invalid if