diff options
-rw-r--r-- | Mk/bsd.python.mk | 12 | ||||
-rw-r--r-- | UPDATING | 36 |
2 files changed, 42 insertions, 6 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index d653392e53f7..c6df15a4c55e 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -83,9 +83,9 @@ Python_Include_MAINTAINER= python@FreeBSD.org # # PYTHON_DEFAULT_VERSION # - Version of the default python binary in your ${PATH}, in -# the format "python2.6". Set this in your /etc/make.conf +# the format "python2.7". Set this in your /etc/make.conf # in case you want to use an older version as a default. -# default: python2.6 +# default: python2.7 # # PYTHON_WRKSRC - The ${WRKSRC} for your python version. Needed for # extensions like Tkinter, py-gdbm and py-expat, which @@ -201,8 +201,8 @@ Python_Include_MAINTAINER= python@FreeBSD.org # specific version of zope. # -_PYTHON_PORTBRANCH= 2.6 -_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 2.7 3.1 3.2# preferred first +_PYTHON_PORTBRANCH= 2.7 +_PYTHON_ALLBRANCHES= 2.7 2.6 2.5 2.7 3.1 3.2# preferred first _ZOPE_PORTBRANCH= 2.7 _ZOPE_ALLBRANCHES= 2.7 2.8 2.9 2.10 3.2 @@ -421,8 +421,8 @@ check-makevars:: @${ECHO} "Legal values are:" @${ECHO} " python2.4" @${ECHO} " python2.5" - @${ECHO} " python2.6 (default)" - @${ECHO} " python2.7" + @${ECHO} " python2.6" + @${ECHO} " python2.7 (default)" @${ECHO} " python3.1" @${ECHO} " python3.2" @${FALSE} @@ -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 |