Gentoo Archives: gentoo-portage-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [RFC] Store [,R,P]DEPEND with unevaluated use conditionals in vdb
Date: Sat, 24 Apr 2010 19:31:30
Message-Id: 20100424192853.GA16877@hrair
In Reply to: Re: [gentoo-portage-dev] [RFC] Store [,R,P]DEPEND with unevaluated use conditionals in vdb by Zac Medico
1 On Sat, Apr 24, 2010 at 11:27:49AM -0700, Zac Medico wrote:
2 > On 04/24/2010 11:00 AM, Sebastian Luther wrote:
3 > > Am 24.04.2010 13:32, schrieb Gentoo:
4 > >> On Fri, 2010-04-23 at 22:31 -0700, Zac Medico wrote:
5 > >>> On 04/23/2010 05:43 AM, Sebastian Luther wrote:
6 > >>>> Someone might come up with some logic to detect new use flags in
7 > >>>> *DEPEND, but this looks like a hack to me.
8 > >>>
9 > >>> It doesn't seem too bad to me.
10 > >
11 > > It doesn't work, because it's not guaranteed, that only use flag from
12 > > IUSE are used in use conditionals. That means you can't do it reliably
13 > > without the unevaluated value.
14 >
15 > We can and should add a check to repoman to enforce this. It's long
16 > overdue. The flags already cannot be enabled unless they are in
17 > IUSE, since portage filters them (except for special things like
18 > use.force).
19
20 Offhand, the tree should be clean on this account- pcheck has scanned
21 for it since near day one. You also need to scan LICENSE, SRC_URI,
22 and RESTRICT btw.
23
24 ~brian