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 1LJVSf-0001Uo-4P for garchives@archives.gentoo.org; Sun, 04 Jan 2009 16:04:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC036E059D; Sun, 4 Jan 2009 16:04:19 +0000 (UTC) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by pigeon.gentoo.org (Postfix) with ESMTP id 66226E059D for ; Sun, 4 Jan 2009 16:04:19 +0000 (UTC) Received: by ti-out-0910.google.com with SMTP id u5so5317455tia.10 for ; Sun, 04 Jan 2009 08:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bXdR/ObPX/XJITSr7mFsapeRNetVTD7EuQ9ojMzWXqk=; b=oBdX28gFqqZi5hbQFn4M/fV+b19bZiF0g4bVKgls2PSLCqO3jMQCIXpeR5ibR+4KKD 9SH7krb6cNLUpmPVv2Zyjf3NnkzfZ48B2W7xrWLwxgdrrbf8FLaSNLqCDVeMJW7nfzgJ CafgCLBzM4v+7ZOFULrJvMqkXF0JjQ33QSlmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=SrRJn47hdMMV4a3HArjtfhaQTiujXmh9dsLFFX7EVSRmrN0cLopVpRFSjxEagUa7ob i75iX5mSSO4DXm2xi2Zf4si1F6R7NrLY8ij7v4LKS2RrQQrpHa/bnSL34vGtzHa+kmWk Xrrk4ISAUQBSJhgHCdOIF6wpZ8c+/QiMHVMIM= Received: by 10.110.43.20 with SMTP id q20mr30477750tiq.25.1231085058256; Sun, 04 Jan 2009 08:04:18 -0800 (PST) Received: by 10.110.47.7 with HTTP; Sun, 4 Jan 2009 08:04:18 -0800 (PST) Message-ID: <8b4c83ad0901040804v2e87a7bdn2066f8a7e928c800@mail.gmail.com> Date: Sun, 4 Jan 2009 21:34:18 +0530 From: "Nirbheek Chauhan" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] USE dependencies In-Reply-To: <200901041646.09553.scarabeus@gentoo.org> 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: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20090104145426.30527441@terra.solaris> <8b4c83ad0901040734o32913fa0j581f89d5b5d031b9@mail.gmail.com> <200901041646.09553.scarabeus@gentoo.org> X-Archives-Salt: bcb1b91d-d077-47ac-bc22-5210cd2ae63c X-Archives-Hash: 832720daa69bc2667634e9b7887f5dc9 On Sun, Jan 4, 2009 at 9:16 PM, Tom=E1=9A Chv=E1tal = 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 > arrows or something like that > > package2[foo?->bar] or package2[foo->bar?] > > now i handle it that way both packages have same useflag. How about this: New syntax Expanded syntax Extension of ---------------------------------------------------------------------------= ----------------------------- pkg[foo?bar] foo? ( cat/pkg[bar] ) !foo? ( cat/pkg ) cat/pkg[foo?] pkg[!foo?bar] foo? ( cat/pkg ) !foo? ( cat/pkg[bar] ) cat/pkg[foo?] pkg[foo=3Dbar] foo? ( cat/pkg[bar] ) !foo? ( cat/pkg[-bar] ) cat/pkg[foo=3D] pkg[!foo=3Dbar] foo? ( cat/pkg[-bar] ) !foo? ( cat/pkg[bar] ) cat/pkg[!foo=3D] IMO, this is simple enough to understand, and use :) --=20 ~Nirbheek Chauhan