From 6f961ea6b4026099c78e8354a93dc8c3bea38669 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Mar 2025 17:01:32 +0800 Subject: python3-ecdsa: upgrade 0.19.0 -> 0.19.1 Changelog: ============ New API: ----------- - der.remove_implicit and der.encode_implicit for decoding and encoding DER IMPLICIT values with custom tag values and arbitrary classes Bug fixes: ------------ - Minor fixes around arithmetic with curves that have non-prime order (useful for experimentation, not practical deployments) - Fix arithmetic to work with curves that have (0, 0) on the curve - Fix canonicalization of signatures when s is just slightly above half of curve order Maintenance: ------------ - Dropped official support for Python 3.5 (again, issues with CI, support for Python 2.6 and Python 2.7 is unchanged) - Officially support Python 3.12 and 3.13 (add them to CI) - Removal of few more unnecessary six.b literals (Alexandre Detiste) - Fix typos in warning messages Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-ecdsa_0.19.1.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb (limited to 'meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb new file mode 100644 index 0000000000..4e884b2d74 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb @@ -0,0 +1,30 @@ +SUMMARY = "ECDSA cryptographic signature library (pure python)" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" + +PYPI_PACKAGE = "ecdsa" +SRC_URI[sha256sum] = "478cba7b62555866fcb3bb3fe985e06decbdb68ef55713c4e5ab98c57d508e61" + +inherit pypi setuptools3 python3native ptest-python-pytest + +RDEPENDS:${PN}-ptest += " \ + python3-hypothesis \ +" + +do_install_ptest:append () { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-gmpy2 \ + python3-json \ + python3-six \ +" + +do_install:append() { + rm ${D}${PYTHON_SITEPACKAGES_DIR}/ecdsa/test_*.py +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf