package/python-rtoml: migrate to setuptools-rust infrastructure
commit: https://git.buildroot.net/buildroot/commit/?id=7906272c39744e26ed73028725787aa3a4441c54
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
We can now significantly simplify the python-rtoml build using the new setuptools-rust setup type introduced in the python package infrastructure.
Signed-off-by James Hilliard <[email protected]>
Signed-off-by Arnout Vandecappelle <[email protected]>
--- package/python-rtoml/python-rtoml.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
package/python-rtoml/python-rtoml.mk +1 -9
@@ -7,16 +7,8 @@ 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_SETUP_TYPE = setuptools-rust 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))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot