Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: Future EAPI version operator changes
Date: Wed, 09 Nov 2016 13:31:43
Message-Id: 72dceb7a-7c27-15a4-ec74-725795fce514@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: Future EAPI version operator changes by "Michał Górny"
1 On 11/09/2016 02:42 AM, Michał Górny wrote:
2 >
3 >> apache2? ( www-servers/apache[apache2_modules_cgi] >= 2.4 ),
4 >
5 > In what order is that interpreted? Remember that you aren't allowed to
6 > reference USE flags not in IUSE without (+) and (-). So if things are
7 > parsed left-to-right, you may end up applying an invalid USE
8 > restriction before the version restriction.
9 >
10
11 Equivalent to >=www-servers/apache-2.4[apache2_modules_cgi]. The wording
12 of the PMS might need to be changed, but it makes no difference if you
13 think of the USE constraint as being applied before or after the version
14 constraint. In other words, we could make the rule: you can't reference
15 versions that don't meet a USE constraint without (+) or (-).