blob: ed5018f49eff7bcbbb9e3d5157635636ff6d20cf [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Pure-Python RSA implementation"
2SECTION = "devel/python"
3AUTHOR = "Sybren A. Stuvel"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
6
Patrick Williamsdb4c27e2022-08-05 08:10:29 -05007SRC_URI[sha256sum] = "e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21"
Andrew Geissler595f6302022-01-24 19:11:47 +00008
Andrew Geissler9aee5002022-03-30 16:27:02 +00009inherit pypi python_poetry_core update-alternatives
Andrew Geissler595f6302022-01-24 19:11:47 +000010
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"