summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pycryptodome.inc
blob: 8d9b6d911ea7c99c4791b204cc46c02e17381503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "Cryptographic library for Python"
DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\
 cryptographic primitives."
HOMEPAGE = "http://www.pycryptodome.org"
LICENSE = "PD & BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"

inherit pypi

PYPI_PACKAGE_EXT = "tar.gz"

RDEPENDS:${PN} += " \
    python3-cffi \
    python3-ctypes \
    python3-io \
    python3-math \
"

RDEPENDS:${PN}-tests += " \
    python3-unittest \
"

PACKAGES =+ "${PN}-tests"

FILES:${PN}-tests = " \
    ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
    ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
"

BBCLASSEXTEND = "native nativesdk"