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 1J5Ioc-0006aj-0S for garchives@archives.gentoo.org; Thu, 20 Dec 2007 10:39:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBKAct9e003920; Thu, 20 Dec 2007 10:38:55 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBKAaoNp001477 for ; Thu, 20 Dec 2007 10:36:51 GMT Received: by ug-out-1314.google.com with SMTP id j3so473497ugf.49 for ; Thu, 20 Dec 2007 02:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=HSZnhsRnbA9PxjDgiekE9Ile6GXcv4idM7BugD1iukU=; b=J1dtcN/pzx3//KfAMg1Vhx1Swc05LkWWd2Q870qtsMzJ/NxOg8qV6w83hWXtuQCoI5h5ruUzh2aWm6Y0kfXHgtN+kaF4VWCtydDpwvBpR/wucsHt4seQ2fPlajBTnDtwrCvdE9Tqs9eae/Rf4iV5pCdWDsxSf0mi1fAbdgMBHos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=Xn38NXpQ5i5+2w2NZit2hQqkzXV/F/VznSDPTiBYdqRqhicUENfpP59z8UDGO4Ra7b3Z3JksXFkzOR/v5ExTVVUd+q5BWs4QhEpFj2zbb3tPyJZw6342Cz1dxlA7QkdFXq7jZcoshVjhRPkx7VEYcAYH2F+AzwEklzdZ7Y/8g4c= Received: by 10.67.27.3 with SMTP id e3mr3335305ugj.22.1198147010723; Thu, 20 Dec 2007 02:36:50 -0800 (PST) Received: from ?10.0.0.6? ( [85.127.90.165]) by mx.google.com with ESMTPS id 31sm7543355ugg.47.2007.12.20.02.36.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Dec 2007 02:36:49 -0800 (PST) Message-ID: <476A45CD.2050107@gmail.com> Date: Thu, 20 Dec 2007 11:37:01 +0100 From: Thomas Pani User-Agent: Thunderbird 2.0.0.6 (X11/20070815) 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 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [GLEP] Use EAPI-suffixed ebuilds (.ebuild-EAPI) References: <200712172320.01988.peper@gentoo.org> <20071220003801.GL24034@supernova> <4769D3F2.1030204@gentoo.org> <20071220040753.31cf0c2e@blueyonder.co.uk> In-Reply-To: <20071220040753.31cf0c2e@blueyonder.co.uk> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f0771237-7182-4da2-9396-8e4a997b2aeb X-Archives-Hash: 4b85a06ca26418a9bae9bcf535a3bb4d Here's why I think you can't -- or at least shouldn't -- put EAPI into the filename. >>From your EAPI definition: > A cat/pkg-ver has exactly one EAPI. That EAPI belongs to the > cat/pkg-ver as a whole, and is static across that cat/pkg-ver. It's clearly NOT the purpose of a filename to describe how the contents of a file are structured/formatted/encoded/etc. It's sole purpose is to uniquely identify a file. Example: I use .txt to identify my text documents. However, I don't use .txt-utf-8, .txt-latin-1, .txt-iso-8859-15 just because their encoding differs. As cat/pkg-ver ultimately is ONE file in the filesystem, there's no reason to put any information about the EAPI in the filename. I still don't get why EAPI=xxx is soooo bad. Obviously the GLEP (and the last 500 comments lack to explain that. Ebuilds are bash. EAPI=xxx is bash syntax. If you just don't like EAPI being defined as variable (because future EAPIs could define that EAPI is assigned via a function), there are other ways to put this into the ebuild. Eg. Python PEP 0263 ([1]) proposes a way to declare the encoding inside of the source file. Same could be done for the EAPI. Or just write a GLEP that states EAPI has to be assigned via the EAPI variable. You're trying to *set* a standard here, so act accordingly. thomas [1] http://www.python.org/dev/peps/pep-0263/ -- gentoo-dev@gentoo.org mailing list