Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] don't rely on dynamic deps
Date: Sat, 26 Jul 2014 12:08:52
Message-Id: 21459.39499.864720.844015@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] don't rely on dynamic deps by Tom Wijsman
1 >>>>> On Wed, 23 Jul 2014, Tom Wijsman wrote:
2
3 > Using an extension like -rX.Y seems odd; at the very least, I think
4 > an incremental variable or something along that line in the ebuild
5 > would work better.
6
7 It would also account for changes in eclasses, which any scheme bound
8 to the ebuild's filename cannot do.
9
10 > This allows for array usage like VERSION[dependencies]=1, thus
11 > allowing other variables to be dynamic as well; you compare that
12 > number against the one in the vdb, bingo...
13
14 Taking this one step further, I wonder if one couldn't directly
15 compare *DEPEND in the ebuild against the one in the VDB. Why would
16 one need to introduce another variable?
17
18 Ulrich