mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-21 09:30:40 -09:00
Migrate from setuptools-rust to maturin pep517 backend.
License hash changed due to dropping PSF license:
5e6476a4c6
We now need to enable chacha support when building with libopenssl.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
22 lines
1.1 KiB
Makefile
22 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# python-cryptography
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_CRYPTOGRAPHY_VERSION = 43.0.1
|
|
PYTHON_CRYPTOGRAPHY_SOURCE_PYPI = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz
|
|
PYTHON_CRYPTOGRAPHY_SITE_PYPI = https://files.pythonhosted.org/packages/de/ba/0664727028b37e249e73879348cc46d45c5c1a2a2e81e8166462953c5755
|
|
PYTHON_CRYPTOGRAPHY_SITE = $(PYTHON_CRYPTOGRAPHY_SITE_PYPI)/$(PYTHON_CRYPTOGRAPHY_SOURCE_PYPI)?buildroot-path=filename
|
|
PYTHON_CRYPTOGRAPHY_SETUP_TYPE = maturin
|
|
PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause
|
|
PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD
|
|
PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
|
|
PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
|
|
PYTHON_CRYPTOGRAPHY_CARGO_MANIFEST_PATH = src/rust/Cargo.toml
|
|
PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
|
|
HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi host-openssl
|
|
|
|
$(eval $(python-package))
|
|
$(eval $(host-python-package))
|