From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Emile Cormier <emile.cormier.jr@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths
Date: Sun, 3 Apr 2022 10:33:18 +0200 [thread overview]
Message-ID: <20220403083318.GE1811301@scaer> (raw)
In-Reply-To: <20220330224521.4142504-1-james.hilliard1@gmail.com>
James, Emile, All,
On 2022-03-30 16:45 -0600, James Hilliard spake thusly:
> From: Emile Cormier <emile.cormier.jr@gmail.com>
>
> Use /usr target/staging prefix and / host prefix.
>
> This allows the Python interpreter to find packages built via the new
> Flit infrastructure and fixes bug #14721.
Hint: if you reference bug fixes on their own line with:
Fixes: #14721
then it automatically gets picked up when doing the release email, and
helps closing the referenced bug.
> Signed-off-by: Emile Cormier <emile.cormier.jr@gmail.com>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - fixup formatting
> - fix all pep517 prefix paths
> ---
> package/pkg-python.mk | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/package/pkg-python.mk b/package/pkg-python.mk
> index 52ce402281..867341fc7b 100644
> --- a/package/pkg-python.mk
> +++ b/package/pkg-python.mk
> @@ -127,16 +127,16 @@ PKG_PYTHON_PEP517_ENV = \
> PKG_PYTHON_PEP517_INSTALL_TARGET_OPTS = \
> --interpreter=/usr/bin/python \
> --script-kind=posix \
> - --purelib=$(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
> - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
> + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
> + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
> --scripts=$(TARGET_DIR)/usr/bin \
> --data=$(TARGET_DIR)/usr
>
> PKG_PYTHON_PEP517_INSTALL_STAGING_OPTS = \
> --interpreter=/usr/bin/python \
> --script-kind=posix \
> - --purelib=$(STAGING_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
> - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
> + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
> + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
> --scripts=$(STAGING_DIR)/usr/bin \
> --data=$(STAGING_DIR)/usr
>
> @@ -147,12 +147,12 @@ HOST_PKG_PYTHON_PEP517_ENV = \
> $(HOST_CONFIGURE_OPTS)
>
> HOST_PKG_PYTHON_PEP517_INSTALL_OPTS = \
> - --interpreter=/usr/bin/python \
> + --interpreter=/bin/python \
> --script-kind=posix \
> --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
> - --headers=$(HOST_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \
> - --scripts=$(HOST_DIR)/usr/bin \
> - --data=$(HOST_DIR)/usr
> + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \
> + --scripts=$(HOST_DIR)/bin \
> + --data=$(HOST_DIR)
>
> ################################################################################
> # inner-python-package -- defines how the configuration, compilation
> --
> 2.25.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-04-03 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 22:45 [Buildroot] [PATCH v2 1/1] package/pkg-python.mk: fix PEP517 paths James Hilliard
2022-04-03 8:33 ` Yann E. MORIN [this message]
2022-04-03 19:13 ` Emile Cormier
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=20220403083318.GE1811301@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=emile.cormier.jr@gmail.com \
--cc=james.hilliard1@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.