Gentoo Archives: gentoo-dev

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage.
Date: Mon, 14 Sep 2015 06:20:06
Message-Id: CAATnKFBRPqKcUscwR1ZdrApCdmSSMT_VyRtDNfPVSWjGRXqgcA@mail.gmail.com
In Reply to: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. by konsolebox
1 On 14 September 2015 at 18:09, konsolebox <konsolebox@×××××.com> wrote:
2 > Because they could also match pkg-1.0.2aa
3
4
5 I don't believe it works that way.
6
7 That would imply
8
9 =pkg-1.0.2* would match 1.0.20
10
11 When it only matches 1.0.2 and 1.0.2.*
12
13 You're reading it in shell glob notation and not the portage notation,
14 that the trailing dot is *implied*, which is why explictly stating it
15 is illegal.
16
17 https://devmanual.gentoo.org/general-concepts/dependencies/index.html#ranged-dependencies
18
19 > To specify "version 2.x (not 1.x or 3.x)" of a package, it is necessary to use the asterisk postfix.
20 > Note that the equals sign is mandatory, and that there is no dot before the asterisk.
21
22
23
24
25 --
26 Kent
27
28 KENTNL - https://metacpan.org/author/KENTNL

Replies