From 7d65969dbcaf7f4902e12d446009f67c8fb757e5 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 11 Jan 2007 09:09:34 +0000 Subject: Make FEATURES=test imply USE=test svn path=/main/trunk/; revision=5551 --- pym/portage.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22