Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2012 01:39:46 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Dmitry Sivachenko <demon@FreeBSD.org>
Cc:        Chris Rees <utisoft@gmail.com>, python@freebsd.org, Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Subject:   Re: bin/python3 symlink for python3X ports
Message-ID:  <20121001173946.GB4939@FreeBSD.cs.nctu.edu.tw>
In-Reply-To: <506436DB.90408@FreeBSD.org>
References:  <5062AAEA.4000401@FreeBSD.org> <CADLo838ZysqxVHPuj6_M223ohanPWRoqc2mwePNeBYbGa2OfRQ@mail.gmail.com> <5062C5CB.4060109@yandex.ru> <5062C769.6090305@FreeBSD.org> <5062C8CE.701@yandex.ru> <5062E478.8020000@FreeBSD.org> <CAKBkRUxThcF3amNLBazkkdd2s9ce73u_J=q3o2EvpyLhL4GnfQ@mail.gmail.com> <506436DB.90408@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 27, 2012 at 15:22:03 +0400, Dmitry Sivachenko wrote:
> On 26.09.2012 17:00, Li-Wen Hsu wrote:
> >
> > I think this patch is good.  And I am thinking about also modifying
> > other lang/python{2,3}X ports, thus we may need to beware of
> > confliction on bin/python{2,3} between lang/python2X or lang/python3X
> > ports.  It is not so common but still possible to have more then one
> > lang/python2X or lang/python3X ports installed.  Maybe we can use the
> > same logic of bin/python installation (first wins).
> >
> 
> I beleive that the vast majority of python[23] users will be fine with the 
> latest version of the relevant branch.
> Considered that and also not to over complicate things I propose to make 
> python2/python3 symlink only for the latest version: python2 -> python2.7
> and python3 -> python3.2 for now.
> 
> And leave python31, python25, python26 untouched.  Users who really need older 
> versions of python should explicitly require python version during startup.
> 
> If it is OK for you, I can work out the final patch.

I think it's OK, and one more this might be helpful in the future is
adding a condition like:

.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}

then install the symlink.

Thanks for working on this, I am looking forward to your patch.

-- 
Li-Wen Hsu <lwhsu@FreeBSD.org>
http://lwhsu.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121001173946.GB4939>