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 1SaRBo-0001Iz-0a for garchives@archives.gentoo.org; Fri, 01 Jun 2012 12:42:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B014AE050C; Fri, 1 Jun 2012 12:42:44 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 8DC3EE050C for ; Fri, 1 Jun 2012 12:42:44 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 483D9206DD; Fri, 1 Jun 2012 08:42:44 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 01 Jun 2012 08:42:44 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:cc:subject:references :date:mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=DD0c0vZhmfGwhNS7p5H5XaTtcn0=; b=ibyj Mcdj9WdyxIh+n0BiD+2sk2YhmJka9etY8dOGQlcj/kRuOzaM9FWTGgk8NpM2NNYY vrmMhI4DeyBvVfc59VyEqqjTOsL/WPTZUQvldEVoxGd7fYx0hvyzY5MZzoCPW4Ba znWEoJD5sD/CLEf/SytuSZAGgDp2rR+7aoMgg9s= X-Sasl-enc: skd0gC4BPOdAL2v/zekN6E4LVAT3XLQ/0DhutCUqGmSf 1338554563 Received: from verkdatorn.npdb (unknown [109.188.188.226]) by mail.messagingengine.com (Postfix) with ESMTPA id 681778E0211; Fri, 1 Jun 2012 08:42:43 -0400 (EDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: gentoo-python Cc: "Mike Gilbert" Subject: Re: [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass References: Date: Fri, 01 Jun 2012 16:42:37 +0400 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-Transfer-Encoding: 7bit From: "Nikolaj Sjujskij" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.64 (Linux) X-Archives-Salt: 5e70e4be-60a7-417e-b4f9-27394bcb4b1a X-Archives-Hash: 8c4f43b437966116112498d2f8ef767f Den 2012-05-26 17:33:45 skrev Mike Gilbert : >> Let's take a "stable" user who updates (`emerge --update --deep >> --newuse >> @world`) his/her system regularly. >> Python 3.3 is released, added to Portage tree and eventually unmasked. >> PYTHON_TARGETS variable is changed to include 3.3. And suddenly `emerge >> --newuse @world` on stable system suggests rebuilding of every package >> using >> new eclass, because new (though disabled) USE-flags was added. And when >> Python 3.3 is keyworded stable, hence bringing new default >> PYTHON_TARGETS, >> user should now rebuild those packages once more, but now, at least, not >> uselessly. > This is why I do my world updates with --changed-use instead of > --newuse. The package manager already has the ability to deal with > such scenarios intelligently, you just have to let it. Point taken, but --newuse is still "recommended" option (i.e., `--depclean` suggests it and Handbook describes it as well). Whereas '--changed-use' is more or less "spoken lore" among users. > I did not speak up in the previous thread, but here are some of the > advantages to a use flag based approach (PYTHON_TARGETS): > ... Agreed. > Here is how I justify the current default value of PYTHON_TARGETS: Due > to past decisions, python3.2 is installed by default on all amd64 and > x86 systems, so having python3_2 enabled by default makes sense. > However, there are many things do not work in python 3, so the > python2_7 target is a necessity. Yes, I understand that. It is really the most sensible default in the circumstances. Still, it is a bit clumsy with new installs. It'd be nice if stage3 had PYTHON_TARGETS="python32" (since it's the only Python interpreter installed), while profile had current default. Of course, news item is a must for that kind of thing. Describing new variable, suggesting `--changed-use` instead of `--newuse` etc.