mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
24
package/python-cryptography/Config.in
Normal file
24
package/python-cryptography/Config.in
Normal file
@@ -0,0 +1,24 @@
|
||||
config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
|
||||
bool "python-cryptography"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
||||
select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON_IDNA # runtime
|
||||
select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime
|
||||
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
|
||||
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
|
||||
select BR2_PACKAGE_PYTHON_SIX # runtime
|
||||
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
|
||||
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
|
||||
help
|
||||
cryptography is a package designed to expose cryptographic
|
||||
primitives and recipes to Python developers.
|
||||
|
||||
https://cryptography.io
|
||||
|
||||
comment "python-cryptography needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
7
package/python-cryptography/python-cryptography.hash
Normal file
7
package/python-cryptography/python-cryptography.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/cryptography/json
|
||||
md5 7dfe1035cae43569e571318f000462a4 cryptography-2.7.tar.gz
|
||||
sha256 e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6 cryptography-2.7.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 35452b557fab0efb1e80d7edb9c4e5118b9384082adaa051dde342102cb9de8d LICENSE
|
||||
sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE
|
||||
sha256 602c4c7482de6479dd2e9793cda275e5e63d773dacd1eca689232ab7008fb4fb LICENSE.BSD
|
16
package/python-cryptography/python-cryptography.mk
Normal file
16
package/python-cryptography/python-cryptography.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cryptography
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CRYPTOGRAPHY_VERSION = 2.7
|
||||
PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz
|
||||
PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/c2/95/f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884
|
||||
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))
|
Reference in New Issue
Block a user