projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb4f64
)
Bug #275901 - Make emerge bail out for USE deps in EAPI 0 and 1.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 30 Jun 2009 09:15:52 +0000
(09:15 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 30 Jun 2009 09:15:52 +0000
(09:15 -0000)
svn path=/main/trunk/; revision=13743
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 947aea07b59a8a9490881563fc224cb362b0977e..a187bf56813f26be964c76c110f5836a90bf94f3 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-6909,6
+6909,10
@@
def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
eapi in ("0", "1") and portage.dep._dep_check_strict:
raise portage.exception.ParseError(
"invalid atom: '%s'" % (x,))
+ if x.use and eapi in ("0", "1") and \
+ portage.dep._dep_check_strict:
+ raise portage.exception.ParseError(
+ "invalid atom: '%s'" % (x,))
if repoman and x.use and x.use.conditional:
evaluated_atom = portage.dep.remove_slot(x)