Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage.
Date: Mon, 14 Sep 2015 20:52:21
Message-Id: 22007.13174.665096.806983@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. by "Andreas K. Huettel"
1 >>>>> On Mon, 14 Sep 2015, Andreas K Huettel wrote:
2
3 > Am Montag, 14. September 2015, 15:11:35 schrieb Ulrich Mueller:
4 >> I could find only two instances of string prefix matching in the tree:
5 >>
6 >> - autotools.eclass depends on "=sys-devel/autoconf-2.1*" (with
7 >> WANT_AUTOCONF=2.1).
8 >> - media-video/nvidia-settings has "=x11-drivers/nvidia-drivers-3*".
9
10 > How *could* you overlook the Perl virtuals? :)
11 > (about 150 instances of =dev-lang/perl-5.22* or similar)
12
13 Nope, these use the asterisk for matching of a version component
14 range. So there is no string prefix ending in the middle of a
15 component.
16
17 In other words, =dev-lang/perl-5.22* matches version 5.22.0, so
18 no version component is cut into pieces. Which is different for
19 =sys-devel/autoconf-2.1* matching version 2.13.
20
21 Ulrich