for cpv in portdb.match(match_atom):
# only use new-style matches
if cpv.startswith("virtual/"):
- pkgs[cpv] = (cpv, pkgsplit(cpv), portdb)
+ pkgs[cpv] = (cpv, catpkgsplit(cpv)[1:], portdb)
if kwargs["use_binaries"] and "vartree" in trees[myroot]:
vardb = trees[myroot]["vartree"].dbapi
for cpv in vardb.match(match_atom):
if cpv.startswith("virtual/"):
if cpv in pkgs:
continue
- pkgs[cpv] = (cpv, pkgsplit(cpv), vardb)
+ pkgs[cpv] = (cpv, catpkgsplit(cpv)[1:], vardb)
if not (pkgs or mychoices):
# This one couldn't be expanded as a new-style virtual. Old-style
# virtuals have already been expanded by dep_virtual, so this one