mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-29 06:27:14 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PYTHON_M2CRYPTO
|
||||
bool "python-m2crypto"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
|
||||
select BR2_PACKAGE_PYTHON3_SSL # runtime
|
||||
help
|
||||
M2Crypto: A Python crypto and SSL toolkit.
|
||||
|
||||
https://gitlab.com/m2crypto/m2crypto
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/m2crypto/json
|
||||
md5 280c20072afbe7010cf9e9620ea25c7b M2Crypto-0.40.1.tar.gz
|
||||
sha256 bbfd113ec55708c05816252a4f09e4237df4f3bbfc8171cbbc33057d257bbb30 M2Crypto-0.40.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0 LICENCE
|
||||
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-m2crypto
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_M2CRYPTO_VERSION = 0.40.1
|
||||
PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz
|
||||
PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/9e/a3/9433817493ea250db67a05de3361cb0a1d58531847d50406f2f28455e68c
|
||||
PYTHON_M2CRYPTO_SETUP_TYPE = setuptools
|
||||
PYTHON_M2CRYPTO_LICENSE = MIT
|
||||
PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE
|
||||
PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project
|
||||
PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto
|
||||
PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig
|
||||
PYTHON_M2CRYPTO_BUILD_OPTS = \
|
||||
-C--build-option=build_ext \
|
||||
-C--build-option=--openssl=$(STAGING_DIR)/usr
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user