026a1a852a
Changelog: https://cryptography.io/en/latest/changelog/#v2-3-1 Please note that CVE-2018-10903, fixed in version 2.3, was introduced in version 1.9.0, so it was not present in buildroot: https://nvd.nist.gov/vuln/detail/CVE-2018-10903 Added license hashes and switched runtime dependency from pyasn1 to asn1crypto: https://cryptography.io/en/latest/changelog/#v1-8 Fixed pthread problem by adding -pthread to CFLAGS, suggested by https://patchwork.openembedded.org/patch/146240/ https://bugs.gentoo.org/630578#c6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
759 B
Makefile
17 lines
759 B
Makefile
################################################################################
|
|
#
|
|
# python-cryptography
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_CRYPTOGRAPHY_VERSION = 2.3.1
|
|
PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz
|
|
PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4
|
|
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_DEPENDENCIES = host-python-cffi openssl
|
|
PYTHON_CRYPTOGRAPHY_ENV = CFLAGS="$(TARGET_CFLAGS) -pthread"
|
|
|
|
$(eval $(python-package))
|