Use EbuildPhase instead of EbuildProcess, for things like die_hooks
authorZac Medico <zmedico@gentoo.org>
Tue, 17 Aug 2010 16:42:20 +0000 (09:42 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 17 Aug 2010 16:42:20 +0000 (09:42 -0700)
support.

pym/_emerge/EbuildBinpkg.py

index 68346f823bdbe7f179e9eadac2f5effd83599999..0f7849e909a0a5e1bc00b37a5833c9608dac7418 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 from _emerge.CompositeTask import CompositeTask
-from _emerge.EbuildProcess import EbuildProcess
+from _emerge.EbuildPhase import EbuildPhase
 from portage import os
 from portage.exception import PermissionDenied
 from portage.util import ensure_dirs
@@ -30,7 +30,7 @@ class EbuildBinpkg(CompositeTask):
                self._binpkg_tmpfile = binpkg_tmpfile
                self.settings["PORTAGE_BINPKG_TMPFILE"] = self._binpkg_tmpfile
 
-               package_phase = EbuildProcess(background=self.background,
+               package_phase = EbuildPhase(background=self.background,
                        phase='package', scheduler=self.scheduler,
                        settings=self.settings)