From owner-freebsd-python@FreeBSD.ORG Mon Jul 16 00:12:32 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 45C0A16A402 for ; Mon, 16 Jul 2007 00:12:32 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 1C00D13C48D for ; Mon, 16 Jul 2007 00:12:31 +0000 (UTC) (envelope-from thichgaisinhnam7x@gmail.com) Received: by wa-out-1112.google.com with SMTP id j37so1552154waf for ; Sun, 15 Jul 2007 17:12:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Vck3fsTqD/qEzOIeuURUG6YPeXnk2/olm7eM1k6phBrcRz/FmzsHOF0CZfmEm7pPtiGOHN9wgvY/UbI7sb7BPbrfmfRp/GMQS8/aCIPf0CXeCeQ4Pamgb3rzgWyMg0bCzJw/UebD0mli6GY+xsX5P++m0U92mv+aksp13yN0od4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=WDtEYBcyLQPzzT0gxN+AdH+3tsYy7FggVimu5XpJ8lHVYhXJhe1qfAiuP3bZeEHW046CrpvQ+lKUFWc9NwB833/qwYp1Xkq0gZBhNtxw04+B41qoX8RNKz9PSzg8SZz3qBD1+NoPSIdWnoZ8pxq1yjR0BWtu49t8SBozCgIWth8= Received: by 10.114.154.1 with SMTP id b1mr3656265wae.1184544742692; Sun, 15 Jul 2007 17:12:22 -0700 (PDT) Received: from localhost.localdomain ( [58.187.32.125]) by mx.google.com with ESMTP id n37sm39800001wag.2007.07.15.17.12.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Jul 2007 17:12:21 -0700 (PDT) Message-ID: <469AB7E0.2070402@gmail.com> Date: Mon, 16 Jul 2007 07:12:16 +0700 From: vuthecuong User-Agent: Thunderbird 2.0.0.4 (X11/20070624) MIME-Version: 1.0 To: Hye-Shik Chang References: <469A3504.10404@gmail.com> <4f0b69dc0707151150o6bb1cdb4vaf5992f189c1c13a@mail.gmail.com> In-Reply-To: <4f0b69dc0707151150o6bb1cdb4vaf5992f189c1c13a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 16 Jul 2007 00:12:32 -0000 Hye-Shik Chang wrote: > 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 > Thanks for the information, Chang