From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nx22n-0008Jy-N1 for garchives@archives.gentoo.org; Wed, 31 Mar 2010 17:49:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31A39E083E; Wed, 31 Mar 2010 17:49:30 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by pigeon.gentoo.org (Postfix) with ESMTP id E90E1E07EE for ; Wed, 31 Mar 2010 17:49:20 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so113577fga.10 for ; Wed, 31 Mar 2010 10:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=GpHju8+wFKBPS2vnKP6zxW8Ycqzf8bq/wLKyEd+d+cQ=; b=nvoVBpJEaxoHhhGRLPnJOvrZbLj/jGD9dq1up2EBrLjpHp8ZKvpnpZ4Mf1JLgSXlAi 0VM5et8PJ2yI0femR8Sjnc/kmJdQKdu4mIZZ8sZkQ/uD0snNGnqBWW6n8CJTJEUwLCvl ryun+yUcBQtgj3sTfy0IrAxqDBwq7hun/cNlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=pXxUSUkKMPmVZLLmq71/wA7Mkn50QRtNi52cCyNO2phzN1lyIIg2yoHLJf5DsbIR9P /EN3IG2KaLCFgnv1holf+pxXyyYq+Mrq7i7oRpLtI2HS7xFxb/hczUSylSMBjLcGh4Hx mvSSBi38iPfnSTcMDA0VQP7gjSwX67Wz+mvqM= Received: by 10.87.20.36 with SMTP id x36mr541285fgi.14.1270057760309; Wed, 31 Mar 2010 10:49:20 -0700 (PDT) Received: from faith ([213.249.63.18]) by mx.google.com with ESMTPS id e3sm5859357fga.9.2010.03.31.10.49.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Mar 2010 10:49:19 -0700 (PDT) Sender: Alex Alexander Date: Wed, 31 Mar 2010 20:49:26 +0300 From: Alex Alexander To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pkg_pretend USE validation and VALID_USE alternative Message-ID: <20100331174925.GA16267@faith> References: <20100331092035.GA11663@hrair> 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="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20100331092035.GA11663@hrair> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 23f90e7f-dc66-438b-97f0-f37b2580c45b X-Archives-Hash: fe5e180d5a71fff27b209aad70492ce5 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 31, 2010 at 02:20:35AM -0700, Brian Harring wrote: > Hola all- >=20 > For those who aren't familiar, pkg_pretend is in EAPI4- the main usage=20 > of it is will be use dep checking- this email is specifically=20 > regarding an alternative to it that *should* be superior for that use=20 > case, but I'm looking for feedback. >=20 > Basically, we use the original VALID_USE proposal from way back in=20 > '05- if you're familiar w/ MYOPTIONS, they're reasonably similar. >=20 > Roughly, VALID_USE is a list of constraints stating what the allowed=20 > use flag combinations are for this pkg. If you think of normal=20 > depdencies (I must have openssl and python merged prior), it's the=20 > same machinery. >=20 > [snip] >=20 > Comments desired; assuming no significant blowback, I'll be pushing=20 > this to the council level since eapi4 is annoying feature locked right=20 > now. I like the whole concept, it is clean and straightforward. Also, notifying the user of any possible issues and breaking so he can make the actual decision sounds far better than making the choice for him. VALID_USE does look a bit strange. how about IUSE_RULES or IUSE_RESTRICTIOMS or RUSE ? --=20 Alex Alexander :: wired Gentoo Developer www.linuxized.com --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLs4slCtniI/gSTScRAmRIAJ9tfNX02l63ThcIbq5pt4BPURvSowCggBvY KCDly2Us7XF4rhJMi5bI2DU= =RAXh -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--