From e96604395ded9a620ec4995d3619b96dd2448cde Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 23 Oct 2024 15:36:44 +0300 Subject: python3-trustme: Upgrade 1.1.0 -> 1.2.0 Upgrade to release 1.2.0: - Add support for Python 3.13 - Allow setting of cert's notBefore attribute - Add the Authority Key Identifier extension to child CA certificates - Remove support for Python 3.8 and PyPy 3.9 The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fixes: WARNING: python3-trustme-1.2.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend] Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-trustme_1.2.0.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb (limited to 'meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb') 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 new file mode 100644 index 0000000000..69db7e6189 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.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=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/ +} -- cgit v1.2.3-54-g00ecf