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 8CBEE138010 for ; Tue, 30 Oct 2012 19:02:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7E7121C005; Tue, 30 Oct 2012 19:01:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 234DE21C005 for ; Tue, 30 Oct 2012 19:01:56 +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 5754233D8DD for ; Tue, 30 Oct 2012 19:01:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E4780E5436 for ; Tue, 30 Oct 2012 19:01:53 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1351623568.a270561f8524331f965b2be9ae7387654eb5ba5f.hwoarang@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/eapi/text.xml X-VCS-Directories: ebuild-writing/eapi/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: a270561f8524331f965b2be9ae7387654eb5ba5f X-VCS-Branch: master Date: Tue, 30 Oct 2012 19:01:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5fd67981-f782-492f-960e-1c8bbf205c63 X-Archives-Hash: 184bacb206d7c802d05bdbee52476a4e commit: a270561f8524331f965b2be9ae7387654eb5ba5f Author: Markos Chandras gentoo org> AuthorDate: Tue Oct 30 18:59:28 2012 +0000 Commit: Markos Chandras gentoo org> CommitDate: Tue Oct 30 18:59:28 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=a270561f eapi: Remove quotes from EAPI for consistency. Bug #374593 Also, add a note that single and double quotes are also allowed. --- ebuild-writing/eapi/text.xml | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml index 9d7696b..38b9117 100644 --- a/ebuild-writing/eapi/text.xml +++ b/ebuild-writing/eapi/text.xml @@ -18,9 +18,14 @@ can be printed out, consulted for reference and is available as app-doc/pms in the main tree.

-If EAPI is undefined in an ebuild, then EAPI="0" is selected. If you want to override +If EAPI is undefined in an ebuild, then EAPI=0 is selected. If you want to override the EAPI variable, you have to specify it at the top of the ebuild:

+ + +Most developers prefer to set the EAPI version without quotes. However, the PMS allows single and double quotes as well. + + # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -112,7 +117,7 @@ IUSE="foo +bar"
-EAPI="2" +EAPI=2 @@ -128,7 +133,7 @@ IUSE="foo +bar" doman foo.1 # will go into /usr/share/man/man1/foo.1 doman foo.lang.1 -# will go into /usr/share/man/lang/man1/foo.1 with EAPI="2" +# will go into /usr/share/man/lang/man1/foo.1 with EAPI=2

@@ -306,7 +311,7 @@ src_compile() {
-EAPI="3" +EAPI=3
    @@ -331,7 +336,7 @@ src_compile() {
-EAPI="4" +EAPI=4 @@ -494,7 +499,7 @@ DEPEND=" # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" +EAPI=4 inherit linux-info ...