Dne neděle 04 Leden 2009 16:34:02 Nirbheek Chauhan napsal(a): > On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer <fa...@gentoo.org> wrote: > > Hi, > > > > regarding USE dependencies what is the correct way if a package needs > > one out of two USE flags? > > > > || ( cat-egory/package[foo] cat-egory/package[bar] ) > > That's the way right now as per portage EAPI=2 doc[1] > > > or is there something else? > > A short-cut for this would be similar in scope to > http://bugs.gentoo.org/show_bug.cgi?id=238887 > > /me thinks cat-egory/pkg[use1|use2] would be a nice way :) > > 1. > http://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-eapi >-2-draft This is all nice but i had one issue which was like this: i have package with use foo and package2 with use bar and package with foo depend on package2 with bar.
so this is not eapi2 incely handleable, what i would like to do is using arrows or something like that package2[foo?->bar] or package2[foo->bar?] now i handle it that way both packages have same useflag.
signature.asc
Description: This is a digitally signed message part.