diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-03-04 16:08:23 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-03-04 16:08:23 +0000 |
commit | 3d2b040a70434ea2336c642155ec91bf1be80a22 (patch) | |
tree | 023f94e35f64695a23a8c1a78c5c3d01b9cbd611 /UPDATING | |
parent | e3bc551240cd7118be5d6fce5a2bdd496bd2fba4 (diff) |
- Make Python 2.7.1 the default Python version
Tested by: 2x pointyhat runs
Notes
Notes:
svn path=/head/; revision=270306
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -5,6 +5,42 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20110304: + AFFECTS: users of lang/python* and py-* + AUTHOR: miwi@FreeBSD.org + + The default version of Python has been changed from 2.6.x to 2.7.x. + If you have 2.6.x installed, perform an upgrade of lang/python26 to + lang/python27 with one of the following commands: + + If using portupgrade: + # portupgrade -o lang/python27 lang/python26 + + If using portmaster: + # portmaster -o lang/python27 lang/python26 + + If you want to retain 2.6.x as default Python version, set the + PYTHON_DEFAULT_VERSION variable to 'python2.6' (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. + 20110301: AFFECTS: users of databases/jasperserver AUTHOR: jhelfman@experts-exchange.com |