From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: python@gentoo.org
Subject: Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIG
Date: Tue, 25 Apr 2017 20:45:55 +0200 [thread overview]
Message-ID: <1493145955.1582.7.camel@gentoo.org> (raw)
In-Reply-To: <20170421141143.21147-1-mgorny@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
prev parent reply other threads:[~2017-04-25 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 14:11 [gentoo-dev] [PATCH] python-utils-r1.eclass: python_wrapper_setup, do not query PYTHON_CONFIG Michał Górny
2017-04-25 18:45 ` Michał Górny [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1493145955.1582.7.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=python@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox