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 9BDF41384B4 for ; Tue, 8 Dec 2015 08:20:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A27121C041; Tue, 8 Dec 2015 08:20:05 +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 033F4E08C2 for ; Tue, 8 Dec 2015 08:20:03 +0000 (UTC) Received: from gentoo.org (ultrachro.me [91.121.149.60]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: monsieurp@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2D398340A5D; Tue, 8 Dec 2015 08:20:01 +0000 (UTC) Received: by gentoo.org (nbSMTP-1.00) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) monsieurp@gentoo.org; Tue, 8 Dec 2015 09:20:01 +0100 (CET) Date: Tue, 8 Dec 2015 09:19:57 +0100 From: Patrice Clement To: gentoo-dev@lists.gentoo.org Cc: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: Re: [gentoo-dev] [PATCH 02/13] python-utils-r1.eclass: Reorder implementations to semi-ascending order Message-ID: <20151208081957.GD10221@ultrachro.me> References: <1449428612-20538-1-git-send-email-mgorny@gentoo.org> <1449428612-20538-3-git-send-email-mgorny@gentoo.org> 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: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1449428612-20538-3-git-send-email-mgorny@gentoo.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: c3f08a97-cd56-43ca-ac4f-7e6e808c9c10 X-Archives-Hash: 6f31f848ed85b43e96ce86f04ce04fe4 Sunday 06 Dec 2015 20:03:21, Michał Górny wrote : > Reorder the Python implementations to ascending version order, with > CPython listed first and other implementations in descending preference. > > The previous ordering has been used for two reasons: > > 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. > > 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. > > 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(-) > > diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass > 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=( > - 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 > ) > > # @FUNCTION: _python_impl_supported > -- > 2.6.3 > > Michal, While at it, please delete jython2_5 from this list since jython versions < 2.7 are in the process of being purged from Portage. See https://bugs.gentoo.org/show_bug.cgi?id=552452 Cheers, -- Patrice Clement Gentoo Linux developer http://www.gentoo.org