From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J5CkQ-0001y5-4P for garchives@archives.gentoo.org; Thu, 20 Dec 2007 04:11:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBK4A0sH026659; Thu, 20 Dec 2007 04:10:00 GMT Received: from smtp.ferdyx.org (170.Red-213-96-222.staticIP.rima-tde.net [213.96.222.170]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBK47xRX024277 for ; Thu, 20 Dec 2007 04:07:59 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.ferdyx.org (Postfix) with ESMTP id EC4738D306 for ; Thu, 20 Dec 2007 05:11:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ferdyx.org Received: from smtp.ferdyx.org ([127.0.0.1]) by localhost (tungsteno.ferdyx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S-NkaHqLV0yh for ; Thu, 20 Dec 2007 05:11:27 +0100 (CET) Received: from localhost (unknown [213.121.151.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ferdyx.org (Postfix) with ESMTP id E33E78D305 for ; Thu, 20 Dec 2007 05:11:26 +0100 (CET) Date: Thu, 20 Dec 2007 04:07:53 +0000 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: EAPI definition Was: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) Message-ID: <20071220040753.31cf0c2e@blueyonder.co.uk> In-Reply-To: <4769D3F2.1030204@gentoo.org> References: <200712172320.01988.peper@gentoo.org> <20071220003801.GL24034@supernova> <4769D3F2.1030204@gentoo.org> X-Mailer: Claws Mail 3.1.0 (GTK+ 2.12.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/NUgX=GsZQreEJm94SmG7x2c"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 79ba93b5-a5ef-45e5-826c-fb149638c7f0 X-Archives-Hash: 8c24ded03f7403e3ea1a084bfcddf358 --Sig_/NUgX=GsZQreEJm94SmG7x2c Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 20 Dec 2007 03:31:14 +0100 Luca Barbato wrote: > Before spending even more time on it, could we try to come up with a > definition of what eapi is, which problem is trying to solve and put > that somewhere that isn't a long thread or an handful of threads > scattered across mailing lists. An EAPI is a named set of rules telling a package manager how to deal with a particular ebuild and related files, and telling ebuilds upon what they may or may not rely from the package manager. It defines aspects of package manager / ebuild relation including metadata, environment and additional behavioural restrictions. EAPI names are not orderable and have no meaning to the package manager other than their literal value. EAPIs may be entirely incompatible with each other, or they may be mere extensions of a different EAPI, or they may be a subset of a different EAPI, or any combination thereof. A cat/pkg-ver has exactly one EAPI. That EAPI belongs to the cat/pkg-ver as a whole, and is static across that cat/pkg-ver. EAPI is part of a cat/pkg-ver's metadata. All existing EAPIs require that EAPI follows the environment invariancy rules. If a package manager does not support a particular EAPI, the *only* thing it may assume is that it does not support that particular EAPI. It may not assume that it knows what any aspect of that cat/pkg-ver's metadata is, nor may it assume that it knows what cat, pkg or ver are. --=20 Ciaran McCreesh --Sig_/NUgX=GsZQreEJm94SmG7x2c Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHaeqZ96zL6DUtXhERAqKJAKC5eY0j6BwFUsZH1uNiLyHdby4sPwCeIqsd x7vHy9oPC06yU7xLyuzj2AI= =avXV -----END PGP SIGNATURE----- --Sig_/NUgX=GsZQreEJm94SmG7x2c-- -- gentoo-dev@gentoo.org mailing list