From owner-cvs-all Sat Sep 9 8:16:11 2000 Delivered-To: cvs-all@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 2E5A437B43E; Sat, 9 Sep 2000 08:16:00 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.9.1/8.9.3) with ESMTP id SAA08441; Sat, 9 Sep 2000 18:15:56 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e899jkj07270; Sat, 9 Sep 2000 12:45:46 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39BA06C7.6CA18114@FreeBSD.org> Date: Sat, 09 Sep 2000 12:45:43 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Thomas Gellekum Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.python.mk References: <200009081143.EAA52948@freefall.freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Gellekum wrote: > tg 2000/09/08 04:43:37 PDT > > Added files: > Mk bsd.python.mk > Log: > Add bsd.python.mk. This file contains definitions which hopefully > make dealing with Python-related ports easier. > > This needs to be activated from bsd.ports.mk; Satoshi will do that later. Great, however I want to suggest that the PYTHON_VERSION variable to be a normal numeric value like 150, 160, 200, 201 etc. instead of current mix of numbers, word `python' and dots in between. The reason for that is simple: if some features have been included in some version, say 1.6, then most likely that those features will be carried forward into all consequient versions. This should allow for simple comparisons like .if ${PYTHON_VERSION} > 123 FOO .else BAR .endif instead of current if ${PYTHON_VERSION) == "python1.2" FOO .elif ${PYTHON_VERSION} == "pyhon1.3" BAR .elif etc. etc. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message