From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 85D20138010 for ; Sun, 30 Sep 2012 08:28:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA66221C006; Sun, 30 Sep 2012 08:28:41 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id DFEF121C006 for ; Sun, 30 Sep 2012 08:28:40 +0000 (UTC) Received: by pbcwz12 with SMTP id wz12so7590320pbc.40 for ; Sun, 30 Sep 2012 01:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=r6i0PacqlG1oR6rwTqG1/7gZK+un3J+hchPCCxHe7qo=; b=fKgCmN27j4QmnM4JjQbVhh/raYQepInZwzIuGzzuOUCKV75LXBsd8GbNXFVWQK4rD2 XW0tz4jXuc5CfTr0kg6hgMupYzsnmk6O2CWOxYI1hHjzoXaRKSNPX0XSfG8zC126A8zu m8qJ6eyGvdlEXd/vsqqOG1lm0iv5ufkMPf6Q9ZOBDwdKkeho82KhRf+AMHXnLlrB7PWt VD2mRdFgwjhcj7s6GZanEhPYkb3bpkw2mAkSTUVap98l/GKup2EKATIH7BntEEvX2zeF Sr2ChZEMKX7ROL8HcvFcGC1N96c1j5YQF8dv/2uRHrNptd/FyDTSXAyYlhKiHGyrXChk jmkg== Received: by 10.68.222.42 with SMTP id qj10mr32719685pbc.117.1348993720164; Sun, 30 Sep 2012 01:28:40 -0700 (PDT) Received: from smtp.gmail.com:587 (74-95-192-101-SFBA.hfc.comcastbusiness.net. [74.95.192.101]) by mx.google.com with ESMTPS id wl4sm8405259pbc.17.2012.09.30.01.28.37 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 30 Sep 2012 01:28:39 -0700 (PDT) Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Sun, 30 Sep 2012 01:28:37 -0700 From: Brian Harring To: gentoo-pms@lists.gentoo.org Cc: Brian Harring Subject: [gentoo-pms] [PATCH] EAPI must be at least a single char. Date: Sun, 30 Sep 2012 01:28:36 -0700 Message-Id: <1348993716-27744-1-git-send-email-ferringb@gmail.com> X-Mailer: git-send-email 1.7.12 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: 49faf6ad-3eb1-4993-95a5-f42c8589fe9a X-Archives-Hash: 2436e784fc688af6cd7c15f2db03aec0 The example regex allowed for EAPI= Which isn't used, alloewd, nor desired; at best, that's short hand for EAPI=0. --- ebuild-vars.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebuild-vars.tex b/ebuild-vars.tex index 53de53d..ec0d84e 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -139,7 +139,7 @@ once. The assignment must not be preceded by any lines other than blank lines or with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing the assignment statement must match the following regular expression: \begin{verbatim} -^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$ +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]+)\1[ \t]*([ \t]#.*)?$ \end{verbatim} The package manager must determine the EAPI of an ebuild by parsing its first non-blank and -- 1.7.12