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.2.0_alpha33~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=60c086dcb69472bfcea3cb61ffd87bd796d46671;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 21d7f4720..ff76fc641 100644 --- a/pym/_emerge/EbuildPhase.py +++ b/pym/_emerge/EbuildPhase.py @@ -105,7 +105,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():