projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4cb212
)
Decrease priority on --onlydpes dependencies so that
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Apr 2008 00:44:08 +0000
(
00:44
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Apr 2008 00:44:08 +0000
(
00:44
-0000)
--buildpkgonly hasallzeros() works correctly.
svn path=/main/trunk/; revision=9697
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 33a4aed25c81bc9f93350788a65e9b0356e0d4da..531a08d0f2b6610ad862417601229a6a0ee87860 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-1927,6
+1927,10
@@
class depgraph(object):
strict = mytype != "installed"
try:
for dep_root, dep_string, dep_priority in deps:
+ if pkg.onlydeps:
+ # Decrease priority so that --buildpkgonly
+ # hasallzeros() works correctly.
+ dep_priority = DepPriority()
if not dep_string:
continue
if debug: