1 |
Author: zmedico |
2 |
Date: 2010-01-29 18:10:30 +0000 (Fri, 29 Jan 2010) |
3 |
New Revision: 15221 |
4 |
|
5 |
Modified: |
6 |
main/trunk/doc/package/ebuild/eapi/3.docbook |
7 |
main/trunk/pym/portage/__init__.py |
8 |
main/trunk/pym/portage/const.py |
9 |
Log: |
10 |
Enable EAPI 3 and deprecate EAPI 3_pre2. |
11 |
|
12 |
|
13 |
Modified: main/trunk/doc/package/ebuild/eapi/3.docbook |
14 |
=================================================================== |
15 |
--- main/trunk/doc/package/ebuild/eapi/3.docbook 2010-01-29 18:02:28 UTC (rev 15220) |
16 |
+++ main/trunk/doc/package/ebuild/eapi/3.docbook 2010-01-29 18:10:30 UTC (rev 15221) |
17 |
@@ -1,10 +1,10 @@ |
18 |
-<section id='package-ebuild-eapi-3_pre2'> |
19 |
-<title>EAPI 3_pre2</title> |
20 |
-<section id='package-ebuild-eapi-3_pre2-helpers'> |
21 |
+<section id='package-ebuild-eapi-3'> |
22 |
+<title>EAPI 3</title> |
23 |
+<section id='package-ebuild-eapi-3-helpers'> |
24 |
<title>Helpers</title> |
25 |
-<section id='package-ebuild-eapi-3_pre2-helpers-unpack'> |
26 |
+<section id='package-ebuild-eapi-3-helpers-unpack'> |
27 |
<title>unpack</title> |
28 |
-<section id='package-ebuild-eapi-3_pre2-helpers-unpack-xz'> |
29 |
+<section id='package-ebuild-eapi-3-helpers-unpack-xz'> |
30 |
<title>Support for the xz file extension</title> |
31 |
<para> |
32 |
The unpack helper now supports the xz file extension. |
33 |
@@ -12,15 +12,15 @@ |
34 |
</section> |
35 |
</section> |
36 |
</section> |
37 |
-<section id='package-ebuild-eapi-3_pre2-prefix'> |
38 |
+<section id='package-ebuild-eapi-3-prefix'> |
39 |
<title>Support for installation prefix</title> |
40 |
-<section id='package-ebuild-eapi-3_pre2-prefix-helpers'> |
41 |
+<section id='package-ebuild-eapi-3-prefix-helpers'> |
42 |
<title>Helpers</title> |
43 |
<para> |
44 |
Beginning with EAPI 3, all helpers use ${ED} instead of ${D} |
45 |
when appropriate. For example, see econf and einstall below. |
46 |
</para> |
47 |
-<section id='package-ebuild-eapi-3_pre2-prefix-helpers-econf'> |
48 |
+<section id='package-ebuild-eapi-3-prefix-helpers-econf'> |
49 |
<title>econf</title> |
50 |
<programlisting> |
51 |
${ECONF_SOURCE:-.}/configure \ |
52 |
@@ -37,7 +37,7 @@ |
53 |
configure options || die "econf failed" |
54 |
</programlisting> |
55 |
</section> |
56 |
-<section id='package-ebuild-eapi-3_pre2-prefix-helpers-einstall'> |
57 |
+<section id='package-ebuild-eapi-3-prefix-helpers-einstall'> |
58 |
<title>einstall</title> |
59 |
<para> |
60 |
Note that, for make-based packages, 'emake install DESTDIR=${D}' (with |
61 |
@@ -57,7 +57,7 @@ |
62 |
</programlisting> |
63 |
</section> |
64 |
</section> |
65 |
-<section id='package-ebuild-eapi-3_pre2-prefix-variables'> |
66 |
+<section id='package-ebuild-eapi-3-prefix-variables'> |
67 |
<title>Variables</title> |
68 |
<table><title>Installation Prefix Variables</title> |
69 |
<tgroup cols='2' align='left' > |
70 |
|
71 |
Modified: main/trunk/pym/portage/__init__.py |
72 |
=================================================================== |
73 |
--- main/trunk/pym/portage/__init__.py 2010-01-29 18:02:28 UTC (rev 15220) |
74 |
+++ main/trunk/pym/portage/__init__.py 2010-01-29 18:10:30 UTC (rev 15221) |
75 |
@@ -6071,8 +6071,8 @@ |
76 |
|
77 |
return rval |
78 |
|
79 |
-_testing_eapis = frozenset(["3_pre2"]) |
80 |
-_deprecated_eapis = frozenset(["3_pre1", "2_pre3", "2_pre2", "2_pre1"]) |
81 |
+_testing_eapis = frozenset() |
82 |
+_deprecated_eapis = frozenset(["3_pre2", "3_pre1", "2_pre3", "2_pre2", "2_pre1"]) |
83 |
|
84 |
def _eapi_is_deprecated(eapi): |
85 |
return eapi in _deprecated_eapis |
86 |
|
87 |
Modified: main/trunk/pym/portage/const.py |
88 |
=================================================================== |
89 |
--- main/trunk/pym/portage/const.py 2010-01-29 18:02:28 UTC (rev 15220) |
90 |
+++ main/trunk/pym/portage/const.py 2010-01-29 18:10:30 UTC (rev 15221) |
91 |
@@ -82,7 +82,7 @@ |
92 |
"package", "preinst", "postinst","prerm", "postrm", |
93 |
"nofetch", "config", "info", "other"] |
94 |
|
95 |
-EAPI = 2 |
96 |
+EAPI = 3 |
97 |
|
98 |
HASHING_BLOCKSIZE = 32768 |
99 |
MANIFEST1_HASH_FUNCTIONS = ["MD5", "SHA256", "RMD160"] |