summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-rsa_4.7.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rsa_4.7.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-rsa_4.7.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rsa_4.7.1.bb b/meta-python/recipes-devtools/python/python3-rsa_4.7.1.bb
new file mode 100644
index 0000000000..43e7ca0854
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rsa_4.7.1.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] = "9d74d1ff850745c9802cd6b53382bfeec7f6dbe4e26ee2759241ed1e7b0ecf5d"
8
9inherit pypi setuptools3 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"