upgrade from python 2.4 to 2.5

vuthecuong thichgaisinhnam7x at gmail.com
Mon Jul 16 00:12:32 UTC 2007


Hye-Shik Chang wrote:
> 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
>
Thanks for the information, Chang



More information about the freebsd-python mailing list