Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Depending on a range of slots
Date: Mon, 02 Nov 2015 17:48:47
Message-Id: 5637A1ED.4070107@gentoo.org
1 In the dev-lang/php ebuilds, we currently have:
2
3 DEPEND="... berkdb? ( =sys-libs/db-4* ) ..."
4
5 PHP will actually accept any 4.x or 5.x version of db; the ./configure
6 flag is poorly-named:
7
8 https://bugs.gentoo.org/show_bug.cgi?id=521222
9
10 Now, we also get repoman warnings for not specifying a slot on that
11 dependency. But sys-libs/db has a bunch of 4.x and 5.x slots:
12
13 * sys-libs/db
14 Available versions:
15 (1) 1.85-r3
16 (3) 3.2.9_p2
17 (4.2) 4.2.52_p5-r1
18 (4.3) 4.3.29_p1-r1
19 (4.4) ~4.4.20_p4-r1
20 (4.5) 4.5.20_p2-r1
21 (4.6) 4.6.21_p4
22 (4.7) 4.7.25_p4
23 (4.8) 4.8.30-r1 4.8.30-r2
24 (5.1) ~5.1.29-r1
25 (5.3) ~5.3.28-r2
26 (6.0) ~6.0.30-r1 ~6.0.35
27 (6.1) [M]~6.1.26
28
29 Is there a way to say "give me any 4.x or 5.x slot"?

Replies

Subject Author
Re: [gentoo-dev] Depending on a range of slots Kristian Fiskerstrand <k_f@g.o>
Re: [gentoo-dev] Depending on a range of slots Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>