Re: [gentoo-dev] USE dependencies

2009-01-05 Thread Nirbheek Chauhan
On Mon, Jan 5, 2009 at 2:01 PM, Nirbheek Chauhan wrote: > > use cairo && built_with_use category/cairo X > use avahi && built_with_use net-dns/avahi gtk Oops, sorry, I misunderstood what you were saying; I agree; most of the cases are of the type use1? ( cat/pkg1[use2] ) !use1? ( ) And if use1

Re: [gentoo-dev] USE dependencies

2009-01-05 Thread Nirbheek Chauhan
On Sun, Jan 4, 2009 at 10:28 PM, David Leverton wrote: > On Sunday 04 January 2009 16:48:38 Nirbheek Chauhan wrote: >> On the contrary, the reverse of what you say is true. A simple grep of >> the tree showed that: > > In how many of those ebuilds would the long form be >use1? ( cat/pkg[use2]

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Ciaran McCreesh
On Sun, 4 Jan 2009 22:18:38 +0530 "Nirbheek Chauhan" wrote: > On Sun, Jan 4, 2009 at 9:38 PM, Ciaran McCreesh > wrote: > > On Sun, 4 Jan 2009 21:34:18 +0530 > > "Nirbheek Chauhan" wrote: > >> How about this: > > > > It's utterly useless. Unlike the existing shortcut forms, what > > you're after

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread David Leverton
On Sunday 04 January 2009 16:48:38 Nirbheek Chauhan wrote: > On the contrary, the reverse of what you say is true. A simple grep of > the tree showed that: In how many of those ebuilds would the long form be use1? ( cat/pkg[use2] ) rather than use1? ( cat/pkg[use2] ) !use1? ( cat/pkg ) ?

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Nirbheek Chauhan
On Sun, Jan 4, 2009 at 9:38 PM, Ciaran McCreesh wrote: > On Sun, 4 Jan 2009 21:34:18 +0530 > "Nirbheek Chauhan" wrote: >> How about this: > > It's utterly useless. Unlike the existing shortcut forms, what you're > after isn't widely enough used to warrant its own shortcut. Use the > expanded form

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Ciaran McCreesh
On Sun, 4 Jan 2009 21:34:18 +0530 "Nirbheek Chauhan" wrote: > How about this: > > New syntaxExpanded syntax > Extension of > > pkg[foo?bar] foo? ( cat/pkg

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Nirbheek Chauhan
On Sun, Jan 4, 2009 at 9:16 PM, Tomáš Chvátal wrote: > 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

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Ciaran McCreesh
On Sun, 4 Jan 2009 16:46:06 +0100 Tomáš Chvátal wrote: > 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 > u

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Tomáš Chvátal
Dne neděle 04 Leden 2009 16:34:02 Nirbheek Chauhan napsal(a): > On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer 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

Re: [gentoo-dev] USE dependencies

2009-01-04 Thread Nirbheek Chauhan
On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer 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 s

[gentoo-dev] USE dependencies

2009-01-04 Thread Christian Faulhammer
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] ) or is there something else? V-Li -- Christian Faulhammer, Gentoo Lisp project http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode