Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 1 | SUMMARY = "Cryptographic library for Python" |
| 2 | DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ |
| 3 | cryptographic primitives." |
| 4 | HOMEPAGE = "http://www.pycryptodome.org" |
| 5 | LICENSE = "PD & BSD-2-Clause" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93" |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 7 | |
| 8 | inherit pypi |
| 9 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 10 | PYPI_PACKAGE_EXT = "tar.gz" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | RDEPENDS:${PN} += " \ |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 13 | python3-cffi \ |
| 14 | python3-ctypes \ |
| 15 | python3-io \ |
| 16 | python3-math \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 17 | " |
| 18 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 19 | RDEPENDS:${PN}-tests += " \ |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 20 | python3-unittest \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 21 | " |
| 22 | |
| 23 | PACKAGES =+ "${PN}-tests" |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | FILES:${PN}-tests = " \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 26 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ |
| 27 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ |
| 28 | " |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |