From: Arnout Vandecappelle <arnout@mind.be>
To: James Hilliard <james.hilliard1@gmail.com>, buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Asaf Kahlon <asafka7@gmail.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>
Subject: Re: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1
Date: Mon, 25 Apr 2022 23:37:48 +0200 [thread overview]
Message-ID: <f2289739-57a7-268c-ebc1-1ba41d8c2d41@mind.be> (raw)
In-Reply-To: <20220424213958.1747120-4-james.hilliard1@gmail.com>
On 24/04/2022 23:39, James Hilliard wrote:
> This package now requires flit and must use the flit-bootstrap setup
> type for the host build since it is a dependency of
> host-python-pypa-build.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Applied to master, thanks.
While testing this series, I noticed that the following gives an error (this
was already the case in the original series; I haven't checked how it was before
your series was applied - for tomli, it certainly wouldn't happen because it
would still be using setuptools, but maybe for other flit packages, I don't know).
make python-tomli
make python-tomli-dirclean
make python-tomli
...
FileExistsError: File already exists:
/home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py
Would be nice to get that fixed...
Regards,
Arnout
> ---
> Changes v6 -> v7:
> - only use flit-boostrap for host-python-tomli
> ---
> package/python-tomli/python-tomli.hash | 4 ++--
> package/python-tomli/python-tomli.mk | 7 ++++---
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash
> index 1a274c8a40..8368f9ee13 100644
> --- a/package/python-tomli/python-tomli.hash
> +++ b/package/python-tomli/python-tomli.hash
> @@ -1,5 +1,5 @@
> # md5, sha256 from https://pypi.org/pypi/tomli/json
> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz
> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz
> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz
> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz
> # Locally computed sha256 checksums
> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE
> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk
> index b8c20ca736..b803d67466 100644
> --- a/package/python-tomli/python-tomli.mk
> +++ b/package/python-tomli/python-tomli.mk
> @@ -4,12 +4,13 @@
> #
> ################################################################################
>
> -PYTHON_TOMLI_VERSION = 1.2.0
> +PYTHON_TOMLI_VERSION = 2.0.1
> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz
> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa
> -PYTHON_TOMLI_SETUP_TYPE = distutils
> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3
> PYTHON_TOMLI_LICENSE = MIT
> PYTHON_TOMLI_LICENSE_FILES = LICENSE
> +PYTHON_TOMLI_SETUP_TYPE = flit
> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap
>
> $(eval $(python-package))
> $(eval $(host-python-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-04-25 21:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-24 21:39 [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence James Hilliard
2022-04-24 21:39 ` [Buildroot] [PATCH v7 2/5] package/pkg-python.mk: remove hardcoded paths for host Python James Hilliard
2022-04-25 21:32 ` Arnout Vandecappelle
2022-04-24 21:39 ` [Buildroot] [PATCH v7 3/5] package/python-flit-core: migrate setup type to flit bootstrap James Hilliard
2022-04-25 21:34 ` Arnout Vandecappelle
2022-04-24 21:39 ` [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 James Hilliard
2022-04-25 21:37 ` Arnout Vandecappelle [this message]
2022-04-26 1:35 ` James Hilliard
2022-04-27 7:07 ` Arnout Vandecappelle
2022-04-27 7:15 ` James Hilliard
2022-04-29 20:04 ` James Hilliard
2022-04-24 21:39 ` [Buildroot] [PATCH v7 5/5] package/python-pyparsing: bump to version 3.0.8 James Hilliard
2022-04-25 21:38 ` Arnout Vandecappelle
2022-04-25 21:32 ` [Buildroot] [PATCH v7 1/5] package/pkg-python: migrate flit to new bootstrapping sequence Arnout Vandecappelle
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=f2289739-57a7-268c-ebc1-1ba41d8c2d41@mind.be \
--to=arnout@mind.be \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
/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.