[Buildroot] [PATCH v2 1/2] package/python-wheel: new host package

Arnout Vandecappelle arnout at mind.be
Sun Jun 25 14:04:21 UTC 2023



On 25/06/2023 00:27, James Hilliard wrote:
> This will be required for upcoming setuptools pep517 support.
> 
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> ---
>   package/python-wheel/python-wheel.hash |  5 +++++
>   package/python-wheel/python-wheel.mk   | 14 ++++++++++++++
>   2 files changed, 19 insertions(+)
>   create mode 100644 package/python-wheel/python-wheel.hash
>   create mode 100644 package/python-wheel/python-wheel.mk
> 
> diff --git a/package/python-wheel/python-wheel.hash b/package/python-wheel/python-wheel.hash
> new file mode 100644
> index 0000000000..377a85c8fd
> --- /dev/null
> +++ b/package/python-wheel/python-wheel.hash
> @@ -0,0 +1,5 @@
> +# md5, sha256 from https://pypi.org/pypi/wheel/json
> +md5  ec5004c46d1905da98bb5bc1a10ddd21  wheel-0.40.0.tar.gz

  We actually don't need an md5 if there's already a sha256. But I guess it's 
the scanpypi script that generates this stuff. Would be nice to get rid of it IMHO.

  Anyway, applied to master, thanks.

  Regards,
  Arnout

> +sha256  cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873  wheel-0.40.0.tar.gz
> +# Locally computed sha256 checksums
> +sha256  30c23618679108f3e8ea1d2a658c7ca417bdfc891c98ef1a89fa4ff0c9828654  LICENSE.txt
> diff --git a/package/python-wheel/python-wheel.mk b/package/python-wheel/python-wheel.mk
> new file mode 100644
> index 0000000000..159598fd1e
> --- /dev/null
> +++ b/package/python-wheel/python-wheel.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-wheel
> +#
> +################################################################################
> +
> +PYTHON_WHEEL_VERSION = 0.40.0
> +PYTHON_WHEEL_SOURCE = wheel-$(PYTHON_WHEEL_VERSION).tar.gz
> +PYTHON_WHEEL_SITE = https://files.pythonhosted.org/packages/fc/ef/0335f7217dd1e8096a9e8383e1d472aa14717878ffe07c4772e68b6e8735
> +PYTHON_WHEEL_SETUP_TYPE = flit
> +PYTHON_WHEEL_LICENSE = MIT
> +PYTHON_WHEEL_LICENSE_FILES = LICENSE.txt
> +
> +$(eval $(host-python-package))



More information about the buildroot mailing list