Gentoo Archives: gentoo-dev

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] <>-DEPENDS
Date: Mon, 07 Sep 2015 12:35:20
Message-Id: 20150907123507.GB14168@schiffbauer.net
1 Hi,
2
3
4 I'd like to propose a new kind of DEPEND syntax: <>
5
6 This would mean "Any version but the one specified" and is usefull when
7 you have a dependency on another package but a single version of it is
8 not compatible for example.
9
10 I currently have this case in app-backup/obnam which is not compatible
11 to =dev-python/paramiko-1.13.0
12
13 In DEPEND I now have this:
14
15 !=dev-python/paramiko-1.13.0
16 || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
17
18 which does the trick, but I think much more straight forward would be:
19
20 <>dev-python/paramiko-1.13.0
21
22 which would be the exact opposite of =dev-python/paramiko-1.13.0
23
24 An alternate syntax would be (but I'd prefer the former):
25
26 !=dev-python/paramiko-1.13.0
27
28 What do you think and would is the proper way to suggest this for a new
29 EAPI? A new bug? On what?
30
31 TIA
32 -Marc
33
34 --
35 0x35A64134 - 8AAC 5F46 83B4 DB70 8317
36 3723 296C 6CCA 35A6 4134

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] <>-DEPENDS Jauhien Piatlicki <jauhien@g.o>
Re: [gentoo-dev] <>-DEPENDS Ulrich Mueller <ulm@g.o>
Re: [gentoo-dev] <>-DEPENDS Kent Fredric <kentfredric@×××××.com>
Re: [gentoo-dev] <>-DEPENDS Ian Stakenvicius <axs@g.o>
Re: [gentoo-dev] <>-DEPENDS "Michał Górny" <mgorny@g.o>