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-50166-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S6ldf-0003wJ-Me
	for garchives@archives.gentoo.org; Sun, 11 Mar 2012 16:28:56 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 438C1E0878;
	Sun, 11 Mar 2012 16:28:47 +0000 (UTC)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4CA81E0866
	for <gentoo-dev@lists.gentoo.org>; Sun, 11 Mar 2012 16:28:15 +0000 (UTC)
Received: by wibhn6 with SMTP id hn6so2359809wib.10
        for <gentoo-dev@lists.gentoo.org>; Sun, 11 Mar 2012 09:28:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20120113;
        h=date:from:to:subject:message-id:in-reply-to:references:x-mailer
         :mime-version:content-type;
        bh=/Tjpv0xwqljcsFLA6XyGeku1x39P2nQSMI7ZQFrXXlk=;
        b=BFl/Nj1BcTWjWOwYVcBIa1Ppebw9nVB8CjcdCB0but+A8meuLz9g3yEFTEzXobbK82
         hsb8WP+YOk787rvAp/GWlCiEEpuEVrSasgoOjMoGI8kmVCcG6PJgZW0GMQv5/6BVlzVy
         xfZOPyxVUMz//ap0Dh/PY3m9N4BjGRtH8MkNQy+2i0tqqYyT9WSsccsjYRsz1TY5dWvi
         ju372AeuNMmgHDMg5sDccHSG6OPt03XHOOZhhpi/Lk/uCkvlvwWqUqC8ZicwV9L/vVxs
         F2a7l5I1B55m6UZhnqwRflFuoDAQJ9Fd65m+wUGArZavg3H/+ufGJFYqAmRDuiWvTjaH
         XJDA==
Received: by 10.180.99.100 with SMTP id ep4mr20517838wib.7.1331483294516;
        Sun, 11 Mar 2012 09:28:14 -0700 (PDT)
Received: from localhost (cpc13-broo7-2-0-cust130.14-2.cable.virginmedia.com. [82.9.16.131])
        by mx.google.com with ESMTPS id w10sm44530005wiy.3.2012.03.11.09.28.13
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sun, 11 Mar 2012 09:28:13 -0700 (PDT)
Date: Sun, 11 Mar 2012 16:27:00 +0000
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Deprecate EAPI1?
Message-ID: <20120311162700.16ec9fd3@googlemail.com>
In-Reply-To: <4F5CD065.2030307@gentoo.org>
References: <1331467306.11661.2.camel@belkin4>
	<4F5CA874.6070209@gentoo.org>
	<CAGfcS_nRgRTKh=Ks916kbtjsAkFWjZjbOyjtdXAxm97AKHrLdQ@mail.gmail.com>
	<20120311135503.707de3b6@googlemail.com>
	<4F5CC159.1020602@gentoo.org>
	<20120311154935.1182cf69@googlemail.com>
	<4F5CD065.2030307@gentoo.org>
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; 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_/P+LquDVXT4Rv7/35fpybqcF"; protocol="application/pgp-signature"
X-Archives-Salt: f5469679-924c-453b-b095-ae366947457c
X-Archives-Hash: ca57ef91b342b186531e78e13958eae6

--Sig_/P+LquDVXT4Rv7/35fpybqcF
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 11 Mar 2012 17:18:45 +0100
Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n <chithanh@gentoo.org> wrote:
> Assume a new version 13.37 of your package manager drops EAPI=3D1
> support. So package-manager-13.37.ebuild checks in pkg_pretend() if
> any EAPI=3D1 package is installed on the system. If yes, then it
> aborts, telling the user to get rid of the package first.

Oh, now I get it. There are two issues there...

First, doing that is going to screw things up for users who have two
package managers installed, unless you make every package mangler's
package aware of every package mangler.

Second, there's not a way of getting the information you need to figure
that out using current EAPIs.

It's also not really worth it at the moment. There aren't any major
architectural changes between EAPIs just now, so removing support for
an EAPI won't allow any majorly nasty code to be removed from a package
manager. It might be worth revisiting this if we ever switch to EAPIs
that allow us to kill off VDB, for example.

--=20
Ciaran McCreesh

--Sig_/P+LquDVXT4Rv7/35fpybqcF
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iEYEARECAAYFAk9c0lsACgkQ96zL6DUtXhFZ9ACfUWPE2LYQbNRs3KTMGpMtOoOR
XR8AniAO08E+woKcMiesckT6aRetSjOD
=csF2
-----END PGP SIGNATURE-----

--Sig_/P+LquDVXT4Rv7/35fpybqcF--