Matt Turner <matts...@gentoo.org> wrote: > >> || ( >=dev-lang/perl-5.14 virtual/perl-Term-ANSIColor ) >> and possibly change this if perl-5.20 does no longer contain >> perl-Term-ANSIColor. > > Isn't that exactly what the virtual should do?
One can discuss what it *should* do, but it is certainly not what happens, because the virtual exists in different versions: If you only depend on virtual/perl-Term-ANSIColor, it would currently install perl-core/Term-ANSIColor-4.20 *in addition* to the one provided by perl-5.14/5.16 (which is Term-ANSIColor-4.02 or -3.0.0, respectively). Note that it would be stupid to depend on e.g. =virtual/perl-Term-ANSIColor-4.02 for several reason: 1. The virtual does not even exist :) 2. It would collide with ebuilds depending on other versions. 3. This version is only reasonable if perl-5.16 is the perl version which the user has installed.