mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-08 09:38:54 -10:00
Switch to the setuptools-rust build backend and vendor the Rust dependencies. The pure Python implementation is no longer available. Propagate the Rust architecture dependency to python-zlmdb. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
22 lines
914 B
Makefile
22 lines
914 B
Makefile
################################################################################
|
|
#
|
|
# python-cbor2
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_CBOR2_VERSION = 6.1.5
|
|
PYTHON_CBOR2_SOURCE_PYPI = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz
|
|
PYTHON_CBOR2_SITE_PYPI = https://files.pythonhosted.org/packages/39/34/d443914ea562a985ccb357682e17b7190d5d58eff797c741379be47a8f31
|
|
PYTHON_CBOR2_SITE = $(PYTHON_CBOR2_SITE_PYPI)/$(PYTHON_CBOR2_SOURCE_PYPI)?buildroot-path=filename
|
|
PYTHON_CBOR2_SETUP_TYPE = setuptools-rust
|
|
PYTHON_CBOR2_CARGO_MANIFEST_PATH = rust/Cargo.toml
|
|
PYTHON_CBOR2_LICENSE = MIT
|
|
PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt
|
|
PYTHON_CBOR2_CPE_ID_VENDOR = agronholm
|
|
PYTHON_CBOR2_CPE_ID_PRODUCT = cbor2
|
|
PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
|
|
HOST_PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
|
|
|
|
$(eval $(python-package))
|
|
$(eval $(host-python-package))
|