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 14E891384B4 for ; Wed, 9 Dec 2015 19:25:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60B86E0871; Wed, 9 Dec 2015 19:25:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4728F21C028 for ; Wed, 9 Dec 2015 19:25:07 +0000 (UTC) Received: from pomiot (d202-251.icpnet.pl [109.173.202.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 1A64F33FE13; Wed, 9 Dec 2015 19:25:03 +0000 (UTC) Date: Wed, 9 Dec 2015 20:24:45 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: Patrice Clement Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 02/13] python-utils-r1.eclass: Reorder implementations to semi-ascending order Message-ID: <20151209202445.02835f16.mgorny@gentoo.org> In-Reply-To: <20151208081957.GD10221@ultrachro.me> References: <1449428612-20538-1-git-send-email-mgorny@gentoo.org> <1449428612-20538-3-git-send-email-mgorny@gentoo.org> <20151208081957.GD10221@ultrachro.me> Organization: Gentoo X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/b=Cd7dTaTjSn8HozVBaYyYq"; protocol="application/pgp-signature" X-Archives-Salt: 12893c82-c509-4495-9fbf-2063da307e17 X-Archives-Hash: 0b03e074f2460ca8cb173728ea3ecb64 --Sig_/b=Cd7dTaTjSn8HozVBaYyYq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 8 Dec 2015 09:19:57 +0100 Patrice Clement wrote: > Sunday 06 Dec 2015 20:03:21, Micha=C5=82 G=C3=B3rny wrote : > > Reorder the Python implementations to ascending version order, with > > CPython listed first and other implementations in descending preference. > >=20 > > The previous ordering has been used for two reasons: > >=20 > > 1. There were packages which supported Python 3.x or PyPy partially but > > their documentation builds or test functions required CPython 2.x. > > The specific ordering caused python_export_best (the predecessor of > > python_setup) to use CPython 2.x for those tasks. This is now replaced > > by explicit implementation restrictions in python_setup. > >=20 > > 2. PyPy setup runs were usually slower than CPython, and CPython 3.x > > runs were often slower due to 2to3 calls. Combined with parallel build > > runs, this ordering caused slower builds to start earlier and sometimes > > resulted in more efficient use of threads. However, nowadays we no > > longer do parallel builds. > >=20 > > Therefore, it seems reasonable to finally reorder the implementations > > into a more intuitive order. > > --- > > eclass/python-utils-r1.eclass | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > >=20 > > diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.ecl= ass > > index 0bce6a9..3ea23a8 100644 > > --- a/eclass/python-utils-r1.eclass > > +++ b/eclass/python-utils-r1.eclass > > @@ -41,10 +41,10 @@ inherit toolchain-funcs > > # @DESCRIPTION: > > # All supported Python implementations, most preferred last. > > declare -g -r _PYTHON_ALL_IMPLS=3D( > > - jython2_5 jython2_7 > > - pypy pypy3 > > - python3_3 python3_4 python3_5 > > python2_7 > > + python3_3 python3_4 python3_5 > > + pypy pypy3 > > + jython2_5 jython2_7 > > ) > > =20 > > # @FUNCTION: _python_impl_supported > > --=20 > > 2.6.3 > >=20 > > =20 >=20 > Michal, >=20 > While at it, please delete jython2_5 from this list since jython versions= < 2.7 are in > the process of being purged from Portage.=20 >=20 > See https://bugs.gentoo.org/show_bug.cgi?id=3D552452 Will do, also from profiles. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/b=Cd7dTaTjSn8HozVBaYyYq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWaH/+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOKkwP+wfqjS3L6AA6sBxoaRy0oDP8 Cxad+P11pCyh6v1D4RoGdvurGdIcz8NGBGCbxlXhirUPN7XsP5jLAEZm5P/gi72d QHd6e/AglctKi6W4PxX1u51rmdiXhRE1xVMX6oqPALUSZjPXPhmaoEGjl03Rt5Gh LJLu3kk0eEH/T84N2KE4x2uJetnD35lIxARGRrch25evM4x7q6Rs4PlPL+ZWpYui 0U7T4k24elPB20AyoSd7Aon1qAYSopBIW+uiWzC4aiP1OjqhGW0jWdtlvBOGLscO htF4/ZOthxyBv5zuh5NKHTS/1HRGud7mkuonkM/QpZemC1xZapqQoSDz3o39sUE0 D9kgmlIsNFs6RKjeeanY85v7LE7QrF84+sGtAfiuAzet/PWQUyQWbo3J63EoxiRO HJ3n4AMsl6LA1g97V13ztmNxnffM1eZg56p9+JCaO/03MRovzMfVQqHghAb3Sjx/ D0Mj/dEibkg0lGfqe+m8vvz9IY7bXc68M42skWzOeXctlILe4GCK281EvMENmxjD 5MEFwnZnDuNmGadN7Ym3AkToj1Cow2I83LXZQijOheNfAhHDPXgZJZnkbUgNCsGp /lynBEK4iWSXfQFGSzBnbvXryJb3LuLovLxPHN/BJmYwq31gZHOeMDobWmHFIrr5 o6J/n3UhulxHtRWm9zDo =giLA -----END PGP SIGNATURE----- --Sig_/b=Cd7dTaTjSn8HozVBaYyYq--