meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome.inc
Denys Dmytriyenko 1fed24e603 pycryptodomex: cleanup recipe to use common include
PyCryptodome is "an almost drop-in replacement for the old PyCrypto library"
and installs under "Crypto" package. In cases when both PyCryptodome and old
PyCrypto are needed, there's PyCryptodomeX that installs under own name as
"Cryptodome" package.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-01 15:11:15 -07:00

30 lines
786 B
PHP

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=6dc0e2a13d2f25d6f123c434b761faba"
SRC_URI[md5sum] = "f990716b49add7b14ea8b8a961fb3746"
SRC_URI[sha256sum] = "a168e73879619b467072509a223282a02c8047d932a48b74fbd498f27224aa04"
inherit pypi
RDEPENDS_${PN} += " \
${PYTHON_PN}-io \
${PYTHON_PN}-math \
"
RDEPENDS_${PN}-tests += " \
${PYTHON_PN}-unittest \
"
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests = " \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
"
BBCLASSEXTEND = "native nativesdk"