* [Buildroot] [PATCH 1/3] package/python-semantic-version: new package @ 2021-02-11 5:12 James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 2/3] package/python-setuptools-scm: bump to version 5.0.1 James Hilliard ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: James Hilliard @ 2021-02-11 5:12 UTC (permalink / raw) To: buildroot Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- .../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 diff --git a/package/python-semantic-version/python-semantic-version.hash b/package/python-semantic-version/python-semantic-version.hash new file mode 100644 index 0000000000..692905ec29 --- /dev/null +++ b/package/python-semantic-version/python-semantic-version.hash @@ -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 diff --git a/package/python-semantic-version/python-semantic-version.mk b/package/python-semantic-version/python-semantic-version.mk new file mode 100644 index 0000000000..2352690e26 --- /dev/null +++ b/package/python-semantic-version/python-semantic-version.mk @@ -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)) -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/3] package/python-setuptools-scm: bump to version 5.0.1 2021-02-11 5:12 [Buildroot] [PATCH 1/3] package/python-semantic-version: new package James Hilliard @ 2021-02-11 5:12 ` James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 3/3] package/python-setuptools-rust: new package James Hilliard 2021-03-16 21:37 ` [Buildroot] [PATCH 1/3] package/python-semantic-version: " Thomas Petazzoni 2 siblings, 0 replies; 4+ messages in thread From: James Hilliard @ 2021-02-11 5:12 UTC (permalink / raw) To: buildroot Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- 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(-) diff --git a/package/python-setuptools-scm/python-setuptools-scm.hash b/package/python-setuptools-scm/python-setuptools-scm.hash index 82dbf14356..79999fca0d 100644 --- a/package/python-setuptools-scm/python-setuptools-scm.hash +++ b/package/python-setuptools-scm/python-setuptools-scm.hash @@ -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 diff --git a/package/python-setuptools-scm/python-setuptools-scm.mk b/package/python-setuptools-scm/python-setuptools-scm.mk index c6d30e99e7..caca6d4314 100644 --- a/package/python-setuptools-scm/python-setuptools-scm.mk +++ b/package/python-setuptools-scm/python-setuptools-scm.mk @@ -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 -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 3/3] package/python-setuptools-rust: new package 2021-02-11 5:12 [Buildroot] [PATCH 1/3] package/python-semantic-version: new package James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 2/3] package/python-setuptools-scm: bump to version 5.0.1 James Hilliard @ 2021-02-11 5:12 ` James Hilliard 2021-03-16 21:37 ` [Buildroot] [PATCH 1/3] package/python-semantic-version: " Thomas Petazzoni 2 siblings, 0 replies; 4+ messages in thread From: James Hilliard @ 2021-02-11 5:12 UTC (permalink / raw) To: buildroot Add patch to remove optional wheel dependency. Enable host-python-package for python-toml. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- ...-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 diff --git a/package/python-setuptools-rust/0001-Don-t-require-optional-wheel-dependency.patch b/package/python-setuptools-rust/0001-Don-t-require-optional-wheel-dependency.patch new file mode 100644 index 0000000000..a17d41b720 --- /dev/null +++ b/package/python-setuptools-rust/0001-Don-t-require-optional-wheel-dependency.patch @@ -0,0 +1,40 @@ +From 4de1da1189d8f6d45b71bf036fbba1101ea5ec47 Mon Sep 17 00:00:00 2001 +From: James Hilliard <james.hilliard1@gmail.com> +Date: Wed, 10 Feb 2021 20:54:37 -0700 +Subject: [PATCH] Don't require optional wheel dependency. + +Signed-off-by: James Hilliard <james.hilliard1@gmail.com> +[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 + diff --git a/package/python-setuptools-rust/python-setuptools-rust.hash b/package/python-setuptools-rust/python-setuptools-rust.hash new file mode 100644 index 0000000000..3ed046b159 --- /dev/null +++ b/package/python-setuptools-rust/python-setuptools-rust.hash @@ -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 diff --git a/package/python-setuptools-rust/python-setuptools-rust.mk b/package/python-setuptools-rust/python-setuptools-rust.mk new file mode 100644 index 0000000000..42bc747a3b --- /dev/null +++ b/package/python-setuptools-rust/python-setuptools-rust.mk @@ -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)) diff --git a/package/python-toml/python-toml.mk b/package/python-toml/python-toml.mk index b4f9070f24..8a61be2f4f 100644 --- a/package/python-toml/python-toml.mk +++ b/package/python-toml/python-toml.mk @@ -12,3 +12,4 @@ PYTHON_TOML_LICENSE = MIT PYTHON_TOML_LICENSE_FILES = LICENSE $(eval $(python-package)) +$(eval $(host-python-package)) -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/3] package/python-semantic-version: new package 2021-02-11 5:12 [Buildroot] [PATCH 1/3] package/python-semantic-version: new package James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 2/3] package/python-setuptools-scm: bump to version 5.0.1 James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 3/3] package/python-setuptools-rust: new package James Hilliard @ 2021-03-16 21:37 ` Thomas Petazzoni 2 siblings, 0 replies; 4+ messages in thread From: Thomas Petazzoni @ 2021-03-16 21:37 UTC (permalink / raw) To: buildroot Hello James, On Wed, 10 Feb 2021 22:12:50 -0700 James Hilliard <james.hilliard1@gmail.com> wrote: > Signed-off-by: James Hilliard <james.hilliard1@gmail.com> > --- > .../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 -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-16 21:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-11 5:12 [Buildroot] [PATCH 1/3] package/python-semantic-version: new package James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 2/3] package/python-setuptools-scm: bump to version 5.0.1 James Hilliard 2021-02-11 5:12 ` [Buildroot] [PATCH 3/3] package/python-setuptools-rust: new package James Hilliard 2021-03-16 21:37 ` [Buildroot] [PATCH 1/3] package/python-semantic-version: " Thomas Petazzoni
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.