projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4bdce
)
_pkg_visibility_check: if in graph then visible
author
Zac Medico
<zmedico@gentoo.org>
Wed, 18 May 2011 04:37:08 +0000
(21:37 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 18 May 2011 04:37:08 +0000
(21:37 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index e1557a1b5846839f4906fab5c6807d33030d94d5..4789a0ca2060dc477ea34494e36e659e6bef2288 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-3324,6
+3324,15
@@
class depgraph(object):
if pkg.visible:
return True
+ if pkg in self._dynamic_config.digraph:
+ # Sometimes we need to temporarily disable
+ # dynamic_config._autounmask, but for overall
+ # consistency in dependency resolution, in any
+ # case we want to respect autounmask visibity
+ # for packages that have already been added to
+ # the dependency graph.
+ return True
+
if not self._dynamic_config._autounmask:
return False