Gentoo Archives: gentoo-portage-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: initial EAPI awareness
Date: Mon, 29 Aug 2005 08:34:41
Message-Id: 200508291032.07765.pauldv@gentoo.org
In Reply to: [gentoo-portage-dev] PATCH: initial EAPI awareness by Brian Harring
1 On Saturday 27 August 2005 12:53, Brian Harring wrote:
2 > Hola.
3 >
4 > Attached is a patch that
5 > A) adds EAPI awareness to portage; mainly, if >0, complain and be
6 > unwilling to merge the package
7 > B) tweaks to portage_db_flat, addition of portage_db_metadata, and
8 > portage_db_flat_hash
9
10 I just realised that there are possible issues with incompatble eclasses
11 and ebuilds. What (should) happen(s) when an eclass supports EAPI=1 with
12 src_configure and src_make, while the ebuild supports/expects EAPI=0 with
13 src_compile.
14
15 This means that in some way eclasses should state which EAPI versions they
16 support. Possibly with making EAPI a space separated list of api's
17 accepted. This would mean some checking in the inherit code AND that EAPI
18 in the ebuild should be defined before the inherit.
19
20 Paul
21
22 --
23 Paul de Vrieze
24 Gentoo Developer
25 Mail: pauldv@g.o
26 Homepage: http://www.devrieze.net