Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Making built_with_use die by default with EAPI 2
Date: Mon, 22 Sep 2008 20:25:26
Message-Id: 48D7FF30.1040709@gentoo.org
In Reply to: Re: [gentoo-dev] Making built_with_use die by default with EAPI 2 by David Leverton
1 David Leverton kirjoitti:
2 > On Saturday 20 September 2008 18:15:27 Alexis Ballier wrote:
3 >> I can think of checks like:
4 >> - foo is a dep/rdep of bar
5 >> - foo has a "plugin like" architecture
6 >> - bar will "work" with minimal foo
7 >> - most people will expect some features in bar that come with foo's
8 >> plugins
9 >> - we might want to display warnings for the most useful features
10 >> - having useflags in bar for each of foo's useflags doesn't seem wise
11 >
12 > If you mean something like
13 >
14 > built_with_use cat/foo coolfeature || ewarn "bar will be more useful if
15 > you rebuild cat/foo with USE=coolfeature"
16 >
17 > then you can use
18 >
19 > has_version 'cat/foo[coolfeature]' || ...
20 >
21 > instead.
22 >
23
24 What does this report if cat/foo does not have coolfeature use flag in
25 some version? Meaning can this support cases which need --missing true.
26
27 Regards,
28 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Making built_with_use die by default with EAPI 2 "Bo Ørsted Andresen" <bo.andresen@××××.dk>