From 2b7247098217acc9e80b617ae5f43987d419337f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Jan 2010 18:53:23 +0000 Subject: Enable EAPI 3 and deprecate EAPI 3_pre2. (trunk r15221) svn path=/main/branches/2.1.7/; revision=15270 --- doc/package/ebuild/eapi/3.docbook | 20 ++++++++++---------- pym/portage/__init__.py | 4 ++-- pym/portage/const.py | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/package/ebuild/eapi/3.docbook b/doc/package/ebuild/eapi/3.docbook index 4665b0955..3e8c85ae5 100644 --- a/doc/package/ebuild/eapi/3.docbook +++ b/doc/package/ebuild/eapi/3.docbook @@ -1,10 +1,10 @@ -
-EAPI 3_pre2 -
+
+EAPI 3 +
Helpers -
+
unpack -
+
Support for the xz file extension The unpack helper now supports the xz file extension. @@ -12,15 +12,15 @@ The unpack helper now supports the xz file extension.
-
+
Support for installation prefix -
+
Helpers Beginning with EAPI 3, all helpers use ${ED} instead of ${D} when appropriate. For example, see econf and einstall below. -
+
econf ${ECONF_SOURCE:-.}/configure \ @@ -37,7 +37,7 @@ ${ECONF_SOURCE:-.}/configure \ configure options || die "econf failed"
-
+
einstall Note that, for make-based packages, 'emake install DESTDIR=${D}' (with @@ -57,7 +57,7 @@ make \
-
+
Variables Installation Prefix Variables diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 4e810d90f..381413bec 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -6071,8 +6071,8 @@ def _spawn_misc_sh(mysettings, commands, phase=None, **kwargs): return rval -_testing_eapis = frozenset(["3_pre2"]) -_deprecated_eapis = frozenset(["3_pre1", "2_pre3", "2_pre2", "2_pre1"]) +_testing_eapis = frozenset() +_deprecated_eapis = frozenset(["3_pre2", "3_pre1", "2_pre3", "2_pre2", "2_pre1"]) def _eapi_is_deprecated(eapi): return eapi in _deprecated_eapis diff --git a/pym/portage/const.py b/pym/portage/const.py index 890abe83b..f35ef8f3a 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -81,7 +81,7 @@ EBUILD_PHASES = ["setup", "unpack", "prepare", "configure", "package", "preinst", "postinst","prerm", "postrm", "nofetch", "config", "info", "other"] -EAPI = 2 +EAPI = 3 HASHING_BLOCKSIZE = 32768 MANIFEST1_HASH_FUNCTIONS = ["MD5", "SHA256", "RMD160"] -- cgit v1.2.3-1-g7c22