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 1J62ov-0006H4-Ly for garchives@archives.gentoo.org; Sat, 22 Dec 2007 11:47:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBMBkJ5L002081; Sat, 22 Dec 2007 11:46:19 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 lBMBiPEk032177 for ; Sat, 22 Dec 2007 11:44:25 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.ferdyx.org (Postfix) with ESMTP id 21E768D306 for ; Sat, 22 Dec 2007 12:48:15 +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 DgNA5aSDdwb3 for ; Sat, 22 Dec 2007 12:48:13 +0100 (CET) Received: from posidon.ferdyx.org (posidon.ferdyx.org [192.168.0.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ferdyx.org (Postfix) with ESMTP id 71FDD8D305 for ; Sat, 22 Dec 2007 12:48:13 +0100 (CET) Received: by posidon.ferdyx.org (nbSMTP-1.01-cvs) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) ferdy@gentoo.org; Sat, 22 Dec 2007 12:44:23 +0100 (CET) Date: Sat, 22 Dec 2007 12:44:23 +0100 From: "Fernando J. Pereda" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Re: Re: Re: Re: Re: [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) Message-ID: <20071222114423.GA4937@ferdyx.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20071219111602.4122c53d@blueyonder.co.uk> <20071220035032.6312bed4@blueyonder.co.uk> <20071221004630.21fc6ad3@blueyonder.co.uk> <20071222072544.3fffbc22@blueyonder.co.uk> <476CD116.5070505@gentoo.org> <20071222090719.20333591@blueyonder.co.uk> <476CE060.4010601@gentoo.org> 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; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <476CE060.4010601@gentoo.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 8496e949-0d79-4cd7-845d-8feed016beaf X-Archives-Hash: d5b5ae81189420dad740f6757a8e1a39 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 22, 2007 at 06:01:04PM +0800, Zhang Le wrote: > >=20 > > Your algorithm: > >=20 > > Does not work for existing ebuilds that have implicit EAPI 0. >=20 > That's obvious. If no suffix, just treat it as EAPI 0. > I thought I don't need to say this explicitly. '# Copyright 1999-2007 Gentoo Foundation' Is that an EAPI? of course it is not, are you going to hardcode every possible ebuild header in your stupid _hack_ ? > >=20 > > Does not work for existing ebuilds that have explicit EAPI. >=20 > Even better, since we don't need suffix in the first place. Just define i= t in > ebuild. What? > >=20 > > Does not work for future ebuilds. >=20 > If defined in file does not work, then define in file name doesn't either. > They are interchangeable. No, they are not. > All could be get before sourcing. > I know you'd say people will use all syntaxes to define. But how many are > there? EAPI=3D1, EAPI=3D"1" these are the two ways currently used in tree. > A simple qgrep can show that. > Two steps can guarantee you get the value > 1. strip " > 2. get the value And then you are stuck FOREVER into defining EAPI as a variable. You clearly haven't read anything on this thread. I suggest you go and do so before making a fool of yourself again. Please. Please guys, keep in mind that the fact that some of you understand what a filename is and are able to provide simple commands that extract a particular line from a file does not entitle you with the knowdledge required to contribute something useful to this discussion. - ferdy --=20 Fernando J. Pereda Garcimart=EDn 20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4 --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHbPiXCkhbDGC9KNQRAknVAJkBh3GFJ99T/r4JGicXDGJX0VMhsgCcD3XR 9x0SOxNM0HeihOS68iWIrQ0= =yyXP -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- -- gentoo-dev@gentoo.org mailing list