diff mbox series

[meta-python,1/3] python3-trustme: Upgrade 1.1.0 -> 1.2.0

Message ID 20241023123646.1067047-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/3] python3-trustme: Upgrade 1.1.0 -> 1.2.0 | expand

Commit Message

Leon Anavi Oct. 23, 2024, 12:36 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{python3-trustme_1.1.0.bb => python3-trustme_1.2.0.bb}   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-trustme_1.1.0.bb => python3-trustme_1.2.0.bb} (81%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
index dab18f28b..69db7e618 100644
--- a/meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
@@ -4,9 +4,9 @@  HOMEPAGE = "https://pypi.org/project/trustme"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a"
 
-SRC_URI[sha256sum] = "5375ad7fb427074bec956592e0d4ee2a4cf4da68934e1ba4bcf4217126bc45e6"
+SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a"
 
-inherit pypi setuptools3 ptest
+inherit pypi python_hatchling python_setuptools_build_meta ptest
 
 SRC_URI += " \
 	file://run-ptest \
@@ -32,5 +32,4 @@  RDEPENDS:${PN}-ptest += " \
 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}
 }