Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: useflag policies
Date: Wed, 12 Aug 2015 15:09:09
Message-Id: 21963.24971.636400.468846@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Re: useflag policies by Alexis Ballier
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

Replies

Subject Author
Re: [gentoo-dev] Re: useflag policies Ian Stakenvicius <axs@g.o>
Re: [gentoo-dev] Re: useflag policies Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] Re: useflag policies Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>