On Fri, 11 Nov 2016 11:31:17 +0100
Ulrich Mueller <u...@gentoo.org> wrote:
> So, here is a counter proposal, following the KISS principle as much
> as possible:
> 
> 1. Existing dependency syntax will be allowed indefinitely.

As long as I'm not forced to use that crap, I'm fine with it.

> 2. Version restrictions can go into a bracket delimited group
>    after the package name, e.g. dev-foo/bar:4[>=4.11,<4.20].
>    (Alternatively, parentheses () could be used instead of brackets.)
> 
>    a) Inside a group, the existing operators = < > <= >= ~ *
>       have their established meaning.
>    b) Several conditions can be combined (logical AND) with a comma.
>    c) Old and new syntax must not be combined.
>       For example, >=dev-foo/bar-4.11[<4.20] is not allowed.
>    d) Empty [] groups are not allowed.
> 
> 3. If necessary (personally, I don't think it is) we can add an
>    operator for inequality with a consistent meaning in all contexts.
>    Since the exclamation mark is used for blockers, <> could be used
>    for that.

What about the negation of ~? It is more likely necessary than negation
of =.

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

Attachment: pgp7sRGtukgD8.pgp
Description: OpenPGP digital signature

Reply via email to