7cee1f6eec
Add a python3 host variant since another downstream OSS component (OP-TEE) uses buildroot and it will depend on a python3 host variant of python-cryptography. Signed-off-by: Donald Chan <hoiho@lab126.com> [yann.morin.1998@free.fr: - drop target _DEPENDENCIES since this is a host-only package - instead, add host-openssl to dependencies - add CPE variables - also add sync comment for python-pip ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
19 lines
883 B
Makefile
19 lines
883 B
Makefile
################################################################################
|
|
#
|
|
# python-cryptography
|
|
#
|
|
################################################################################
|
|
|
|
# Please keep in sync with package/python3-cryptography/python3-cryptography.mk
|
|
PYTHON_CRYPTOGRAPHY_VERSION = 3.0
|
|
PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz
|
|
PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/bf/ac/552fc8729d90393845cc3a2062facf4a89dcbe206fa78771d60ddaae7554
|
|
PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools
|
|
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_DEPENDENCIES = host-python-cffi openssl
|
|
|
|
$(eval $(python-package))
|