first commit: base 2024.08

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2025-02-12 17:59:29 +08:00
committed by maoxiaochuan
commit f3217a7708
14356 changed files with 572894 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
config BR2_PACKAGE_PYTHON_TPM2_PYTSS
bool "python-tpm2-pytss"
depends on !BR2_STATIC_LIBS # tpm2-tss
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
select BR2_PACKAGE_TPM2_TSS
help
TPM 2.0 TSS Bindings for Python.
https://github.com/tpm2-software/tpm2-pytss
comment "python-tpm2-pytss needs a toolchain w/ dynamic library"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS
@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/tpm2-pytss/json
md5 069a02c99d3203fada940c3dd43b699c tpm2-pytss-2.2.1.tar.gz
sha256 b8f15473422f377f59c7217dcd1479165cce62dfa33934ec976a278baf2e9efe tpm2-pytss-2.2.1.tar.gz
# Locally computed sha256 checksums
sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE
@@ -0,0 +1,22 @@
################################################################################
#
# python-tpm2-pytss
#
################################################################################
PYTHON_TPM2_PYTSS_VERSION = 2.2.1
PYTHON_TPM2_PYTSS_SOURCE = tpm2-pytss-$(PYTHON_TPM2_PYTSS_VERSION).tar.gz
PYTHON_TPM2_PYTSS_SITE = https://files.pythonhosted.org/packages/13/e5/8d4a9ac91579c741ec9fb63befcf6577107f22f3508c364fd53e277d7237
PYTHON_TPM2_PYTSS_SETUP_TYPE = setuptools
PYTHON_TPM2_PYTSS_LICENSE = BSD-2-Clause
PYTHON_TPM2_PYTSS_LICENSE_FILES = LICENSE
PYTHON_TPM2_PYTSS_DEPENDENCIES = host-pkgconf \
host-python-asn1crypto \
host-python-cffi \
host-python-cryptography \
host-python-pkgconfig \
host-python-pycparser \
tpm2-tss
$(eval $(python-package))