Python 2.5.1 upgrade as a new default
Hye-Shik Chang
hyeshik at gmail.com
Wed Jun 13 04:47:00 UTC 2007
On 6/13/07, Tom McLaughlin <tmclaugh at sdf.lonestar.org> 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
More information about the freebsd-python
mailing list