Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 8 | |
| 9 | inherit pypi setuptools3 update-alternatives |
| 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 11 | ALTERNATIVE:${PN} = "\ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 12 | pyrsa-decrypt \ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 13 | pyrsa-encrypt \ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 14 | pyrsa-keygen \ |
| 15 | pyrsa-priv2pub \ |
| 16 | pyrsa-sign \ |
| 17 | pyrsa-verify \ |
| 18 | " |
| 19 | |
| 20 | ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 21 | ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 22 | ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" |
| 23 | ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" |
| 24 | ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" |
| 25 | ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" |
| 26 | ALTERNATIVE_PRIORITY = "30" |
| 27 | |
| 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 29 | RDEPENDS:${PN} += "\ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 40 | RDEPENDS:${PN} += "${PYTHON_PN}-pyasn1" |