public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r15084 - main/branches/2.1.7/pym/portage
@ 2009-12-13  3:54 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-12-13  3:54 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-12-13 03:54:07 +0000 (Sun, 13 Dec 2009)
New Revision: 15084

Modified:
   main/branches/2.1.7/pym/portage/__init__.py
Log:
Unset prefix vars for depend phase (even if EAPI is known). (trunk r15050)

Modified: main/branches/2.1.7/pym/portage/__init__.py
===================================================================
--- main/branches/2.1.7/pym/portage/__init__.py	2009-12-13 03:53:58 UTC (rev 15083)
+++ main/branches/2.1.7/pym/portage/__init__.py	2009-12-13 03:54:07 UTC (rev 15084)
@@ -3777,8 +3777,7 @@
 			mydict.pop("AA", None)
 
 		# Prefix variables are supported starting with EAPI 3.
-		# eapi is None for 'depend' phase
-		if eapi in (None, "0", "1", "2"):
+		if phase == 'depend' or eapi in (None, "0", "1", "2"):
 			mydict.pop("ED", None)
 			mydict.pop("EPREFIX", None)
 			mydict.pop("EROOT", None)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-13  3:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-13  3:54 [gentoo-commits] portage r15084 - main/branches/2.1.7/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox