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 721691383A6 for ; Sun, 27 Oct 2013 19:43:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 782EFE0D1E; Sun, 27 Oct 2013 19:43:33 +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 66D7DE0D09 for ; Sun, 27 Oct 2013 19:43:32 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 768C133EF55 for ; Sun, 27 Oct 2013 19:43:31 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id qd12so9817178ieb.5 for ; Sun, 27 Oct 2013 12:43:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OLml8ILDFsuv94FagU7lj5l8KvuPmMcLadArTWATlbE=; b=VmtQk+rTgI8q2IkaIyAlbQT3IEhGbxcQADvsYdJD/KmorN+z990RfaO/zHH+2OQ0G4 rLggA6jDwZUJsoqJfQm3AnUQn1oKV9rhJ7h7tUBPc9xJ30nNV262BDUpURgN1jrI9sHA /Lo6gmQ9wlXv89FkXYHQdMmipWoMeOMQyNWaeZRgMK3HTCSFwv2kZFTQfoAC4OhiHsNE 2Pv5sE7eEaCV7wYQhWej06EmkfI3py/s8B3vikTpAWNi7lZqveapGbIl4aV0GzXHmkco A7qFIGQXUpJz9AKCG1D/J3uxevE/xPgc6XDdsJuBxOPDMED/S6D5NGGlqpQ8+ePt7jGU KHLg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.50.11.11 with SMTP id m11mr4844920igb.47.1382903009994; Sun, 27 Oct 2013 12:43:29 -0700 (PDT) Received: by 10.64.139.5 with HTTP; Sun, 27 Oct 2013 12:43:29 -0700 (PDT) In-Reply-To: <526D010A.1030307@gentoo.org> References: <5267CB83.3000306@gentoo.org> <526D010A.1030307@gentoo.org> Date: Sun, 27 Oct 2013 15:43:29 -0400 Message-ID: Subject: Re: [gentoo-user] did python-r1 improve user experience? From: Mike Gilbert To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 2d530f76-ced7-41f3-bbaf-db591fd56929 X-Archives-Hash: 7e4131e491025d5590b2011fe7837b8d On Sun, Oct 27, 2013 at 8:03 AM, hasufell wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/27/2013 02:30 AM, Mike Gilbert wrote: >> >> The (non-)relationship between eselect python and PYTHON_TARGETS >> is something that would be nice to resolve, but I don't know how to >> do it. PYTHON_SINGLE_TARGET will probably cause problems if/when >> packages start supporting python3 only. >> > > I think python-single-r1 is one of the major problems for users, > because they have to mess with two variables/useflags. Most just put > PYTHON_SINGLE_TARGET="python3_3" or something in make.conf which then > again affects all packages and WILL cause blockers/unresolvable deps. > > Afair in the very early versions we just picked the "best" > implementation and were done with it (since a python-single-r1 package > should not provide modules anyway). > > What is wrong with that approach (except that it still causes useless > rebuilds)? Do users really need that sort of control over non-module > packages? If they really do, you can still do some additional work and > make a real python-r1 package out of it. I guess the obvious downside to doing that would be extraneous dependencies. You would end up with packages that are installed for only one version of python, but "depend" on libraries for every version of python in PYTHON_TARGETS. That's probably not a big deal. However, you could potentially have a *library* that supports only a single version of python and uses python-single-r1; in that case we absolutely must know for which version of python it was installed to allow other python-single-r1 packages to depend on it correctly.