From 23df221085a894d8ee2901bc235185491d978d08 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Feb 2008 01:26:13 +0000 Subject: [PATCH] Bug #208708 - Fix warnings for system or world packages that are masked. svn path=/main/trunk/; revision=9289 --- pym/_emerge/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e8b741086..efb863565 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2082,7 +2082,9 @@ class depgraph(object): continue pkg, existing_node = self._select_package( myroot, atom, onlydeps=onlydeps) - if not pkg: + if not pkg or \ + (pkg.installed and portdb.xmatch("match-all", atom) \ + and not portdb.xmatch("bestmatch-visible", atom)): if not (isinstance(arg, SetArg) and \ arg.name in ("system", "world")): self._show_unsatisfied_dep(myroot, atom) -- 2.26.2