1 |
commit: b26576b2d4b3b5f99dde4d33003192be973401ce |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 20:23:13 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 20:23:13 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b26576b2 |
7 |
|
8 |
depgraph: ignore unwanted virtuals |
9 |
|
10 |
This fixes an unwanted side-effect from commit |
11 |
470871eeafa89a05486d4eb6f3f7626c1f813e4d. |
12 |
|
13 |
--- |
14 |
pym/_emerge/depgraph.py | 5 +++-- |
15 |
1 files changed, 3 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py |
18 |
index f55d84d..f1c111f 100644 |
19 |
--- a/pym/_emerge/depgraph.py |
20 |
+++ b/pym/_emerge/depgraph.py |
21 |
@@ -1477,8 +1477,9 @@ class depgraph(object): |
22 |
(virt_pkg.cpv, [str(x) for x in atoms]), |
23 |
noiselevel=-1, level=logging.DEBUG) |
24 |
|
25 |
- if not self._add_pkg(virt_pkg, virt_dep): |
26 |
- return 0 |
27 |
+ if not dep_priority.ignored: |
28 |
+ if not self._add_pkg(virt_pkg, virt_dep): |
29 |
+ return 0 |
30 |
|
31 |
for atom, child in self._minimize_children( |
32 |
pkg, self._priority(runtime=True), root_config, atoms): |