From 9743f4dd719a0891eb455b499b102bc9fbe2c8fb Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 7 Jan 2025 17:01:43 +0800 Subject: python3-trustme: upgrade 1.2.0 -> 1.2.1 Changelog: Update from deprecated pyOpenSSL APIs to non-deprecated cryptography APIs. License-Update: format of LICENSE changed from "ASCII text" to "ASCII text, with CRLF line terminators" Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-trustme_1.2.1.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb (limited to 'meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb new file mode 100644 index 0000000000..519c6b8922 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "A utility provides a fake certificate authority (CA)" +HOMEPAGE = "https://pypi.org/project/trustme" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fb59582a4d7ecbb79dfeefa0f69932e1" + +SRC_URI[sha256sum] = "6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f" + +inherit pypi python_hatchling python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-cryptography \ + python3-datetime \ + python3-idna \ + python3-io \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-attrs \ + python3-pyopenssl \ + python3-pyasn1-modules \ + python3-pytest \ + python3-service-identity \ + python3-six \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf