From: Zac Medico Date: Wed, 11 May 2011 23:50:15 +0000 (-0700) Subject: EbuildPhase: extract binpkg env for pkg_pretend X-Git-Tag: v2.1.9.49~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f1927572ba68ea9b43229e85dcd6a0732c420bd;p=portage.git EbuildPhase: extract binpkg env for pkg_pretend This will fix bug #366939. --- diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py index 5849e7797..66b6bc8bc 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -99,7 +99,7 @@ class EbuildPhase(CompositeTask): os.path.join(self.settings['PKGDIR'], self.settings['CATEGORY'], self.settings['PF']) + '.tbz2' - if self.phase == 'prerm': + if self.phase in ("pretend", "prerm"): env_extractor = BinpkgEnvExtractor(background=self.background, scheduler=self.scheduler, settings=self.settings) if env_extractor.saved_env_exists():