From: Sebastian Luther Date: Fri, 23 Jul 2010 10:13:53 +0000 (+0200) Subject: Make atoms with wildcards in package.use work X-Git-Tag: v2.2_rc68~477 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd52bd0e2f7dd70508c7d7eea47587c715f4d3c3;p=portage.git Make atoms with wildcards in package.use work --- diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 10c91cf6f..9e55cc883 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -1497,7 +1497,11 @@ class config(object): has_changed = True oldpuse = self.puse self.puse = "" - cpdict = self.pusedict.get(cp) + cpdict = {} + cpdict.update(self.pusedict.get("*/*", {})) + cpdict.update(self.pusedict.get(cat+"/*", {})) + cpdict.update(self.pusedict.get("*/"+cp.split("/")[1], {})) + cpdict.update(self.pusedict.get(cp, {})) if cpdict: keys = list(cpdict) while keys: