Gentoo Archives: gentoo-portage-dev

From: Bertrand Simonnet <bsimonnet@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific
Date: Tue, 16 Sep 2014 21:37:07
Message-Id: CAKQxsKZZ-6VSvNY_1Zxevs2KfdJfJCm3Mo6xshhWjT=tZ_p8rw@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific by Zac Medico
1 On Tue, Sep 16, 2014 at 12:17 PM, Zac Medico <zmedico@g.o> wrote:
2
3 > On 09/16/2014 11:17 AM, Bertrand Simonnet wrote:
4 > > I moved the profile attributes detection logic into the python side as
5 > > suggested (much cleaner).
6 >
7 > Thanks, that's better. I've got a couple more issues though:
8 >
9 > 1) Like global functions, global variables should also be unset in
10 > __save_ebuild_env. So, we should unset PORTAGE_PROFILE_ATTRIBUTES there.
11 >
12 Done
13
14 2) Instead of having _get_profile_attributes read the layout.conf files
15 > directly, it would be nicer if we could integrated it with the
16 > LocationsManager layout.conf parsing. For example, see the
17 > intersecting_repos code inside the _addProfile method.
18 >
19 This is much better. :)
20
21
22 > --
23 > Thanks,
24 > Zac
25 >
26 >

Attachments

File name MIME type
0001-Make-env-bash-scripts-profile-specific.patch text/x-patch

Replies