public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Markos Chandras" <hwoarang@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/
Date: Tue, 30 Oct 2012 19:01:53 +0000 (UTC)	[thread overview]
Message-ID: <1351623568.a270561f8524331f965b2be9ae7387654eb5ba5f.hwoarang@gentoo> (raw)

commit:     a270561f8524331f965b2be9ae7387654eb5ba5f
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 30 18:59:28 2012 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> 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 <c>app-doc/pms</c> in the main tree.
 </important>
 <p>
-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:
 </p>
+
+<note>
+Most developers prefer to set the EAPI version without quotes. However, the PMS allows single and double quotes as well.
+</note>
+
 <codesample lang="ebuild">
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
@@ -112,7 +117,7 @@ IUSE="foo +bar"
 
 
 <section>
-<title>EAPI="2"</title>
+<title>EAPI=2</title>
 <body>
 
 <subsection>
@@ -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
 		</codesample>
 		</p>
 	</li>
@@ -306,7 +311,7 @@ src_compile() {
 </body>
 </section>
 <section>
-<title>EAPI="3"</title>
+<title>EAPI=3</title>
 <body>
 
 <ul>
@@ -331,7 +336,7 @@ src_compile() {
 </section>
 
 <section>
-<title>EAPI="4"</title>
+<title>EAPI=4</title>
 <body>
 
 <subsection>
@@ -494,7 +499,7 @@ DEPEND="
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI=4
 inherit linux-info
 ...
 


             reply	other threads:[~2012-10-30 19:02 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 19:01 Markos Chandras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-05 20:15 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/ Ulrich Müller
2022-11-09 12:01 Ulrich Müller
2022-02-25 19:04 Sam James
2022-02-22  7:11 Sam James
2022-02-22  7:11 Sam James
2020-05-09 10:41 Ulrich Müller
2020-01-23  7:47 Ulrich Müller
2020-01-09  7:58 Ulrich Müller
2018-10-24 13:01 Brian Evans
2017-09-25  4:27 Göktürk Yüksek
2017-01-25  0:55 Göktürk Yüksek
2016-12-08  4:07 Göktürk Yüksek
2016-09-08 21:23 Mike Gilbert
2016-04-30  3:09 Göktürk Yüksek
2016-03-24 15:10 Ulrich Müller
2016-02-15 18:00 Ulrich Müller
2016-02-15 12:10 Ulrich Müller
2016-02-15 12:10 Ulrich Müller
2015-11-22 12:37 Ulrich Müller
2014-06-08 17:39 Mike Gilbert
2013-04-30 12:58 Fabian Groffen
2013-01-21 17:27 Pacho Ramos
2013-01-21  8:18 Pacho Ramos
2012-11-17 18:59 Markos Chandras
2012-11-17 18:59 Markos Chandras
2012-11-02 17:53 Markos Chandras
2012-08-31 21:18 Markos Chandras
2011-08-24 20:13 Markos Chandras
2011-03-09 16:42 Jeremy Olexa
2011-02-13  8:23 Torsten Veller
2011-02-04 20:41 darkside
2011-02-04 20:37 darkside
2011-02-04 17:02 darkside

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351623568.a270561f8524331f965b2be9ae7387654eb5ba5f.hwoarang@gentoo \
    --to=hwoarang@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox