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 1SSNd1-0007eV-VW for garchives@archives.gentoo.org; Thu, 10 May 2012 07:17:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC59AE0663; Thu, 10 May 2012 07:17:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 779E0E0663 for ; Thu, 10 May 2012 07:17:28 +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 C02B51B400F for ; Thu, 10 May 2012 07:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 8A79FE542D for ; Thu, 10 May 2012 07:17: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: <1336634348.460f6892c9f94f78d277c513a57dd7ca9b1eab2f.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: 460f6892c9f94f78d277c513a57dd7ca9b1eab2f X-VCS-Branch: eapi-5 Date: Thu, 10 May 2012 07:17: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: 7bbd7185-3980-477a-8e17-0be74031e397 X-Archives-Hash: ed285443dc21978a9b6f983dff4e6cb1 commit: 460f6892c9f94f78d277c513a57dd7ca9b1eab2f Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Thu May 10 07:19:08 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu May 10 07:19:08 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc= ommit;h=3D460f6892 Make parsing of the EAPI assignment mandatory. --- ebuild-vars.tex | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ebuild-vars.tex b/ebuild-vars.tex index 86c354e..b164d66 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -136,7 +136,7 @@ the assignment statement must match the following reg= ular expression: ^[ \t]*EAPI=3D(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$ \end{verbatim} =20 -The package manager may optionally determine the EAPI of an ebuild by pa= rsing its first non-blank +The package manager must determine the EAPI of an ebuild by parsing its = first non-blank and non-comment line, using above regular expression. If a recognised EA= PI has been determined such, then the package manager must make sure that the \t{EAPI} value ob= tained by sourcing the ebuild with bash is identical to the EAPI obtained by parsing. The ebuil= d must be treated as