diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-16 04:57:08 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-16 04:57:08 -0700 |
commit | 447bd43b4af0002365d6387e2f634543c8787b91 (patch) | |
tree | 94b2a4cea630edd60428c6defb4125c2f138b4f5 /pym/_emerge/MiscFunctionsProcess.py | |
parent | 063f0b5b4b73dabab395f8b7eab8345b0bc54f97 (diff) | |
download | portage-447bd43b4af0002365d6387e2f634543c8787b91.tar.gz portage-447bd43b4af0002365d6387e2f634543c8787b91.tar.bz2 portage-447bd43b4af0002365d6387e2f634543c8787b91.zip |
Convert EbuildBinpkg to inherit from MiscFunctionsProcess instead
of EbuildProcess. This bypasses the complex doebuild() function,
and uses the _spawn_actionmap() function that's been split out.
Diffstat (limited to 'pym/_emerge/MiscFunctionsProcess.py')
-rw-r--r-- | pym/_emerge/MiscFunctionsProcess.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pym/_emerge/MiscFunctionsProcess.py b/pym/_emerge/MiscFunctionsProcess.py index eaf8c2235..04445a89d 100644 --- a/pym/_emerge/MiscFunctionsProcess.py +++ b/pym/_emerge/MiscFunctionsProcess.py @@ -15,7 +15,6 @@ class MiscFunctionsProcess(AbstractEbuildProcess): def _start(self): settings = self.settings - settings.pop("EBUILD_PHASE", None) portage_bin_path = settings["PORTAGE_BIN_PATH"] misc_sh_binary = os.path.join(portage_bin_path, os.path.basename(portage.const.MISC_SH_BINARY)) @@ -26,7 +25,5 @@ class MiscFunctionsProcess(AbstractEbuildProcess): AbstractEbuildProcess._start(self) def _spawn(self, args, **kwargs): - settings = self.settings - debug = settings.get("PORTAGE_DEBUG") == "1" - return spawn(" ".join(args), settings, - debug=debug, **kwargs) + self.settings.pop("EBUILD_PHASE", None) + return spawn(" ".join(args), self.settings, **kwargs) |