projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9929eaf
)
Respect --usepkgonly in suggestions, bug #389617
author
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Nov 2011 06:32:30 +0000
(22:32 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Nov 2011 06:32:30 +0000
(22:32 -0800)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index fcdcc6c4ebf0e2fdecd5f38e74068b9231bd63c5..084864076a5e88c62917bcf4177402e2ce1323fa 100644
(file)
--- 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