From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8A4771381F3 for ; Sun, 18 Aug 2013 22:29:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7398E0ADE; Sun, 18 Aug 2013 22:29:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0ACD0E0ADE for ; Sun, 18 Aug 2013 22:29:36 +0000 (UTC) Received: from localhost (unknown [83.238.240.239]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 0498933EB88; Sun, 18 Aug 2013 22:29:34 +0000 (UTC) Date: Mon, 19 Aug 2013 00:29:32 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org Subject: [gentoo-python] Naming of PyPy and PyPy3 executables Message-ID: <20130819002932.34135e75@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.20; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/cKFw1MSqaPQJ2DLy_r5q6wJ"; protocol="application/pgp-signature" X-Archives-Salt: 068dc593-b778-446e-aa00-47fd52119f6a X-Archives-Hash: d881e9a5c86bfb6864e088c6d6c00508 --Sig_/cKFw1MSqaPQJ2DLy_r5q6wJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Let's open an official discussion about this. First of all, what happens on Gentoo. The PyPy's build process creates an executable named 'pypy-c'. We install it with this name, and symlink as /usr/bin/pypy-cX.Y for each PyPy version. We don't do any 'common' wrapper for PyPy. Upstream's packaging scripts, however, rename the 'pypy-c' executable to 'pypy'. All other distros I have checked (Arch, Debian, Fedora, Ubuntu) install a single /usr/bin/pypy for them. They don't support multiple versions though. At the point, it seems reasonable to drop our '-c' addition and just use 'pypyX.Y' (+ 'pypy') instead. We could do this starting with 2.1 but... Since v2.1, PyPy has been 'split' into PyPy and PyPy3, the former being Python2 variant and the latter Python3. Both share the same versions (that is, there's PyPy 2.1 and PyPy3 2.1). =46rom what floppym checked, the build process builds plain 'pypy-c' as well. Alike regular PyPy, upstream's scripts rename it to 'pypy'. Since PyPy3 is still in beta, only Arch Linux has packages for it. It installs a single /usr/bin/pypy3 (what a surprise). This raises the question: how should we name our PyPy executables? While I really like the 'pypyX.Y' idea, I don't really want to see 'pypy32.1' :). We could go for 'pypy-X.Y' and 'pypy3-X.Y' but that would be inconsistent with CPython (pythonX.Y) and Jython (jythonX.Y0). A somehow ugly alternative would be to use 'pypy-cX.Y' and 'pypy3-cX.Y' but that is quite a custom invention. Your thoughts? --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/cKFw1MSqaPQJ2DLy_r5q6wJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQJ8BAEBCgBmBQJSEUrQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RUJGMjBGOTk2RkIzQzIyQ0M2RkNBNDBC QUJGMUQ1RkY4QzgxMTBBAAoJELq/HV/4yBEKhisP/1dv/cY852HxxSAjWFQaOwlC FAPSYtHS08inRCfN9Q3W9SqAUtWCWqzFILaSPA/iz4x+h+lhLxMaMfzNXVRlMWTL PR4zmRbXsGrk7xa+4U+D36uEsLdIIYW5Uceve7IFvZn8e/0EkK93Eb0IX/E5ZHNr JFJOTFmV1Ft9vYkRz425wdsOBMdcGDpJVuvmt5mEIkrWbwUb64aF+cpgAQysWRDc b6ai9yZiCLyNxZFFbydNHaUqA2ik1QJ/c5QmkqfeNMsUu1miMLra6/W8BGPCHc7d 2TV+rU478Q3qUPzV8xFvl86UK72uVhPWK5gYop5uHoI0X+CtNYWNkE+nry2e+vgz 1lmhxcyy0RqymUdbzztDkUcewbwqZVaAppK1ElmBBL5Aj3Zr+9+IECDVz+9QmSTm NXCYGTllz8Y5UJ5+DvAJYLNXma1EtARHQQIz5cr//altenBIiTnRISL542B6OJOA gMm3BpXFESI4cdHyRRPByxTFGVmFEgrsrOBd9cwtuKGB84mT9fTZGzdEN0IG88Tu XzgHAEIAmGn+KnAzpvbZ7rmp98XZVHeGcbcRBeOdjwv8hBZ3MSn4AeUgBdP8819x ZeEKKr5HL3Ugdn5XP8AjaM0pVuT8MBeo6mF1ILbAvyjrcaNgSGj61q2fWiNXEZZv 3VTNlJ7QNXeWx40PenW9 =lJDR -----END PGP SIGNATURE----- --Sig_/cKFw1MSqaPQJ2DLy_r5q6wJ--