summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-rsa_4.9.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-07-28 10:14:28 +0800
committerKhem Raj <raj.khem@gmail.com>2022-07-27 21:21:43 -0700
commit5cc6d9375eca8f190e9ac38a93864910fb48476b (patch)
treee312d503f0c24ccbb17edd7974fa4bd7a626183a /meta-python/recipes-devtools/python/python3-rsa_4.9.bb
parent49ef6e58e8f78653cc2072b816e425837522cfe0 (diff)
downloadmeta-openembedded-5cc6d9375eca8f190e9ac38a93864910fb48476b.tar.gz
python3-rsa: upgrade 4.8 -> 4.9
Changelog: ========== Remove debug logging from rsa/key.py (#194). Remove overlapping slots in PrivateKey and PublicKey. (#189). Do not include CHANGELOG/LICENSE/README.md in wheel (#191). Fixed Key Generation Unittest: Public and Private keys are assigned the wrong way around (#188). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rsa_4.9.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-rsa_4.9.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rsa_4.9.bb b/meta-python/recipes-devtools/python/python3-rsa_4.9.bb
new file mode 100644
index 0000000000..ed5018f49e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rsa_4.9.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Pure-Python RSA implementation"
2SECTION = "devel/python"
3AUTHOR = "Sybren A. Stuvel"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
6
7SRC_URI[sha256sum] = "e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21"
8
9inherit pypi python_poetry_core update-alternatives
10
11ALTERNATIVE:${PN} = "\
12 pyrsa-decrypt \
13 pyrsa-encrypt \
14 pyrsa-keygen \
15 pyrsa-priv2pub \
16 pyrsa-sign \
17 pyrsa-verify \
18"
19
20ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt"
21ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt"
22ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen"
23ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub"
24ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign"
25ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify"
26ALTERNATIVE_PRIORITY = "30"
27
28
29RDEPENDS:${PN} += "\
30 ${PYTHON_PN}-compression \
31 ${PYTHON_PN}-crypt \
32 ${PYTHON_PN}-doctest \
33 ${PYTHON_PN}-logging \
34 ${PYTHON_PN}-math \
35 ${PYTHON_PN}-multiprocessing \
36 ${PYTHON_PN}-netclient \
37 ${PYTHON_PN}-pickle \
38"
39
40RDEPENDS:${PN} += "${PYTHON_PN}-pyasn1"