Gentoo Archives: gentoo-dev

From: Eivind Tagseth <eivindt-gentoo@××××××××.no>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ebuild dependencies
Date: Tue, 30 Mar 2004 07:23:27
Message-Id: 20040330072324.GB5248@tagseth-trd.consultit.no
In Reply to: [gentoo-dev] ebuild dependencies by Lukasz Strzygowski
1 * Lukasz Strzygowski <lucass@××××××.pl> [2004-03-29 21:10:42 +0200]:
2
3 > hello guys,
4 >
5 > i want my ebuild to depend on a package merged with specified use
6 > flag (concrete on pygtk with support for gnome). how can i do it?
7
8
9 I guess you could do something like this:
10
11 grep -q "\<gnome\>" /var/db/pkg/dev-python/pygtk-2.0.0*/USE
12
13 and issue a warning/error to the user explaining the situation if gnome
14 support was not enabled for pygtk?
15
16
17
18 Eivind
19
20
21 --
22 gentoo-dev@g.o mailing list