From owner-freebsd-ports@FreeBSD.ORG Sun May 17 16:54:20 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E947510656AE; Sun, 17 May 2009 16:54:20 +0000 (UTC) (envelope-from miwi@bsdcrew.de) Received: from bsdcrew.de (duro.unixfreunde.de [85.214.90.4]) by mx1.freebsd.org (Postfix) with ESMTP id A536B8FC0C; Sun, 17 May 2009 16:54:20 +0000 (UTC) (envelope-from miwi@bsdcrew.de) Received: by bsdcrew.de (Postfix, from userid 1001) id F23EF4AC5C; Sun, 17 May 2009 18:54:16 +0200 (CEST) Date: Sun, 17 May 2009 18:54:16 +0200 From: Martin Wilke To: python@FreeBSD.org Message-ID: <20090517165416.GW71804@bsdcrew.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@FreeBSD.org, clsung@FreBSD.org, perky@FreeBSD.org, tmclaugh@FreeBSD.org, lwhsu@FreeBSD.org Subject: [CFT] FreeBSD python25 move to python26 as default version. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 16:54:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A few weeks ago I started the work on an update of lang/python26. With this update I want to move to python26 as the default python version. I've tested a lot of ports which work fine. I've given pav@ a patch for a exp-run, to check how many regressions we have with this move. I'd like to call for testing of this patch to make sure I don't break too many ports. Please do following: Make sure your portstree is uptodate, fetch the patch here: http://miwi.homeunix.com/patches/python262.diff Apply the patch. If you have 2.5.x installed, perform an upgrade of lang/python25 to lang/python26 with a command like: # portupgrade -o lang/python26 lang/python25 If you want to keep 2.5.x installed alongside 2.6.x, set the PYTHON_DEFAULT_VERSION variable to 'python2.5' without quotes in make.conf, then go to lang/python and execute # portupgrade -R python Once the installed Python has been updated to 2.6, by using one of the methods 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. # cd /usr/ports/lang/python && make upgrade-site-packages This Makefile target requires ports-mgmt/portupgrade to be installed. Happy Testing! - Martin - -- +-----------------------+-------------------------------+ | PGP : 0xB1E6FCE9 | Jabber : miwi(at)BSDCrew.de | | ICQ : 169139903 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEUEARECAAYFAkoQQTgACgkQdLJIhLHm/OlKsQCdHdV/vKQ5+azyfffHtVe2dzQW lkAAmNI3QPVJ2In0Jlq+wJLbVQBBaAk= =WMF2 -----END PGP SIGNATURE-----