diff options
author | Marius Mauch <genone@gentoo.org> | 2007-01-11 09:09:34 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-01-11 09:09:34 +0000 |
commit | 7d65969dbcaf7f4902e12d446009f67c8fb757e5 (patch) | |
tree | 407d9f515292b42b89d26b698f4eba8d8e5796ca | |
parent | e626a6c4bdaefc87737a77814efd186fbf578626 (diff) | |
download | portage-7d65969dbcaf7f4902e12d446009f67c8fb757e5.tar.gz portage-7d65969dbcaf7f4902e12d446009f67c8fb757e5.tar.bz2 portage-7d65969dbcaf7f4902e12d446009f67c8fb757e5.zip |
Make FEATURES=test imply USE=test
svn path=/main/trunk/; revision=5551
-rw-r--r-- | pym/portage.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index 0f6f18376..b0505fba9 100644 --- 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 |