Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Depending on a range of slots
Date: Mon, 02 Nov 2015 19:34:19
Message-Id: 5637BAA5.5090700@gentoo.org
In Reply to: Re: [gentoo-dev] Depending on a range of slots by Ciaran McCreesh
1 On 11/02/2015 02:21 PM, Ciaran McCreesh wrote:
2 > On Mon, 2 Nov 2015 12:48:29 -0500
3 > Michael Orlitzky <mjo@g.o> wrote:
4 >> Is there a way to say "give me any 4.x or 5.x slot"?
5 >
6 > No. Slots are meaningless strings and do not support any comparison
7 > except equality.
8 >
9
10 Followup question, which of these is less dumb?
11
12 Option 1: berkdb? ( >=sys-libs/db-4:* <sys-libs/db-6:* )
13
14 Option 2: berkdb? ( || ( sys-libs/db:4.2 ... sys-libs/db:5.3 ) )

Replies

Subject Author
Re: [gentoo-dev] Depending on a range of slots Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] Depending on a range of slots "Michał Górny" <mgorny@g.o>