From 569bbe4747eceb70b3225101ec9c538b1db475aa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Sep 2011 07:31:10 -0700 Subject: [PATCH] depgraph: use Atom.with_slot() to match virtuals This ensures that USE deps and repo deps are preserved here. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 928f8dc88..3cb85dcef 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -6557,7 +6557,7 @@ class _dep_check_composite_db(dbapi): ret.append(pkg.cpv) slots.remove(pkg.metadata["SLOT"]) while slots: - slot_atom = Atom("%s:%s" % (atom.cp, slots.pop())) + slot_atom = atom.with_slot(slots.pop()) pkg, existing = self._depgraph._select_package( self._root, slot_atom) if not pkg: -- 2.26.2