Gentoo Archives: gentoo-dev

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] <>-DEPENDS
Date: Mon, 07 Sep 2015 15:58:35
Message-Id: 20150907155808.GH14168@schiffbauer.net
In Reply to: Re: [gentoo-dev] <>-DEPENDS by "Michał Górny"
1 * Michał Górny schrieb am 07.09.15 um 17:16 Uhr:
2 > Dnia 2015-09-07, o godz. 14:35:07
3 > Marc Schiffbauer <mschiff@g.o> napisał(a):
4 >
5 > > I'd like to propose a new kind of DEPEND syntax: <>
6 > >
7 > > This would mean "Any version but the one specified" and is usefull when
8 > > you have a dependency on another package but a single version of it is
9 > > not compatible for example.
10 > >
11 > > I currently have this case in app-backup/obnam which is not compatible
12 > > to =dev-python/paramiko-1.13.0
13 > >
14 > > In DEPEND I now have this:
15 > >
16 > > !=dev-python/paramiko-1.13.0
17 > > || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
18 > >
19 > > which does the trick, but I think much more straight forward would be:
20 > >
21 > > <>dev-python/paramiko-1.13.0
22 > >
23 > > which would be the exact opposite of =dev-python/paramiko-1.13.0
24 >
25 > What if you want to exclude two versions? This looks like an even worse
26 > case of the > + < -dep problem.
27 >
28 > > An alternate syntax would be (but I'd prefer the former):
29 > >
30 > > !=dev-python/paramiko-1.13.0
31 >
32 > This is a blocker syntax, so it's used already.
33
34 OK thanks. And I ignored that fact in one of my other mails. So I guess
35 this ends up in: Never mind ;)
36
37
38
39 --
40 0x35A64134 - 8AAC 5F46 83B4 DB70 8317
41 3723 296C 6CCA 35A6 4134

Attachments

File name MIME type
signature.asc application/pgp-signature