From owner-freebsd-python@FreeBSD.ORG  Fri Aug  2 19:21:13 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id 3363EE56
 for <freebsd-python@freebsd.org>; Fri,  2 Aug 2013 19:21:13 +0000 (UTC)
 (envelope-from mva@freebsd.org)
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
 [80.67.18.14])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id E5AA226D7
 for <freebsd-python@freebsd.org>; Fri,  2 Aug 2013 19:21:12 +0000 (UTC)
Received: from [80.67.16.118] (helo=webmailfront01.ispgateway.de)
 by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256)
 (Exim 4.68) (envelope-from <mva@freebsd.org>) id 1V5Kta-0007P5-Cx
 for freebsd-python@freebsd.org; Fri, 02 Aug 2013 21:20:14 +0200
Received: from a89-183-20-128.net-htp.de (a89-183-20-128.net-htp.de
 [89.183.20.128]) by webmail.df.eu (Horde Framework) with HTTP; Fri, 02 Aug
 2013 21:20:14 +0200
Date: Fri, 02 Aug 2013 21:20:14 +0200
Message-ID: <20130802212014.Horde.FIXp-g0V9mWVLJjr1EhVyQ1@webmail.df.eu>
From: Marcus von Appen <mva@freebsd.org>
To: freebsd-python@freebsd.org
Subject: Re: [CFT] lang/python becoming a python binary wrapper
References: <20130802180059.GA1278@medusa.sysfault.org>
In-Reply-To: <20130802180059.GA1278@medusa.sysfault.org>
User-Agent: Internet Messaging Program (IMP) H5 (6.0.4)
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc=
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: mva@freebsd.org
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Aug 2013 19:21:13 -0000

Marcus von Appen <mva@freebsd.org>:

> Dear all,
>
> as discussed previously on this list, users would love to install the
> same python for multiple python versions.

Of course this has to be read as "same python _module_" for multiple
version...

> Besides other issues (which I'll summarize in a different mail), one
> problem, especially for binary packages, are the "am I the default?"
> assumptions of lang/pythonXX.
>
> The attached patch moves that logic into lang/python, instead of
> maintaining the IF_DEFAULT magic within the individual python ports.
> This will allow binary packages to be installed side by side without any
> hacks, but also requires users, which are now happily using
> /usr/local/bin/python (being created by lang/pythonXX) to install
> lang/python explicitly (UPDATING entry should be sufficient).
>
> If there are no objections, I'll commit the change on the next weekend
> (09.08.+). Please take your time to test. If portmgr@ feels this might
> be a bit risky (ports implying /usr/local/bin/python based on
> lang/pythonXX), please issue an exp-run beforehand.
>
> Cheers
> Marcus