blob: d2b1086351b54f13d73f2f81e860ef2a891dc2f3 [file] [log] [blame]
Andrew Geissler748a4832020-07-24 16:24:21 -05001SUMMARY = "Pure-Python RSA implementation"
2SECTION = "devel/python"
3AUTHOR = "Sybren A. Stuvel"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
6
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05007SRC_URI[md5sum] = "bbf1c954865319bd542600ab07f92aca"
8SRC_URI[sha256sum] = "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa"
Andrew Geissler748a4832020-07-24 16:24:21 -05009
10inherit pypi setuptools3 update-alternatives
11
12ALTERNATIVE_${PN} = "\
13 pyrsa-decrypt \
Andrew Geissler748a4832020-07-24 16:24:21 -050014 pyrsa-encrypt \
Andrew Geissler748a4832020-07-24 16:24:21 -050015 pyrsa-keygen \
16 pyrsa-priv2pub \
17 pyrsa-sign \
18 pyrsa-verify \
19"
20
21ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt"
Andrew Geissler748a4832020-07-24 16:24:21 -050022ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt"
Andrew Geissler748a4832020-07-24 16:24:21 -050023ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen"
24ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub"
25ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign"
26ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify"
27ALTERNATIVE_PRIORITY = "30"
28
29
30RDEPENDS_${PN} += "\
31 ${PYTHON_PN}-compression \
32 ${PYTHON_PN}-crypt \
33 ${PYTHON_PN}-doctest \
34 ${PYTHON_PN}-logging \
35 ${PYTHON_PN}-math \
36 ${PYTHON_PN}-multiprocessing \
37 ${PYTHON_PN}-netclient \
38 ${PYTHON_PN}-pickle \
39"
40
41RDEPENDS_${PN} += "${PYTHON_PN}-pyasn1"