projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8803ef
)
Make atoms with wildcards in package.use work
author
Sebastian Luther
<SebastianLuther@gmx.de>
Fri, 23 Jul 2010 10:13:53 +0000
(12:13 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Jul 2010 16:47:13 +0000
(09:47 -0700)
pym/portage/package/ebuild/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/config.py
b/pym/portage/package/ebuild/config.py
index 10c91cf6f664cf7a348128d6ccf661c4507a65f1..9e55cc883657e4cef457ebdf01342b75e2b74ffa 100644
(file)
--- 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: