1 |
commit: 645a16f5ba91e0cb1ee013a5f252c2eef9baf811 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 30 12:58:11 2013 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 30 12:58:11 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=645a16f5 |
7 |
|
8 |
Encourage usage of latest EAPI, bug #464250 |
9 |
|
10 |
--- |
11 |
ebuild-writing/eapi/text.xml | 13 +++++++++---- |
12 |
1 files changed, 9 insertions(+), 4 deletions(-) |
13 |
|
14 |
diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml |
15 |
index be31b36..1ee4026 100644 |
16 |
--- a/ebuild-writing/eapi/text.xml |
17 |
+++ b/ebuild-writing/eapi/text.xml |
18 |
@@ -33,8 +33,8 @@ can be printed out, consulted for reference and is available |
19 |
as <c>app-doc/pms</c> in the main tree. |
20 |
</important> |
21 |
<p> |
22 |
-If EAPI is undefined in an ebuild, then EAPI=0 is selected. If you want to override |
23 |
-the EAPI variable, you have to specify it at the top of the ebuild: |
24 |
+If EAPI is undefined in an ebuild, then EAPI=0 is selected. You should |
25 |
+set the EAPI variable, by specifying it at the top of the ebuild: |
26 |
</p> |
27 |
|
28 |
<note> |
29 |
@@ -42,11 +42,11 @@ Most developers prefer to set the EAPI version without quotes. However, the PMS |
30 |
</note> |
31 |
|
32 |
<codesample lang="ebuild"> |
33 |
-# Copyright 1999-2010 Gentoo Foundation |
34 |
+# Copyright 1999-2013 Gentoo Foundation |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
# $Header: $ |
37 |
|
38 |
-EAPI=1 |
39 |
+EAPI=5 |
40 |
inherit eutils |
41 |
|
42 |
</codesample> |
43 |
@@ -56,6 +56,11 @@ EAPI must only be defined in ebuild files, not eclasses. (eclasses may have |
44 |
EAPI-conditional code) |
45 |
</important> |
46 |
|
47 |
+<p> |
48 |
+When writing new ebuilds developers can choose whathever EAPI they think |
49 |
+is the best. Using the features of the latest EAPI is encouraged. |
50 |
+</p> |
51 |
+ |
52 |
</body> |
53 |
</section> |