projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6146bde
)
Inside depgraph._add_dep(), drop unnecessary build-time deps if there is
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:23:43 +0000
(
03:23
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:23:43 +0000
(
03:23
-0000)
no package available to satisfy it. (trunk r12549)
svn path=/main/branches/2.1.6/; revision=12835
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 7002335ddfa99558f8e3c0bfa9e06dcb9fe027fb..a21f414297d13f94e6313eaafb2b245236ce8071 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-4804,6
+4804,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