Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/
Date: Wed, 27 Mar 2013 04:15:44
Message-Id: 1364357725.90f0df42d8888d598e4a2f5cc891b2fcbef2f500.zmedico@gentoo
1 commit: 90f0df42d8888d598e4a2f5cc891b2fcbef2f500
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 27 04:15:25 2013 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 27 04:15:25 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=90f0df42
7
8 make.defaults: recurse directories
9
10 This makes behavior more consistent with handling of other files, as
11 discussed in bug #463266.
12
13 ---
14 pym/portage/package/ebuild/config.py | 4 ++--
15 1 files changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
18 index 1d2e4a6..318bb3d 100644
19 --- a/pym/portage/package/ebuild/config.py
20 +++ b/pym/portage/package/ebuild/config.py
21 @@ -524,7 +524,7 @@ class config(object):
22 mygcfg = {}
23 if self.profiles:
24 mygcfg_dlists = [getconfig(os.path.join(x, "make.defaults"),
25 - tolerant=tolerant, expand=expand_map)
26 + tolerant=tolerant, expand=expand_map, recursive=True)
27 for x in self.profiles]
28 self._make_defaults = mygcfg_dlists
29 mygcfg = stack_dicts(mygcfg_dlists,
30 @@ -638,7 +638,7 @@ class config(object):
31 self._repo_make_defaults = {}
32 for repo in self.repositories.repos_with_profiles():
33 d = getconfig(os.path.join(repo.location, "profiles", "make.defaults"),
34 - tolerant=tolerant, expand=self.configdict["globals"].copy()) or {}
35 + tolerant=tolerant, expand=self.configdict["globals"].copy(), recursive=True) or {}
36 if d:
37 for k in chain(self._env_blacklist,
38 profile_only_variables, self._global_only_vars):