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 1S7K55-0007nb-Jm for garchives@archives.gentoo.org; Tue, 13 Mar 2012 05:15:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8669FE0B2C; Tue, 13 Mar 2012 05:15:13 +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 E6D0AE08CD for ; Tue, 13 Mar 2012 05:14:23 +0000 (UTC) Received: by iaoo28 with SMTP id o28so357782iao.40 for ; Mon, 12 Mar 2012 22:14:23 -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=jecnQl6UTj1Xkht1l3FSzgy4TbDZkT0weW9EPNfI1+s=; b=RIJxh55nrCJ3Yw0jpCieU5l76M6X5mb3XsGZDG7v/l/9oH+cJiMgHODErwvdmFtX9k macsfUnGg7QN4TBqbgHp2SWRvJBSXeEwMsyof7tbggkTuXKfjQMauid2iD1yX2AJW7dR JZw4/Ih1Ha4jHwFTw6JCNXGDNELnt5nHIgyy1Xgiq/sA0SWxt6izlQ5Z0XD2labywBTu M6Qz7BGwQpiHPRc3AwClNZ+fztvGPbPfcBLf9rLub8EJhU7URCE1hnutLno6R0ofCokm wjSJzXU6eTNNKMV7aY+D6hWuxISno2LXVR6FqDEz5AbrntqEtuWzeCvFCpCsx8kGp09z 4xpA== 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 Received: by 10.50.45.200 with SMTP id p8mr2357597igm.23.1331615663493; Mon, 12 Mar 2012 22:14:23 -0700 (PDT) Received: by 10.42.138.74 with HTTP; Mon, 12 Mar 2012 22:14:23 -0700 (PDT) In-Reply-To: <20120313043129.GI7579@localhost> References: <20120312155927.2cca0d3b@googlemail.com> <20318.11498.463319.52140@a1i15.kph.uni-mainz.de> <20120312171228.48c5b023@googlemail.com> <4F5E30F1.2010500@gentoo.org> <20318.14784.69603.177708@a1i15.kph.uni-mainz.de> <20120312180424.26ad103b@googlemail.com> <20318.15803.361859.738914@a1i15.kph.uni-mainz.de> <20120313043129.GI7579@localhost> Date: Tue, 13 Mar 2012 18:14:23 +1300 Message-ID: Subject: Re: [gentoo-dev] RFD : .ebuild is only bash From: Kent Fredric To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ad7be3dd-a10a-453a-b9fc-5788de4333c4 X-Archives-Hash: dc54d68fe0d7bad010fd68047dc4ff7e On 13 March 2012 17:31, Brian Harring wrote: > Worse, it actually makes parsing _worse_ than it already is. =C2=A0What G= 55 > had going for it was ease of filtering out unsupported eapi's. > Literally just filter the readdir results. =C2=A0This behemoth Zac is > proposing basically requires throwing regex at it, and *is* able to > be tripped up since eapi's aren't strictly integers (1-prefix, > 4-python, 4-eapi3 if I wanted to intentionally be a dick and break > likely non-greedy implementations of the regex). Eh? How? If you make "." a forbidden character in an eapi specificiation, and make "." the delimiter dev-foo/foo-bar-2.3.4.eapi5.eb ^^^^ How does that require regex? remove the .eb , and the last token remaining is the eapi . it doesn't clash with the existing system for 2 reasons, 1) the .eb extension and 2) "eapi5" is not a valid version token > Same angle, embedding it into the version space means that there can > be conflicts w/ PN. I'm confused as to how, can you give one theoretical example? dev-foo/foo-bar-2.3.4.eapi5.eb <-- eapi5 can't be a package name here, because its got the .eb suffix which means an EAPI *MUST* be specified and eapi5 also can't be a package name there, because then you're telling be it tokenizes as: category=3Ddev-foo package=3Dfoo-bar-2.3.4.eapi5 version =3D undefined eapi =3D undefined Which is clearly illegal. > Basically... embedding it into the versioning like that, besides being > ugly as all hell, discards the main benefit g55 had- clear > identification of EAPI. It still seems "clear" to me. --=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 );"