[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28160: Support newer version of python
From: |
Mathieu Lirzin |
Subject: |
bug#28160: Support newer version of python |
Date: |
Sun, 18 Feb 2018 12:34:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Mathieu Lirzin <address@hidden> writes:
>>From 1d60fb72168e62d33fe433380af621de64e22f23 Mon Sep 17 00:00:00 2001
> From: Mathieu Lirzin <address@hidden>
> Date: Thu, 1 Feb 2018 13:51:03 +0100
> Subject: [PATCH] python: Generate python interpreter list
>
> _AM_PYTHON_INTERPRETER_LIST is used by AM_PYTHON_PATH to autodetect
> Python programs whose names correspond to a specific Python
> version (e.g. python3.6). Previously this list was updated manually.
> The automatic support of newer versions (up to 4.0 excluded) fixes
> bug#28160.
>
> * m4/python.m4 (am_py_min_ver, am_py_max_ver): New macros.
> (_AM_PYTHON_INTERPRETER_LIST): Generate this list instead of hard-coding
> it. Implementation is taken from GNU Pyconfigure.
> ---
> m4/python.m4 | 21 +++++++++++++++++----
> 1 file changed, 17 insertions(+), 4 deletions(-)
Pushed as commit 1d60fb72168e62d33fe433380af621de64e22f23
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37