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.0.bb | 35 ---------------------- .../python/python3-trustme_1.2.1.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb deleted file mode 100644 index 69db7e6189..0000000000 --- a/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb +++ /dev/null @@ -1,35 +0,0 @@ -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=d5a7af1a4b73e57431e25d15a2da745a" - -SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a" - -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/ -} 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