Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 03:50:30 +0900
From:      "Hye-Shik Chang" <hyeshik@gmail.com>
To:        vuthecuong <thichgaisinhnam7x@gmail.com>
Cc:        freebsd-python@freebsd.org
Subject:   Re: upgrade from python 2.4 to 2.5
Message-ID:  <4f0b69dc0707151150o6bb1cdb4vaf5992f189c1c13a@mail.gmail.com>
In-Reply-To: <469A3504.10404@gmail.com>
References:  <469A3504.10404@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/15/07, vuthecuong <thichgaisinhnam7x@gmail.com> wrote:
> Hi
> Did anyone already upgrade from python 2.4 to 2.5?
> there are 3 ports under lang:
> python, python 24, python 25
> How can I upgrade to python 2.5 using portupgrade so that
> all applications (built from ports) such as kde 3.5.7, baghira theme,
> vim (already
> built WITH_PYTHON=yes) etc will point to python 2.5?
> Tnx in advanced.

Currently, adding PYTHON_VERSION=python2.5 in your /etc/make.conf
is the simplest way, but it would break some ports because python2.5
doesn't install the binary $PREFIX/bin/python.

Forthcoming Python 2.5.1 update will introduce a convenient way to
choose version to use as a default; new configurable global variable
PYTHON_DEFAULT_VERSION is add for such uses.  I think the upgrade will
be finished in a week or two weeks.  If you can spend some time on
testing the patch in advance, please apply this patch and take a look
whether your ports are working as expected:

  http://people.freebsd.org/~perky/python25-rev6.diff


Thanks,
Hye-Shik



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