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:32:01
Message-Id: 20150907153151.GG14168@schiffbauer.net
In Reply to: Re: [gentoo-dev] <>-DEPENDS by Ian Stakenvicius
1 * Ian Stakenvicius schrieb am 07.09.15 um 16:41 Uhr:
2 > Why not just:
3 >
4 > DEPEND="
5 > dev-python/paramiko
6 > !~dev-python/paramiko-1.13.0
7 > "
8 >
9 > Depend on the package but block the individual atom(s) that don't work?
10
11 I like it. At least with the current possibilities. I was not aware that
12 "!~" is already a valid blocker.
13
14
15 >
16 > Given that there will be *very few* valid use cases for this type of
17 > syntax I don't know if it's such a good idea to add it. I expect
18 > adding this new syntax would be more likely to cause issues via
19 > improper usage than it would add a benefit or fill any massively
20 > pressing need...
21
22 Depending on how it is implemented, I think it would be intuitive to
23 use. I'd find having "=" vs. "!=" and "~" vs. "!~" straight forward.
24
25 You are of cource right that there is no "massively pressing need" atm.
26 But that was not always a reason for a new feature ;)
27
28 -Marc
29
30 --
31 0x35A64134 - 8AAC 5F46 83B4 DB70 8317
32 3723 296C 6CCA 35A6 4134

Attachments

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