upgrade from python 2.4 to 2.5

Hye-Shik Chang hyeshik at gmail.com
Sun Jul 15 19:18:42 UTC 2007


On 7/15/07, vuthecuong <thichgaisinhnam7x at 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


More information about the freebsd-python mailing list