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-50516-garchives=archives.gentoo.org@lists.gentoo.org>) id 1S9RX8-0005gG-K2 for garchives@archives.gentoo.org; Mon, 19 Mar 2012 01:37:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7DECE0C32; Mon, 19 Mar 2012 01:37:04 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C9435E0748 for <gentoo-dev@lists.gentoo.org>; Mon, 19 Mar 2012 01:36:34 +0000 (UTC) Received: by iaoo28 with SMTP id o28so10680885iao.40 for <gentoo-dev@lists.gentoo.org>; Sun, 18 Mar 2012 18:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=1+ALzRwgyGMYQPoWCfmIXTtIfv+YMVfMAPI9GMSw2cs=; b=CSjFqD/DQuDpZ8kXpVsUiFRGYUafE/shIiBbjPT+Vs7o0xUKAjaFWse8XuiW0ACT4l RJ2X7Gk6pZBnMuC3cdvxKQQJGSQq/G2ioHjq86vz6djq+R9fUNHpN7DW77KETgae6V8c PYl47yJERNd1TxkVmJrWVURMROyuDaXEigNXBR7mpYdHI8g611SSstIVuVouu+z5V7GM 8YjBQrrS1s6iXDYBssnA2qB0s5g6aD6fCNmLtkDPl4SU3Tr6o+1FSKGYOp6IZuVlUHtP V2f1isoPLqXRAY79hxG8x7ii+QorXm2QuXLzRwL9hqrBFh7nIubanvMaaSIFNJeumIzJ r4+g== 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 Received: by 10.50.182.197 with SMTP id eg5mr4823640igc.36.1332120994315; Sun, 18 Mar 2012 18:36:34 -0700 (PDT) Received: by 10.42.138.74 with HTTP; Sun, 18 Mar 2012 18:36:34 -0700 (PDT) In-Reply-To: <jk610t$svf$1@dough.gmane.org> 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> <jk610t$svf$1@dough.gmane.org> Date: Mon, 19 Mar 2012 14:36:34 +1300 Message-ID: <CAATnKFCg3Dmaq-U_wdyXvqZnr8WGvNPPfW_yP2AkwC5Kxiuwag@mail.gmail.com> Subject: Re: [gentoo-dev] Re: RFD: EAPI specification in ebuilds From: Kent Fredric <kentfredric@gmail.com> To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 26d1041d-2982-4b26-b04f-1d7848af9b4f X-Archives-Hash: 5374d59199d8e795bde9a48bbbef6d19 On 19 March 2012 14:12, Steven J Long <slong@rathaus.eclipse.co.uk> wrote: > > As for non-bash ebuilds, I have always agreed with antarus that they shou= ld > simply use a different extension. Adding a new extension per source langu= age > is a *lot* cleaner than one per EAPI. Ok: If we take this notion and enshrine it in stone: If we assume Bash 4 is a seperate language from Bash 3, as its syntax-backwards-incompatible, is it fair to suggest that for some future EAPI which require Bash 4, that the extension change to suit? ie: move from .ebuild to .ebuild4 , where '.ebuild' conveys the format is bash, and that '.ebuild4' is bash4 only? That way you have a forwards declaration of the syntax/file format required to parse the file, but no declaration of the EAPI, so you're not breaking encapsulation. This is breaking the direct file=3D=3Deapi connection, but still maintaining a loose file<->eapi connection. Its /sort/ of like the "one time extension change" proposal, except its less 'arbitrary' than something like .eb , and it gives us the future option of changing the suffix again if bash 5 comes out with different syntax. Then we can do .ebuild =3D EAPI 0 - 4 & bash >=3D 3 .ebuild4 =3D EAPI5 - 9 & bash >=3D 4 .ebuild5 =3D EAPI10 - 15 & bash >=3D 5 Thoughts? --=20 Kent perl -e=C2=A0 "print substr( \"edrgmaM=C2=A0 SPA NOcomil.ic\\@tfrken\", \$_= * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"