virtual, defer category expansion so that the depgraph has more choices.
(trunk r9769)
svn path=/main/branches/2.1.2/; revision=9770
cat, atom_pn = portage.catsplit(null_cp)
virts_p = root_config.settings.get_virts_p().get(atom_pn)
if virts_p:
- virt_cp = portage.dep_getkey(virts_p[0])
- atom = null_atom.replace(null_cp, virt_cp)
+ # Allow the depgraph to choose which virtual.
+ atom = insert_category_into_atom(x, "virtual")
else:
atom = insert_category_into_atom(x, "null")