package/python-semantic-version: new package
PATCH 1/3 package/python-semantic-version: new package
--- .../python-semantic-version.hash | 5 +++++ .../python-semantic-version.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-semantic-version/python-semantic-version.hash create mode 100644 package/python-semantic-version/python-semantic-version.mk
package/python-semantic-version/python-semantic-version.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/semantic-version/json +md5 76d7364def7ee487b6153d40b13de904 semantic_version-2.8.5.tar.gz +sha256 d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54 semantic_version-2.8.5.tar.gz +# Locally computed sha256 checksums +sha256 a85e7ef2fbc670d26781ed6844cd31a7e8ada65d21328f75a0b02402faae37ea LICENSE
package/python-semantic-version/python-semantic-version.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-semantic-version +# +################################################################################ + +PYTHON_SEMANTIC_VERSION_VERSION = 2.8.5 +PYTHON_SEMANTIC_VERSION_SOURCE = semantic_version-$(PYTHON_SEMANTIC_VERSION_VERSION).tar.gz +PYTHON_SEMANTIC_VERSION_SITE = https://files.pythonhosted.org/packages/d4/52/3be868c7ed1f408cb822bc92ce17ffe4e97d11c42caafce0589f05844dd0 +PYTHON_SEMANTIC_VERSION_SETUP_TYPE = setuptools +PYTHON_SEMANTIC_VERSION_LICENSE = BSD-2-Clause +PYTHON_SEMANTIC_VERSION_LICENSE_FILES = LICENSE + +$(eval $(host-python-package))
Signature · 1 line
2.25.1
PATCH 2/3 package/python-setuptools-scm: bump to version 5.0.1
--- package/python-setuptools-scm/python-setuptools-scm.hash | 4 ++-- package/python-setuptools-scm/python-setuptools-scm.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-setuptools-scm/python-setuptools-scm.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools-scm/json -md5 86ec1eb9ec02ba018b097787e98897c5 setuptools_scm-3.5.0.tar.gz -sha256 5bdf21a05792903cafe7ae0c9501182ab52497614fa6b1750d9dbae7b60c1a87 setuptools_scm-3.5.0.tar.gz +md5 c11bf23d80224691a46ee5deb84c42db setuptools_scm-5.0.1.tar.gz +sha256 c85b6b46d0edd40d2301038cdea96bb6adc14d62ef943e75afb08b3e7bcf142a setuptools_scm-5.0.1.tar.gz # sha256 locally computed sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSE
package/python-setuptools-scm/python-setuptools-scm.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_SCM_VERSION = 3.5.0 +PYTHON_SETUPTOOLS_SCM_VERSION = 5.0.1 PYTHON_SETUPTOOLS_SCM_SOURCE = setuptools_scm-$(PYTHON_SETUPTOOLS_SCM_VERSION).tar.gz -PYTHON_SETUPTOOLS_SCM_SITE = https://files.pythonhosted.org/packages/b2/f7/60a645aae001a2e06cf4b8db2fba9d9f36b8fd378f10647e3e218b61b74b +PYTHON_SETUPTOOLS_SCM_SITE = https://files.pythonhosted.org/packages/af/df/f8aa8a78d4d29e0cffa4512e9bc223ed02f24893fe1837c6cee2749ebd67 PYTHON_SETUPTOOLS_SCM_LICENSE = MIT PYTHON_SETUPTOOLS_SCM_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_SCM_SETUP_TYPE = setuptools
Signature · 1 line
2.25.1
PATCH 3/3 package/python-setuptools-rust: new package
In reply to James HilliardAdd patch to remove optional wheel dependency.
Enable host-python-package for python-toml.
--- ...-t-require-optional-wheel-dependency.patch | 40 +++++++++++++++++++ .../python-setuptools-rust.hash | 5 +++ .../python-setuptools-rust.mk | 16 ++++++++ package/python-toml/python-toml.mk | 1 + 4 files changed, 62 insertions(+) create mode 100644 package/python-setuptools-rust/0001-Don-t-require-optional-wheel-dependency.patch create mode 100644 package/python-setuptools-rust/python-setuptools-rust.hash create mode 100644 package/python-setuptools-rust/python-setuptools-rust.mk
package/python-setuptools-rust/0001-Don-t-require-optional-wheel-dependency.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 4de1da1189d8f6d45b71bf036fbba1101ea5ec47 Mon Sep 17 00:00:00 2001 +From: James Hilliard <[email protected]> +Date: Wed, 10 Feb 2021 20:54:37 -0700 +Subject: [PATCH] Don't require optional wheel dependency. + +Signed-off-by: James Hilliard <[email protected]> +[Upstream status: +https://github.com/PyO3/setuptools-rust/pull/111] +--- + pyproject.toml | 2 +- + setup.cfg | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index eaf552d..6abb82f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.3"] ++requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4.3"] + build-backend = "setuptools.build_meta" + + [tool.setuptools_scm] +diff --git a/setup.cfg b/setup.cfg +index c8a8fcd..d92bcde 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -28,7 +28,7 @@ classifiers = + packages = setuptools_rust + zip_safe = True + install_requires = semantic_version>=2.6.0; toml>=0.9.0 +-setup_requires = setuptools>=46.1; wheel; setuptools_scm[toml]>=3.4.3 ++setup_requires = setuptools>=46.1; setuptools_scm[toml]>=3.4.3 + + [options.entry_points] + distutils.commands = +-- +2.30.0 +
package/python-setuptools-rust/python-setuptools-rust.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/setuptools-rust/json +md5 319d2968f076f37279c866e51bcccbcc setuptools-rust-0.11.6.tar.gz +sha256 a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca setuptools-rust-0.11.6.tar.gz +# Locally computed sha256 checksums +sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE
package/python-setuptools-rust/python-setuptools-rust.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# python-setuptools-rust +# +################################################################################ + +PYTHON_SETUPTOOLS_RUST_VERSION = 0.11.6 +PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/9d/87/7d1487395ab2e1d3c101d34b8e6ed346308f45349e5cdd3101963cc1c9cd +PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools +PYTHON_SETUPTOOLS_RUST_LICENSE = MIT +PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE +HOST_PYTHON_SETUPTOOLS_RUST_DEPENDENCIES = host-rustc host-python-setuptools-scm host-python-toml host-python-semantic-version +HOST_PYTHON_SETUPTOOLS_RUST_NEEDS_HOST_PYTHON = python3 + +$(eval $(host-python-package))
package/python-toml/python-toml.mk +1 -0
@@ -12,3 +12,4 @@ PYTHON_TOML_LICENSE = MIT PYTHON_TOML_LICENSE_FILES = LICENSE $(eval $(python-package)) +$(eval $(host-python-package))
Signature · 1 line
2.25.1
PATCH 1/3 package/python-semantic-version: new package
In reply to James HilliardHello James,
Quoted 7 lines · On Wed, 10 Feb 2021 22:12:50 -0700 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- .../python-semantic-version.hash | 5 +++++ .../python-semantic-version.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-semantic-version/python-semantic-version.hash create mode 100644 package/python-semantic-version/python-semantic-version.mk
I have applied the series to master, after splitting PATCH 3/3 into one patch doing the host-python-toml addition, and another patch for host-python-setuptools-rust.
One word of caution though: host-python-setuptools-rust has host-rustc in its dependencies, so packages that will use host-python-setuptools-rust will have to be careful in their Config.in dependencies to depend on the appropriate BR2_PACKAGE_HOST_RUSTC_* options. Indeed host-rustc and Rust support for the target is not available for all CPU architectures.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com