From 618115ef705d495d199449bfbc9c6135a8f58f94 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 6 Nov 2011 22:32:30 -0800 Subject: [PATCH] Respect --usepkgonly in suggestions, bug #389617 --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index fcdcc6c4e..084864076 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3270,7 +3270,8 @@ class depgraph(object): all_cp = set() all_cp.update(vardb.cp_all()) - all_cp.update(portdb.cp_all()) + if "--usepkgonly" not in self._frozen_config.myopts: + all_cp.update(portdb.cp_all()) if "--usepkg" in self._frozen_config.myopts: all_cp.update(bindb.cp_all()) # discard dir containing no ebuilds -- 2.26.2