package/python-rtoml: new package
PATCH 1/1 package/python-rtoml: new package
Signed-off-by James Hilliard <[email protected]>
--- package/Config.in | 1 + package/python-rtoml/Config.in | 7 +++++++ package/python-rtoml/python-rtoml.hash | 4 ++++ package/python-rtoml/python-rtoml.mk | 22 ++++++++++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/python-rtoml/Config.in create mode 100644 package/python-rtoml/python-rtoml.hash create mode 100644 package/python-rtoml/python-rtoml.mk
package/Config.in +1 -0
@@ -1208,6 +1208,7 @@ menu "External python modules" source "package/python-rpi-gpio/Config.in" source "package/python-rpi-ws281x/Config.in" source "package/python-rsa/Config.in" + source "package/python-rtoml/Config.in" source "package/python-rtslib-fb/Config.in" source "package/python-s3transfer/Config.in" source "package/python-scandir/Config.in"
package/python-rtoml/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_RTOML + bool "python-rtoml" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + help + A better TOML library for python implemented in rust. + + https://github.com/samuelcolvin/rtoml
package/python-rtoml/python-rtoml.hash new file +4 -0
@@ -0,0 +1,4 @@ +# Locally calculated after vendoring +sha256 821a430ab6587bdaaf7cb95044e8e0d99c77c6aed0adce5a370045b270f7ee20 rtoml-0.8.0.tar.gz +# Locally computed sha256 checksums +sha256 cd5ffde80e6d3286a2e2e5f02fb2cb07b823931ca368e7c735a6c5f5aebe7103 LICENSE
package/python-rtoml/python-rtoml.mk new file +22 -0
@@ -0,0 +1,22 @@ +################################################################################ +# +# python-rtoml +# +################################################################################ + +PYTHON_RTOML_VERSION = 0.8.0 +PYTHON_RTOML_SOURCE = rtoml-$(PYTHON_RTOML_VERSION).tar.gz +PYTHON_RTOML_SITE = https://files.pythonhosted.org/packages/33/a6/b42d8e0e28bec9fd7fdbafb2d76db3f8578f151a669eba564d422756d909 +PYTHON_RTOML_SETUP_TYPE = setuptools +PYTHON_RTOML_LICENSE = MIT +PYTHON_RTOML_LICENSE_FILES = LICENSE +PYTHON_RTOML_DEPENDENCIES = host-python-setuptools-rust host-rustc +PYTHON_RTOML_ENV = \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" +# We need to vendor the Cargo crates at download time +PYTHON_RTOML_DOWNLOAD_POST_PROCESS = cargo +PYTHON_RTOML_DOWNLOAD_DEPENDENCIES = host-rustc +PYTHON_RTOML_DL_ENV = $(PKG_CARGO_ENV) + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · On Wed, 11 May 2022 15:18:45 -0600 James Hilliard <[email protected]>…
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-rtoml/Config.in | 7 +++++++ package/python-rtoml/python-rtoml.hash | 4 ++++ package/python-rtoml/python-rtoml.mk | 22 ++++++++++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/python-rtoml/Config.in create mode 100644 package/python-rtoml/python-rtoml.hash create mode 100644 package/python-rtoml/python-rtoml.mk
I have applied, after adding a runtime test, and adding the missing entry to the DEVELOPERS file.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot