From 18081cc0d9d2b9ce78cd2b895f8634b85ef3e93e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 29 Nov 2024 16:46:19 +0200 Subject: python3-service-identity: Upgrade 21.1.0 -> 24.2.0 Upgrade to version 24.2.0: - Python 3.13 is now officially supported. - pyOpenSSL's identity extraction has been reimplemented using cryptography's primitives instead of deprecated pyOpenSSL APIs. As a result, the oldest supported pyOpenSSL version is now 17.1.0 License-Update: Fix a typo contributors vs contibutors Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-service-identity_21.1.0.bb | 33 -------------------- .../python/python3-service-identity_24.2.0.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 33 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb deleted file mode 100644 index babe05e1d3..0000000000 --- a/meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "The tools for verifying whether a certificate is valid for the intended purposes." -HOMEPAGE = "https://pypi.org/project/service-identity" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8a0f079f4e6a215d6bd6f9d97cab4d5f" - -SRC_URI[sha256sum] = "6e6c6086ca271dc11b033d17c3a8bea9f24ebff920c587da090afc9519419d34" - -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - python3-attr \ - python3-cryptography \ - python3-pyasn1-modules \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-attrs \ - python3-pytest \ - python3-six \ - python3-unittest-automake-output \ - python3-pyopenssl \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ - cp -rf ${S}/setup.py ${D}${PTEST_PATH} -} diff --git a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb new file mode 100644 index 0000000000..2cae3b08c8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "The tools for verifying whether a certificate is valid for the intended purposes." +HOMEPAGE = "https://pypi.org/project/service-identity" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2" + +SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09" + +inherit pypi python_hatchling ptest + +PYPI_PACKAGE = "service_identity" + +SRC_URI += " \ + file://run-ptest \ +" + +DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" + +RDEPENDS:${PN} += " \ + python3-attr \ + python3-cryptography \ + python3-pyasn1-modules \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-attrs \ + python3-pytest \ + python3-six \ + python3-unittest-automake-output \ + python3-pyopenssl \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf