From 77d96d9f8fc7a5c8bbcb4345282b9efd9a5c59a4 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Wed, 8 Dec 2021 14:26:07 +0800 Subject: python3-rsa: upgrade 4.7.2 -> 4.8 changelog: ================================================================ - Switch to Poetry for dependency and release management. - Compatibility with Python 3.10. - Chain exceptions using raise new_exception from old_exception (#157) - Added marker file for PEP 561. This will allow type checking tools in dependent projects to use type annotations from Python-RSA (#136). - Use the Chinese Remainder Theorem when decrypting with a private key. This makes decryption 2-4x faster (#163). Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-rsa_4.8.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-rsa_4.8.bb (limited to 'meta-python/recipes-devtools/python/python3-rsa_4.8.bb') diff --git a/meta-python/recipes-devtools/python/python3-rsa_4.8.bb b/meta-python/recipes-devtools/python/python3-rsa_4.8.bb new file mode 100644 index 0000000000..d0a18f92e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rsa_4.8.bb @@ -0,0 +1,40 @@ +SUMMARY = "Pure-Python RSA implementation" +SECTION = "devel/python" +AUTHOR = "Sybren A. Stuvel" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" + +SRC_URI[sha256sum] = "5c6bd9dc7a543b7fe4304a631f8a8a3b674e2bbfc49c2ae96200cdbe55df6b17" + +inherit pypi setuptools3 update-alternatives + +ALTERNATIVE:${PN} = "\ + pyrsa-decrypt \ + pyrsa-encrypt \ + pyrsa-keygen \ + pyrsa-priv2pub \ + pyrsa-sign \ + pyrsa-verify \ +" + +ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" +ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" +ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" +ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" +ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" +ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" +ALTERNATIVE_PRIORITY = "30" + + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-pickle \ +" + +RDEPENDS:${PN} += "${PYTHON_PN}-pyasn1" -- cgit v1.2.3-54-g00ecf