Gentoo Archives: gentoo-dev

From: "Tomáš Chvátal" <scarabeus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE dependencies
Date: Sun, 04 Jan 2009 15:46:48
Message-Id: 200901041646.09553.scarabeus@gentoo.org
In Reply to: Re: [gentoo-dev] USE dependencies by Nirbheek Chauhan
1 Dne neděle 04 Leden 2009 16:34:02 Nirbheek Chauhan napsal(a):
2 > On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer <fauli@g.o>
3 wrote:
4 > > Hi,
5 > >
6 > > regarding USE dependencies what is the correct way if a package needs
7 > > one out of two USE flags?
8 > >
9 > > || ( cat-egory/package[foo] cat-egory/package[bar] )
10 >
11 > That's the way right now as per portage EAPI=2 doc[1]
12 >
13 > > or is there something else?
14 >
15 > A short-cut for this would be similar in scope to
16 > http://bugs.gentoo.org/show_bug.cgi?id=238887
17 >
18 > /me thinks cat-egory/pkg[use1|use2] would be a nice way :)
19 >
20 > 1.
21 > http://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-eapi
22 >-2-draft
23 This is all nice but i had one issue which was like this:
24 i have package with use foo and package2 with use bar
25 and package with foo depend on package2 with bar.
26
27 so this is not eapi2 incely handleable, what i would like to do is using
28 arrows or something like that
29
30 package2[foo?->bar] or package2[foo->bar?]
31
32 now i handle it that way both packages have same useflag.

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] USE dependencies Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] USE dependencies Nirbheek Chauhan <nirbheek.chauhan@×××××.com>