Gentoo Archives: gentoo-dev

From: konsolebox <konsolebox@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage.
Date: Mon, 14 Sep 2015 07:13:43
Message-Id: CAJnmqwYJn=teBS9Q+OBe7Jerx-Y+9hC=_4ioe1g4FX8QvP2v3g@mail.gmail.com
In Reply to: Re: [gentoo-dev] Request to add ~> atom prefix operator on Portage. by "Paweł Hajdan
1 On Mon, Sep 14, 2015 at 2:29 PM, Paweł Hajdan, Jr.
2 <phajdan.jr@g.o> wrote:
3 > On 9/14/15 6:35 AM, konsolebox wrote:
4 >> Many times we need to match packages like this: something-1.0.2a.*
5 >
6 > Could you give specific examples, i.e. what packages, what dependencies,
7 > why is that needed?
8
9 For accuracy and peace of mind regardless of how often conflicts could
10 happen. I want to write rules in /etc/portage/package.* and specify
11 dependencies in ebuilds without minding that one atom expression could
12 unexpectedly match another package version on later time. I can't
13 give any example yet, but we know that if pkg-4.1.2 exists and
14 pkg-4.10.0 exists as well, then we can't use '=pkg-4.1*' to only
15 target pkg-4.1.*. This could also happen more often with packages
16 having 4 version numbers.

Replies