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 1S5qAm-0001FI-E7 for garchives@archives.gentoo.org; Fri, 09 Mar 2012 03:07:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7895BE087A; Fri, 9 Mar 2012 03:07:03 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id 6CC95E0540 for ; Fri, 9 Mar 2012 03:05:42 +0000 (UTC) Received: from [172.17.29.6] (unknown [65.213.236.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id A0496D8DE9 for ; Thu, 8 Mar 2012 22:05:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1331262341; bh=VQ/3E7O4LHGslSTQoPcp9nIl3f/t+vvltwpMSOpBt9o=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SV83DuF6iEloE2UHci7V+45kOCtasNtr1cVUYlirhJhneXqMf/UKxR28IqqE7hQbG bqwwtSml4D3KJ7JS/9xJ3Os4CskeF2I9vgqIshIqkR7dcw+dD509lFfxeGvWJTYxHc Qro5aopRDLlGw/FiEDeqNd2ml/wPdSVRItlc1Cr4= Message-ID: <4F597381.80109@orlitzky.com> Date: Thu, 08 Mar 2012 22:05:37 -0500 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120121 Thunderbird/9.0 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] RFD: EAPI specification in ebuilds References: <20311.51166.725757.212932@a1i15.kph.uni-mainz.de> <4F57DDB5.3090503@orlitzky.com> <20120308130310.69c3c714@pomiocik.lan> <4F58D6A5.7070804@orlitzky.com> <20120308182844.11201771@pomiocik.lan> <4F58F103.5010503@orlitzky.com> <20120308175345.2c4b72ff@googlemail.com> <4F58FC55.7070005@orlitzky.com> <20120308184820.108fc30c@googlemail.com> <4F592612.6050203@orlitzky.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: aa0efcc1-e38e-4065-82ff-61394b2d6354 X-Archives-Hash: 7b173af3f20b2711824a578c4255ff61 On 03/08/2012 06:31 PM, Alec Warner wrote: >> >> Did someone already propose replacing EAPI=foo with a function call akin to >> inherit? > > the eapi function doesn't exist in earlier eapis, so you end up doing > the rename thing. Otherwise old package managers barf on the new > syntax. I still think going with a comment is better than this. > There is an apparent workaround: EAPI=5 eapi 5 We could do that for however long it takes PMs to adopt the 'eapi' function. It requires one redundant line in the ebuild for a while, like the comment solution, but then ultimately we're left with standard bash instead of a magic comment.