projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e626a6c
)
Make FEATURES=test imply USE=test
author
Marius Mauch
<genone@gentoo.org>
Thu, 11 Jan 2007 09:09:34 +0000
(09:09 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Thu, 11 Jan 2007 09:09:34 +0000
(09:09 -0000)
svn path=/main/trunk/; revision=5551
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 0f6f183764917f2b8691ca24dfcf23c0f5cc6095..b0505fba97ee391afe3d0cb5f04ac03787e42117 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1886,6
+1886,11
@@
class config:
usesplit = [ x for x in myflags if \
x not in self.usemask]
+
+ # FEATURES=test should imply USE=test
+ if "test" in self.configlist[-1]["FEATURES"] and not "test" in usesplit:
+ usesplit.append("test")
+
usesplit.sort()
# Use the calculated USE flags to regenerate the USE_EXPAND flags so