Gentoo Archives: gentoo-dev

From: David Leverton <levertond@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Making built_with_use die by default with EAPI 2
Date: Sun, 21 Sep 2008 12:36:05
Message-Id: 200809211335.53107.levertond@googlemail.com
In Reply to: Re: [gentoo-dev] Making built_with_use die by default with EAPI 2 by Alexis Ballier
1 On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote:
2 > I can think of checks like:
3 > - foo is a dep/rdep of bar
4 > - foo has a "plugin like" architecture
5 > - bar will "work" with minimal foo
6 > - most people will expect some features in bar that come with foo's
7 > plugins
8 > - we might want to display warnings for the most useful features
9 > - having useflags in bar for each of foo's useflags doesn't seem wise
10
11 If you mean something like
12
13 built_with_use cat/foo coolfeature || ewarn "bar will be more useful if
14 you rebuild cat/foo with USE=coolfeature"
15
16 then you can use
17
18 has_version 'cat/foo[coolfeature]' || ...
19
20 instead.
21
22 > By the way, how will the --missing option of built_with_use be handled
23 > by eapi 2?
24
25 Not at all.

Replies