From owner-freebsd-python@FreeBSD.ORG Sun Jul 15 19:18:42 2007 Return-Path: X-Original-To: freebsd-python@freebsd.org Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B76A16A402 for ; Sun, 15 Jul 2007 19:18:42 +0000 (UTC) (envelope-from hyeshik@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 73E1F13C46B for ; Sun, 15 Jul 2007 19:18:42 +0000 (UTC) (envelope-from hyeshik@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1480590waf for ; Sun, 15 Jul 2007 12:18:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FnO263eRxm/x74JXyRBSnu8q8D5W4mWfKyZa31vQgVeFrb6OW5J+SBrCqSXU0iCDgxQA+fRA7frJArYaBjSTMjkVkgSuvn27uN5XJrvA1wDS1CBut74E48YGAU1Ae0ZRXYutgvxrThv8qGKUs7nmM26UnivGkSmqD6qeokxC5k8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pGMEEcoCYdD5d4rN1kgT1GIBL+jh3BhgTP4DxGDcGxCWyD/fpxu82J0wJQCRgsgmz1aI3qe5ITVHCiWFfxaPZT27z2bI+apJ7hD6smYsOfCNeTMtFTpOw1PLSB3NL5rkZxDihqz9pCgHYw27bjSclWNjr4WsbCMgI8UlJGTCbCE= Received: by 10.114.13.1 with SMTP id 1mr3457891wam.1184525430988; Sun, 15 Jul 2007 11:50:30 -0700 (PDT) Received: by 10.115.110.16 with HTTP; Sun, 15 Jul 2007 11:50:30 -0700 (PDT) Message-ID: <4f0b69dc0707151150o6bb1cdb4vaf5992f189c1c13a@mail.gmail.com> Date: Mon, 16 Jul 2007 03:50:30 +0900 From: "Hye-Shik Chang" To: vuthecuong In-Reply-To: <469A3504.10404@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <469A3504.10404@gmail.com> Cc: freebsd-python@freebsd.org Subject: Re: upgrade from python 2.4 to 2.5 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2007 19:18:42 -0000 On 7/15/07, vuthecuong 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