else:
names = sorted(set(names))
+ no_version = opts.no_version
categories.sort()
for category in categories:
continue
matches.append(cpv)
break
+ if no_version and matches:
+ break
elif opts.no_filters:
matches.extend(cpv_list)
else:
else:
if pkg.visible:
matches.append(cpv)
+ if no_version:
+ break
+
+ if no_version and matches:
+ break
if not matches:
continue
- if opts.no_version:
+ if no_version:
writemsg_stdout("%s\n" % (cp,), noiselevel=-1)
else:
- matches = sorted(set(matches),
- key=portage.versions.cpv_sort_key())
+ matches = list(set(matches))
+ portdb._cpv_sort_ascending(matches)
for cpv in matches:
writemsg_stdout("%s\n" % (cpv,), noiselevel=-1)