blob: 8d9b6d911ea7c99c4791b204cc46c02e17381503 [file] [log] [blame]
Andrew Geissler1e34c2d2020-05-29 16:02:59 -05001SUMMARY = "Cryptographic library for Python"
2DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\
3 cryptographic primitives."
4HOMEPAGE = "http://www.pycryptodome.org"
5LICENSE = "PD & BSD-2-Clause"
Andrew Geissler595f6302022-01-24 19:11:47 +00006LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"
Andrew Geissler1e34c2d2020-05-29 16:02:59 -05007
8inherit pypi
9
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000010PYPI_PACKAGE_EXT = "tar.gz"
Andrew Geissler595f6302022-01-24 19:11:47 +000011
Patrick Williams213cb262021-08-07 19:21:33 -050012RDEPENDS:${PN} += " \
Patrick Williamse760df82023-05-26 11:10:49 -050013 python3-cffi \
14 python3-ctypes \
15 python3-io \
16 python3-math \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050017"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019RDEPENDS:${PN}-tests += " \
Patrick Williamse760df82023-05-26 11:10:49 -050020 python3-unittest \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050021"
22
23PACKAGES =+ "${PN}-tests"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025FILES:${PN}-tests = " \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050026 ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
27 ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
28"
29
30BBCLASSEXTEND = "native nativesdk"