Date: Sat, 09 Sep 2000 12:45:43 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Thomas Gellekum <tg@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.python.mk Message-ID: <39BA06C7.6CA18114@FreeBSD.org> References: <200009081143.EAA52948@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BA06C7.6CA18114>
