From: Zac Medico Date: Sun, 22 Oct 2006 02:56:51 +0000 (-0000) Subject: Fix visibility checks so that binary packages aren't masked just because there is... X-Git-Tag: v2.1.2~576 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06750592dcbc9dbddceb10d821d26c4a7ca9a519;p=portage.git Fix visibility checks so that binary packages aren't masked just because there is no matching ebuild in the tree. svn path=/main/trunk/; revision=4788 --- diff --git a/bin/emerge b/bin/emerge index 7acc3500b..86a26b7f2 100755 --- a/bin/emerge +++ b/bin/emerge @@ -967,7 +967,9 @@ class depgraph: pkgsettings = self.pkgsettings[myroot] arg_atoms = [] def visible(mylist): - return portdb.gvisible(portdb.visible(mylist)) + matches = portdb.gvisible(portdb.visible(mylist)) + return [x for x in mylist \ + if x in matches or not portdb.cpv_exists(x)] for x in myfiles: ext = os.path.splitext(x)[1] if ext==".tbz2": @@ -1569,7 +1571,9 @@ class depgraph: portdb = self.trees[self.target_root]["porttree"].dbapi bindb = self.trees[self.target_root]["bintree"].dbapi def visible(mylist): - return portdb.gvisible(portdb.visible(mylist)) + matches = portdb.gvisible(portdb.visible(mylist)) + return [x for x in mylist \ + if x in matches or not portdb.cpv_exists(x)] world_problems = False if mode=="system": mylist = getlist(self.settings, "system")