projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f42487
)
Inside depgraph._add_dep(), drop unnecessary build-time deps if there is
author
Zac Medico
<zmedico@gentoo.org>
Thu, 22 Jan 2009 21:33:50 +0000
(21:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 22 Jan 2009 21:33:50 +0000
(21:33 -0000)
no package available to satisfy it.
svn path=/main/trunk/; revision=12549
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index c45b760f837ceada881235e7d4a2766dd39e1613..d1fcfc1c6f55612e18db0807c9238d7dc93ad8ac 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-4820,6
+4820,10
@@
class depgraph(object):
dep_pkg, existing_node = self._select_package(dep.root, dep.atom,
onlydeps=dep.onlydeps)
if not dep_pkg:
+ if dep.satisfied:
+ # This could be an unecessary build-time dep
+ # pulled in by --with-bdeps=y.
+ return 1
if allow_unsatisfied:
self._unsatisfied_deps.append(dep)
return 1