I'm going to depclean and while going over the list, I see things like this: sys-devel/automake selected: 1.9.6-r3 protected: none omitted: 1.11.6-r1 1.15-r2 sys-devel/automake selected: 1.10.3 protected: none omitted: 1.11.6-r1 1.15-r2 sys-devel/automake selected: 1.12.6 protected: none omitted: 1.11.6-r1 1.15-r2 sys-devel/automake selected: 1.13.4 protected: none omitted: 1.11.6-r1 1.15-r2 sys-devel/automake selected: 1.14.1 protected: none omitted: 1.11.6-r1 1.15-r2 For all slots, that will remain installed, only one line "omitted" is printed listing all version, but for all version to be unmerged, the group will be repeated. I'd like to see this collapsed into one group like so: sys-devel/automake selected: 1.9.6-r3 1.10.3 1.12.6 1.13.4 1.14.1 protected: none omitted: 1.11.6-r1 1.15-r2 Reproducible: Always
The thing is, the list is ordered based on dependencies, so your desired output could conflict with the ordering constraint.
Ok, so, question: Does ordering matter at all? (It doesn't to me, up to now I didn't even know there is an intended ordering at all.) And even if it does: At least if dep order wouldn't conflict (like in the easy cases of multiple slots of the same package following immediatelly on each other), the collapsing should be done.