From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EEB9813877A for ; Fri, 25 Jul 2014 21:46:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B20C6E1C4B; Fri, 25 Jul 2014 21:46:13 +0000 (UTC) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBFF3E1C47 for ; Fri, 25 Jul 2014 21:46:12 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j17so6095300oag.26 for ; Fri, 25 Jul 2014 14:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=JDSLLPXDFepyN2H8vHbugEilKMg0CuxXpoFE5465VC8=; b=n84TgOzULegQc2gHX0LO4P1UAZ0lKfgQEUilmrPDbQCS3p4nbJ8Qk0F/O6tq2VrE15 DYWIic3Whfjo7k2WEETy+2r2dpUZJDWkIy75XDySEeKwyROQ7d9Wrk8tgcazctSoX9JF GS3mmdNiAeH96KquK1PUrzt7MRPL4SXhsSbzCM7n+sBbwhnUn35lx1dIowKfVDSck1O6 4YqVtege3TFj42D44teZAscBkWQMLgmHkwmpQbZFkM/v7pRWeDt0kwkp2rcjhoviQMKZ o4Md06/tT40zOOzOsYzaRC7pjISHx99X6/FI1vA/4j2NZBr66CKvR6PxNABSnaRh6jHU FGdw== X-Received: by 10.182.46.225 with SMTP id y1mr26049064obm.51.1406324771951; Fri, 25 Jul 2014 14:46:11 -0700 (PDT) Received: from linux1 (cpe-76-187-91-128.tx.res.rr.com. [76.187.91.128]) by mx.google.com with ESMTPSA id us9sm21523662obc.9.2014.07.25.14.46.09 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Jul 2014 14:46:10 -0700 (PDT) Sender: William Hubbs Received: (nullmailer pid 6011 invoked by uid 1000); Fri, 25 Jul 2014 21:46:07 -0000 Date: Fri, 25 Jul 2014 16:46:07 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: USE flags in virtuals, to allow a specific provider to be determined Message-ID: <20140725214607.GB5842@linux1> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <53D2A6C8.9060900@gentoo.org> <20140725210438.0703f164@gentp.lnet> <53D2AEC3.2080600@gentoo.org> <20140725214402.7a65a988@gentp.lnet> <20140725204649.105e8641@googlemail.com> <1406317889.20388.25.camel@gentoo.org> <53D2B60D.3040402@gentoo.org> <20140725212323.GA5842@linux1> <20140725222557.3cc9bc0b@googlemail.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; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <20140725222557.3cc9bc0b@googlemail.com> User-Agent: Mutt/1.5.22 (2013-10-16) X-Archives-Salt: 8ac2035a-fb0e-4ab4-ad51-25fee59d1550 X-Archives-Hash: 51269b8f9ec9503a4768742c6805775b --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 25, 2014 at 10:25:57PM +0100, Ciaran McCreesh wrote: > On Fri, 25 Jul 2014 16:23:23 -0500 > William Hubbs wrote: > > I think this could get complicated really quick though. > > For example, if I have an ebuild with three use flags, > > flag1/flag2/flag3 with the requirement that one and only one of them > > must be set, unless bash has an xor operator I don't know about, that > > is going to need a lot of nesting etc to get right. >=20 > You don't want xor. You want addition. Can you show an example? Thanks, William --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPS0B8ACgkQblQW9DDEZThlcwCeKZ4d9p6wQfcIhE38sW3+eGZq 4wcAn3Fbw1Ly7M3O1gTm9zZSqI7XAbGL =kAFm -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--