projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e99034a
)
When searching for "test" in IUSE, account for IUSE defaults.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2007 11:47:05 +0000
(11:47 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2007 11:47:05 +0000
(11:47 -0000)
(trunk r9128)
svn path=/main/branches/2.1.2/; revision=9129
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index a90ae56f5396ca252185136e656c09e9b454617d..90eccf963283cda6e98f0bac0201d64a6af4d802 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1941,7
+1941,7
@@
class config:
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 \