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 | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame^] | 7 | SRC_URI[md5sum] = "bbf1c954865319bd542600ab07f92aca" |
| 8 | SRC_URI[sha256sum] = "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 9 | |
| 10 | inherit pypi setuptools3 update-alternatives |
| 11 | |
| 12 | ALTERNATIVE_${PN} = "\ |
| 13 | pyrsa-decrypt \ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 14 | pyrsa-encrypt \ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 15 | pyrsa-keygen \ |
| 16 | pyrsa-priv2pub \ |
| 17 | pyrsa-sign \ |
| 18 | pyrsa-verify \ |
| 19 | " |
| 20 | |
| 21 | ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 22 | ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 23 | ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" |
| 24 | ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" |
| 25 | ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" |
| 26 | ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" |
| 27 | ALTERNATIVE_PRIORITY = "30" |
| 28 | |
| 29 | |
| 30 | RDEPENDS_${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 | |
| 41 | RDEPENDS_${PN} += "${PYTHON_PN}-pyasn1" |