From owner-freebsd-python@FreeBSD.ORG Wed Jun 13 04:47:00 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 2AA1016A400 for ; Wed, 13 Jun 2007 04:47:00 +0000 (UTC) (envelope-from hyeshik@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.234]) by mx1.freebsd.org (Postfix) with ESMTP id DE8C713C4B7 for ; Wed, 13 Jun 2007 04:46:59 +0000 (UTC) (envelope-from hyeshik@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so70205nzn for ; Tue, 12 Jun 2007 21:46:59 -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=KE3V7GR8Uxwei9PsQ1aeK/F+BySU7VZleU7oD2gL1WPJYuj42bzKWjN4hpMtIO8TMw7r90DHKuwETutOVzjsFPsZGIZEsFNLs69xRD7M5QAJ1yrtUZi+tDv2d+EYbC1b+7DGVWNEGw0kGSMWChInG/9G1wvLSc/yN+eJTKX0cjA= 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=OW936gSplfhk2ulGtlbCqbQocE28U512c8aG2yVnAngNK2oWK1J034U3Jsu0Gtch2BomTWD5FgqqTeH+OGMSU3wTz2gd/MZHiNjDU5sALr+TgzGfGGHDTrrIjxHFIlp87DCxdt2mEjMZwPw2wdD2ilIU1I7Id2MmR6Bs2ldYigM= Received: by 10.114.181.1 with SMTP id d1mr290120waf.1181710018984; Tue, 12 Jun 2007 21:46:58 -0700 (PDT) Received: by 10.115.110.16 with HTTP; Tue, 12 Jun 2007 21:46:58 -0700 (PDT) Message-ID: <4f0b69dc0706122146t34453c9fqf2a96678a9c79fb8@mail.gmail.com> Date: Wed, 13 Jun 2007 13:46:58 +0900 From: "Hye-Shik Chang" To: "Tom McLaughlin" In-Reply-To: <1181707744.43255.39.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4f0b69dc0706101154r8a5b51btd81ffdc5a2321de3@mail.gmail.com> <1181707744.43255.39.camel@localhost> 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:47:00 -0000 On 6/13/07, Tom McLaughlin wrote: > +.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. :) I agree for the point. However, the OS tag is decided by platform() of the standard `platform' module, so changing its behavior make unexpected result globally. I'll investigate whether it can be changed before committing the patch. :-) Hye-Shik