diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-07-10 20:19:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-07-16 07:10:20 -0700 |
commit | 6e6a7293180bda791e0500cf0f87e63c35065dce (patch) | |
tree | 17cfee7e8f549e56c772355272beaef9e89fb402 /meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb | |
parent | 194290a1d0b38a882f5d03ed85e51c4e6406c36d (diff) | |
download | meta-openembedded-6e6a7293180bda791e0500cf0f87e63c35065dce.tar.gz |
python3-rsa: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb b/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb new file mode 100644 index 000000000..759214fa3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | SUMMARY = "Pure-Python RSA implementation" | ||
2 | SECTION = "devel/python" | ||
3 | AUTHOR = "Sybren A. Stuvel" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" | ||
6 | |||
7 | SRC_URI[sha256sum] = "25df4e10c263fb88b5ace923dd84bf9aa7f5019687b5e55382ffcdb8bede9db5" | ||
8 | |||
9 | inherit pypi setuptools3 update-alternatives | ||
10 | |||
11 | ALTERNATIVE_${PN} = "\ | ||
12 | pyrsa-decrypt \ | ||
13 | pyrsa-decrypt-bigfile \ | ||
14 | pyrsa-encrypt \ | ||
15 | pyrsa-encrypt-bigfile \ | ||
16 | pyrsa-keygen \ | ||
17 | pyrsa-priv2pub \ | ||
18 | pyrsa-sign \ | ||
19 | pyrsa-verify \ | ||
20 | " | ||
21 | |||
22 | ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" | ||
23 | ALTERNATIVE_LINK_NAME[pyrsa-decrypt-bigfile] = "${bindir}/pyrsa-decrypt-bigfile" | ||
24 | ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" | ||
25 | ALTERNATIVE_LINK_NAME[pyrsa-encrypt-bigfile] = "${bindir}/pyrsa-encrypt-bigfile" | ||
26 | ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" | ||
27 | ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" | ||
28 | ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" | ||
29 | ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" | ||
30 | ALTERNATIVE_PRIORITY = "30" | ||
31 | |||
32 | |||
33 | RDEPENDS_${PN} += "\ | ||
34 | ${PYTHON_PN}-compression \ | ||
35 | ${PYTHON_PN}-crypt \ | ||
36 | ${PYTHON_PN}-doctest \ | ||
37 | ${PYTHON_PN}-logging \ | ||
38 | ${PYTHON_PN}-math \ | ||
39 | ${PYTHON_PN}-multiprocessing \ | ||
40 | ${PYTHON_PN}-netclient \ | ||
41 | ${PYTHON_PN}-pickle \ | ||
42 | " | ||
43 | |||
44 | RDEPENDS_${PN} += "${PYTHON_PN}-pyasn1" | ||