projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1651a12
)
Prevent packages that are installed but masked from being incorrectly flagged as...
author
Zac Medico
<zmedico@gentoo.org>
Tue, 16 Jan 2007 23:05:51 +0000
(23:05 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 16 Jan 2007 23:05:51 +0000
(23:05 -0000)
svn path=/main/trunk/; revision=5679
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 2ea696645001cb9f1267faf76861ef0153faaa3e..0b9c1f3a7e7ec50153b6b633a7b6f53c146701eb 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4045,7
+4045,10
@@
def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
all_available = True
for atom in atoms:
if not mydbapi.match(atom):
- if vardb and vardb.match(atom):
+ # With --usepkgonly, count installed packages as "available".
+ # Note that --usepkgonly currently has no package.mask support.
+ # See bug #149816.
+ if use_binaries and vardb and vardb.match(atom):
continue
all_available = False
break