From owner-freebsd-python@FreeBSD.ORG Wed Jun 13 04:44:24 2007 Return-Path: X-Original-To: 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 359DC16A400 for ; Wed, 13 Jun 2007 04:44:24 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8B313C44C for ; Wed, 13 Jun 2007 04:44:20 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.127] (bofh.straycat.dhs.org [192.168.1.127]) by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l5D495qk011856; Wed, 13 Jun 2007 00:09:05 -0400 (EDT) From: Tom McLaughlin To: Hye-Shik Chang In-Reply-To: <4f0b69dc0706101154r8a5b51btd81ffdc5a2321de3@mail.gmail.com> References: <4f0b69dc0706101154r8a5b51btd81ffdc5a2321de3@mail.gmail.com> Content-Type: text/plain Date: Wed, 13 Jun 2007 00:09:04 -0400 Message-Id: <1181707744.43255.39.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: python@freebsd.org Subject: Re: Python 2.5.1 upgrade as a new default 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: Wed, 13 Jun 2007 04:44:24 -0000 On Mon, 2007-06-11 at 03:54 +0900, Hye-Shik Chang wrote: > Hello, > > I feel sorry about the slow progress of making 2.5 default. > I just updated the patch to the recent repository. > > http://people.freebsd.org/~perky/python25-rev5.diff > > As some third-party packages started to use features of 2.5, > we'd better to move to 2.5 soon. Please review the patch > and scream if you have a problem with it. :) > Details for the patch are described in the previous mail [1]. > If no problem arises, I will commit it in the next week. > > Thank you, > Hye-Shik > > [1] http://lists.freebsd.org/pipermail/freebsd-python/2007-March/000772.html +.if defined(PYEASYINSTALL_ARCHDEP) +_OSRELEASE!= ${UNAME} -r Can that be replaced with something like this? _OSRELEASE= ${OSVERSION:C/^([0-9]).*/\1/} The dot release version and OS tag are really irrelevant. (Better would be using `uname -r` and chopping everything off from the first "." on but it's late and I don't feel like remembering how to do this in make. :) example: foo-1.0-py2.4-freebsd-6.2-STABLE-i386.egg vs. foo-1.0-py2.4-freebsd-6-i386.egg tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | | BSD# http://www.mono-project.com/Mono:FreeBSD |