From ef47c7a79a538324fe4587d1ca89856d4e93094c Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 20 Jun 2009 18:53:01 +0000 Subject: Don't set KV for EAPI >=3. svn path=/main/trunk/; revision=13656 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 575e75c4b..1e2c9ceeb 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -5417,7 +5417,7 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m mysettings["PORTAGE_BUILDDIR"], ".exit_status") #set up KV variable -- DEP SPEEDUP :: Don't waste time. Keep var persistent. - if mydo != 'depend' and 'KV' not in mysettings and \ + if eapi in ("0", "1", "2") and mydo != 'depend' and 'KV' not in mysettings and \ mydo in ('compile', 'config', 'configure', 'info', 'install', 'nofetch', 'postinst', 'postrm', 'preinst', 'prepare', 'prerm', 'setup', 'test', 'unpack'): -- cgit v1.2.3-1-g7c22