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 <gentoo-dev+bounces-40360-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NxIV9-0005rG-Jm
	for garchives@archives.gentoo.org; Thu, 01 Apr 2010 11:23:55 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 94B01E0B53;
	Thu,  1 Apr 2010 11:23:54 +0000 (UTC)
Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219])
	by pigeon.gentoo.org (Postfix) with ESMTP id CCAF5E0B06
	for <gentoo-dev@lists.gentoo.org>; Thu,  1 Apr 2010 11:23:49 +0000 (UTC)
Received: by bwz19 with SMTP id 19so509721bwz.26
        for <gentoo-dev@lists.gentoo.org>; Thu, 01 Apr 2010 04:23:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:received:received:date:from:to:subject
         :message-id:in-reply-to:references:x-mailer:mime-version
         :content-type;
        bh=1QG24QNlpiJi30PBubnCE9yfAwcxuWqRzuAKcGrFwdM=;
        b=jZUKcW9tI4BaYvW8q/gepn+uIDOs4pi2SswI4+P2mhLAL/VgC7nx5r1zwgfE/bNaQt
         OLo4H08+a4Fys4dq3erJtXOUCKcigkO/OsGzkNZqhsxEbhzSul2+/NlB6oE3PrA3lRx2
         GG2msqsqgY/rDQZboi/h9pK4Rdk2xCCDbHqds=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=date:from:to:subject:message-id:in-reply-to:references:x-mailer
         :mime-version:content-type;
        b=i7B7lID6ruIcbQV9YR6/Pfz3DoSppJEZiPfRZa4jbOcd0/VZ/pWisY9x/gpnJ8Lzhj
         c+5PJjk5757Oxi+3BCIa/WI97VnDzlRVEEXiMvEpFZhXwQHAV4D00Ygu8BV21bjhJ57I
         o77ce3SI7Sp0VeDSm1rdREutqwJxR21N6J4tY=
Received: by 10.204.74.98 with SMTP id t34mr1218397bkj.154.1270121029076;
        Thu, 01 Apr 2010 04:23:49 -0700 (PDT)
Received: from snowcone ([92.24.222.23])
        by mx.google.com with ESMTPS id d5sm66402215bkd.7.2010.04.01.04.23.48
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 01 Apr 2010 04:23:48 -0700 (PDT)
Date: Thu, 1 Apr 2010 12:23:42 +0100
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] pkg_pretend USE validation and VALID_USE
 alternative
Message-ID: <20100401122342.3c59a865@snowcone>
In-Reply-To: <20100401105954.GL11663@hrair>
References: <20100331092035.GA11663@hrair>
	<20100331174925.GA16267@faith>
	<20100331194626.GG11663@hrair>
	<20100331205628.368fb02c@snowmobile>
	<20100401073109.GI11663@hrair>
	<20100401084102.2560f3a3@snowmobile>
	<20100401075608.GJ11663@hrair>
	<1270116620.17214.1.camel@gdartigu.lan.rep.sj>
	<20100401101825.GK11663@hrair>
	<1270118530.17214.4.camel@gdartigu.lan.rep.sj>
	<20100401105954.GL11663@hrair>
X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
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;
 boundary="Sig_/JA2yn5lD87AcwTT=Fz2Vw_0"; protocol="application/pgp-signature"
X-Archives-Salt: 39b03652-3a79-452b-a45c-5c828ac6b9a8
X-Archives-Hash: 20d9284c61a3f267ba58b4d79e535217

--Sig_/JA2yn5lD87AcwTT=Fz2Vw_0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 1 Apr 2010 03:59:54 -0700
Brian Harring <ferringb@gmail.com> wrote:
> On Thu, Apr 01, 2010 at 12:42:10PM +0200, Gilles Dartiguelongue wrote:
> > > Basically, you want the PM to lie to the ebuild in some fashion. =20
> > > Since pkg_pretend is free form, it's effectively impossible to
> > > cover the scenarios it could check on- consider checking the
> > > kernel config/version, or checking the active jvm/python version.
> >=20
> > except the kernel will not change during the upgrade,
>=20
> Pardon, I wasn't clear- I was referring to kernel sources, not=20
> the running kernel.

But if the kernel sources symlink is changed by installing new kernel
sources, there won't be a valid .config in the new directory anyway.
Thus, pkg_pretend doesn't introduce any new breakage.

--=20
Ciaran McCreesh

--Sig_/JA2yn5lD87AcwTT=Fz2Vw_0
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAku0gkEACgkQ96zL6DUtXhG+1ACg087qZOcnIybOXbsUytWaDvfH
3L4An3A0uuiCrxxwza3qgCV45FIxnC0k
=+Gf5
-----END PGP SIGNATURE-----

--Sig_/JA2yn5lD87AcwTT=Fz2Vw_0--