From 3fcf296fdda7fa3f7c36d4d4c3ab55156fcd70fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Oct 2012 10:13:16 -0700 Subject: depgraph: use _match_slot in multislot match This amkes sub-slot matching work correctly. --- pym/_emerge/depgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index fd5dfe806..952d0618d 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3853,8 +3853,8 @@ class depgraph(object): for other_db, other_type, other_built, \ other_installed, other_keys in dbs: try: - if atom.slot == \ - other_db._pkg_str(_unicode(cpv), None).slot: + if portage.dep._match_slot(atom, + other_db._pkg_str(_unicode(cpv), None)): slot_available = True break except (KeyError, InvalidData): -- cgit v1.2.3-1-g7c22