Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Pre-GLEP RFC: Automated enforcing of REQUIRED_USE constraints
Date: Sat, 08 Jul 2017 11:50:18
Message-Id: 20170708134956.12a2eab8@gentoo.org
In Reply to: Re: [gentoo-dev] Pre-GLEP RFC: Automated enforcing of REQUIRED_USE constraints by Ulrich Mueller
1 On Sat, 8 Jul 2017 12:26:59 +0200
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > | * An any-of group (||) evaluates to true if at least one of the
5 > | items in it evaluates to true.
6 > | * An exactly-one-of group (^^) evaluates to true if exactly one of
7 > | the items in it evaluates to true, and all the remaining items
8 > | evaluate to false.
9 > | * An at-most-one-of group (??) evaluates to true if at most one of
10 > | the items in it evaluates to true.
11 >
12 > It should be added that any empty group (|| or ^^ or ??) evalutates to
13 > true, because that's what PMS specifies:
14 > https://projects.gentoo.org/pms/6/pms.html#x1-780008.2
15
16 A bit OT, but that is *definitely* counter intuitive. What's the
17 rationale and usecase behind this ?

Replies

Subject Author
Re: [gentoo-dev] Pre-GLEP RFC: Automated enforcing of REQUIRED_USE constraints Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>