View Single Post
  #4   (View Single Post)  
Old 7th September 2009
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

From /usr/ports/UPDATING:

Quote:
20090608:
AFFECTS: users of lang/python* and py-*
AUTHOR: miwi@FreeBSD.org

The default version of Python has been changed from 2.5.x to 2.6.x.
If you have 2.5.x installed, perform an upgrade of lang/python25 to
lang/python26 with one of the following commands:

If using portupgrade:
# portupgrade -o lang/python26 lang/python25

If using portmaster:
# portmaster -o lang/python26 lang/python25

If you want to retain 2.5.x as default Python version, set the
PYTHON_DEFAULT_VERSION variable to 'python2.5' (without quotes) in
/etc/make.conf, then go to lang/python and perform the following
command:

# portupgrade -R python

Once the installed Python has been updated to 2.6, by using the
method above, it is required to run the upgrade-site-packages target in
lang/python to assure that site-packages are made available to the new
Python version.

If using portupgrade:
# cd /usr/ports/lang/python && make upgrade-site-packages

If using portmaster:
# cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER

The portmaster case can take quite some time to complete due to the lack of
cached information that the portupgrade suite uses (specifically pkg_which).
This is not the fault of portmaster.
__________________
"I never think of the future. It comes soon enough." - A.E

Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org
Reply With Quote