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 1LgRdo-0002cI-TX for garchives@archives.gentoo.org; Sun, 08 Mar 2009 22:38:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C2ACE03F3; Sun, 8 Mar 2009 22:38:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E0A7CE03F3 for ; Sun, 8 Mar 2009 22:38:39 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 667BE64560 for ; Sun, 8 Mar 2009 22:38:39 +0000 (UTC) Message-ID: <49B448FC.6060104@gentoo.org> Date: Sun, 08 Mar 2009 15:38:52 -0700 From: Zac Medico User-Agent: Thunderbird 2.0.0.19 (X11/20081209) 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] x-modular.eclass: A modified approach to EAPI support References: <20090306205729.GC22566@comet> <20090308052203.GA14240@comet> <200903081038.44519.levertond@googlemail.com> In-Reply-To: <200903081038.44519.levertond@googlemail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 62b6f597-66f3-44b8-bd95-0afa3a4dac81 X-Archives-Hash: 99468be8f0dc567ebe1dbd6ec992bda6 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Leverton wrote: > On Sunday 08 March 2009 05:22:03 Donnie Berkholz wrote: >> FYI, using EXPORT_FUNCTIONS before inherit, as this patch caused >> x-modular.eclass to do, is broken in current portage releases. Zac sai= d >> he would change this to be consistent with the lack of any ordering >> restriction in the PMS. Thanks to Tom=C3=A1=C5=A1 Chv=C3=A1tal for tra= cking down this >> tricky bug! >=20 > Better to ask for PMS to be clarified. All existing package managers d= o=20 > EXPORT_FUNCTIONS in more or less the same way, so changing it shouldn't= =20 > happen without an EAPI bump. As discussed on irc, if we make it conditional on EAPI then you'll practically never be able to call EXPORT_FUNCTIONS before inherit since eclasses generally support multiple EAPIs. So, I've added a warning message that is triggered when EXPORT_FUNCTIONS is called before inherit. In a year or two we can consider having the warning removed. - -- Thanks, Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkm0SPsACgkQ/ejvha5XGaN/+ACgsS44TWTR2fODGzwSI0XH5xN7 xpkAoOJhSWeXQDnhO8OuoXuViB2MNe7F =3DRJI6 -----END PGP SIGNATURE-----