summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-16 20:56:47 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-16 20:56:47 +0000
commita11d20f4e05ff22d07fd557ba47bd98070f51949 (patch)
tree5bf1dd11697330855e195eaa42c754a07b38ceb2
parentFor consistency, respect the use_binaries flag inside _expand_new_virtuals(). (diff)
downloadportage-multirepo-a11d20f4e05ff22d07fd557ba47bd98070f51949.tar.gz
portage-multirepo-a11d20f4e05ff22d07fd557ba47bd98070f51949.tar.bz2
portage-multirepo-a11d20f4e05ff22d07fd557ba47bd98070f51949.zip
Allow --usepkgonly/--getbinpkgonly to work with installed deps when binpkgs aren't available for some packages. Thanks to Brent Baude <ranger@gentoo.org> for reporting.
svn path=/main/trunk/; revision=5675
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index a45f62cc..2ea69664 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4045,6 +4045,8 @@ 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):
+ continue
all_available = False
break