1 |
>>>>> On Wed, 12 Aug 2015, Alexis Ballier wrote: |
2 |
|
3 |
> i.e. something that really tells the PM how to automate the choice: |
4 |
> - 'qt5 -> !qt4' is rather straightforward to solve and tells the PM how |
5 |
> (note that it is not equivalent to 'qt4 -> !qt5') |
6 |
> - '^^ ( qt5 qt4 )' requires the PM to make a choice in order to |
7 |
> automate it |
8 |
|
9 |
I was thinking about some syntax like this: |
10 |
|
11 |
REQUIRED_USE="|| ( +foo bar ) ^^ ( +qt5 -qt4 )" |
12 |
|
13 |
The package manager would first evaluate each group in REQUIRED_USE |
14 |
with the original set of USE flags. If that doesn't evaluate to true, |
15 |
retry with flags changed as indicated by the + and - signs. |
16 |
|
17 |
Ulrich |