[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIG
From: Michał_Górny <mgorny () gentoo ! org>
Date: 2017-04-25 18:45:55
Message-ID: 1493145955.1582.7.camel () gentoo ! org
[Download RAW message or body]
On pią, 2017-04-21 at 16:11 +0200, Michał Górny wrote:
> Use plain 'pythonX.Y-config' executable name in the python-config
> wrapper instead of querying the complete PYTHON_CONFIG path from
> python_export.
>
> Constructing full PYTHON_CONFIG path requires querying ABIFLAGS which
> requires the Python interpreter to be installed, which in turn
> unnecessarily forces every ebuild using the eclass to carry a build-time
> dependency on the Python interpreter.
>
> All current versions of Python correctly install 'pythonX.Y-config'
> symlink that points to the correct ABI-suffixed binary. It is therefore
> unnecessary to use the full path.
> ---
> eclass/python-utils-r1.eclass | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
Merged.
--
Best regards,
Michał Górny
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic