From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LJVBe-0005CJ-Eq for garchives@archives.gentoo.org; Sun, 04 Jan 2009 15:46:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46578E0334; Sun, 4 Jan 2009 15:46:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EF7DBE0334 for ; Sun, 4 Jan 2009 15:46:44 +0000 (UTC) Received: from arcarius.localnet (unknown [88.103.16.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4B17665331 for ; Sun, 4 Jan 2009 15:46:44 +0000 (UTC) From: =?utf-8?q?Tom=C3=A1=C5=A1_Chv=C3=A1tal?= To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] USE dependencies Date: Sun, 4 Jan 2009 16:46:06 +0100 User-Agent: KMail/1.10.92 (Linux/2.6.27-gentoo; KDE/4.1.87; x86_64; ; ) References: <20090104145426.30527441@terra.solaris> <8b4c83ad0901040734o32913fa0j581f89d5b5d031b9@mail.gmail.com> In-Reply-To: <8b4c83ad0901040734o32913fa0j581f89d5b5d031b9@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart64799065.fO9EYNgzxG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200901041646.09553.scarabeus@gentoo.org> X-Archives-Salt: b3b0eb3a-07df-4265-8b36-6f3134864887 X-Archives-Hash: c8508ada22a75ac7b03092f58bda9e3c --nextPart64799065.fO9EYNgzxG Content-Type: multipart/alternative; boundary="Boundary-00=_+mNYJb7NiwUrv3O" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_+mNYJb7NiwUrv3O Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dne ned=C4=9Ble 04 Leden 2009 16:34:02 Nirbheek Chauhan napsal(a): > On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer =20 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=3D2 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=3D238887 > > /me thinks cat-egory/pkg[use1|use2] would be a nice way :) > > 1. > http://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-ea= pi >-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=20 arrows or something like that package2[foo?->bar] or package2[foo->bar?] now i handle it that way both packages have same useflag. --Boundary-00=_+mNYJb7NiwUrv3O Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable p, li { white-space: pre-wrap; }Dne ned=C4=9Ble 04 Leden 2009 16:34:02 Nirbheek Chauhan n= apsal(a):
> On Sun, Jan 4, 2009 at 7:24 PM, Christian Faulhammer <fauli@gentoo.= org> wrote:
> > Hi,
> >
> > regarding USE dependencies what is the correct way if a package n= eeds
> > one out of two USE flags?
> >
> > || ( cat-egory/package[foo] cat-egory/package[bar] )
>
> That's the way right now as per portage EAPI=3D2 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=3D238887
>
> /me thinks cat-egory/pkg[use1|use2] would be a nice way :)
>
> 1.
> http://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild= =2Deapi
>-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 usef= lag.

--Boundary-00=_+mNYJb7NiwUrv3O-- --nextPart64799065.fO9EYNgzxG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAklg2cEACgkQHB6c3gNBRYfQbQCbBsOvcCn45GtnpPA7juKeLjxT WD8AoJfLTdrphkV9B90PCzI3i0AKa365 =h5Ih -----END PGP SIGNATURE----- --nextPart64799065.fO9EYNgzxG--