Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o
Subject: Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIG
Date: Tue, 25 Apr 2017 18:48:07
Message-Id: 1493145955.1582.7.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIG by "Michał Górny"
1 On pią, 2017-04-21 at 16:11 +0200, Michał Górny wrote:
2 > Use plain 'pythonX.Y-config' executable name in the python-config
3 > wrapper instead of querying the complete PYTHON_CONFIG path from
4 > python_export.
5 >
6 > Constructing full PYTHON_CONFIG path requires querying ABIFLAGS which
7 > requires the Python interpreter to be installed, which in turn
8 > unnecessarily forces every ebuild using the eclass to carry a build-time
9 > dependency on the Python interpreter.
10 >
11 > All current versions of Python correctly install 'pythonX.Y-config'
12 > symlink that points to the correct ABI-suffixed binary. It is therefore
13 > unnecessary to use the full path.
14 > ---
15 > eclass/python-utils-r1.eclass | 6 ++----
16 > 1 file changed, 2 insertions(+), 4 deletions(-)
17 >
18
19 Merged.
20
21 --
22 Best regards,
23 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature