Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Depending on a range of slots
Date: Mon, 02 Nov 2015 23:32:00
Message-Id: 5637F262.70704@gentoo.org
In Reply to: Re: [gentoo-dev] Depending on a range of slots by hasufell
1 hasufell schrieb:
2 >>>> Followup question, which of these is less dumb?
3 >>>>
4 >>>> Option 1: berkdb? ( >=sys-libs/db-4:* <sys-libs/db-6:* )
5 >>>
6 >>> This doesn't mean what you think it means. A user who has db-3 and db-7
7 >>> installed satisfies that dependency.
8 >>>
9 >>
10 >> Indeed, thanks.
11 >>
12 >
13 > That's an interesting pitfall. I am pretty sure we have this kind of
14 > syntax a lot in the tree. Might make sense to document it.
15
16 It's ok and works as expected as long as you depend on only one slot.
17
18
19 Best regards,
20 Chí-Thanh Christopher Nguyễn