xref: /openbmc/openbmc/poky/meta/recipes-devtools/python/python-pycryptodome.inc (revision edff49234e31f23dc79f823473c9e286a21596c1)
1SUMMARY = "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"
6LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"
7
8inherit pypi
9
10RDEPENDS:${PN} += " \
11    python3-cffi \
12    python3-ctypes \
13    python3-io \
14    python3-math \
15"
16
17RDEPENDS:${PN}-tests += " \
18    python3-unittest \
19"
20
21PACKAGES =+ "${PN}-tests"
22
23FILES:${PN}-tests = " \
24    ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
25    ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
26"
27
28BBCLASSEXTEND = "native nativesdk"
29