Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [Bug 44796] Per package environment variables
Date: Sat, 05 Nov 2005 07:29:37
Message-Id: 200511051630.14804.jstubbs@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [Bug 44796] Per package environment variables by Alec Warner
1 On Saturday 05 November 2005 15:21, Alec Warner wrote:
2 > Jason Stubbs wrote:
3 > > On Saturday 05 November 2005 05:08, Thomas de Grenier de Latour wrote:
4 > >
5 > > Most operate only on the bash side and/or within doebuild (which should
6 > > be getting a setcpv()'d settings object already) so should work. The rest
7 > > just require setcpv() to be called and/or relocated.
8 > >
9 > >>Oh, and something i've just wondered about and i prefer to mention
10 > >>before i forget: what about USE_EXPAND variables? Are they handled
11 > >>fine with the current patch, or is the "variable -> USE flags"
12 > >>conversion done only once for all in portage?
13 > >
14 > > There's a block of code near the end of config.__init__ that sets up
15 > > USE_EXPAND. This block would need to be moved into regenerate().
16 > >
17 > > --
18 > > Jason Stubbs
19 >
20 > 2.0.53_rc7, that code has already moved to regenerate(), I know because
21 > I was messing with it today. So that bit should be done :)
22
23 Hmm.. It is there. I got the context wrong. portage-2.0.51.22 has it at the
24 end of regenerate() as well, so no adjustments needed at all.
25
26 --
27 Jason Stubbs
28 --
29 gentoo-portage-dev@g.o mailing list