projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61226d0
)
When searching for "test" in IUSE, account for IUSE defaults.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2007 11:43:03 +0000
(11:43 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2007 11:43:03 +0000
(11:43 -0000)
svn path=/main/trunk/; revision=9128
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index c9db5e9fdc28d601b0e535552496ae42fac322b5..a9d430071522732d712cb0e98bb48cf90a8d8b91 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1911,7
+1911,7
@@
class config(object):
test_use_changed = False
if "test" in self.features:
test_use_changed = \
-
("test" in iuse.split(
)) != \
+
bool(re.search(r'(^|\s)[-+]?test(\s|$)', iuse
)) != \
("test" in self.get("PORTAGE_USE","").split())
if self.get("EBUILD_PHASE") or \
self._use_wildcards or \