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>
This commit is contained in:
Denys Dmytriyenko
2020-04-01 16:35:46 -04:00
committed by Khem Raj
parent 7227897d5d
commit 1fed24e603
2 changed files with 4 additions and 24 deletions
@@ -21,7 +21,7 @@ RDEPENDS_${PN}-tests += " \
PACKAGES =+ "${PN}-tests" PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests += " \ FILES_${PN}-tests = " \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
" "
@@ -1,30 +1,10 @@
SUMMARY = "Cryptographic library for Python" require python-pycryptodome.inc
DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ inherit setuptools3
cryptographic primitives."
HOMEPAGE = "http://www.pycryptodome.org"
LICENSE = "PD & BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
inherit pypi FILES_${PN}-tests = " \
inherit setuptools3
RDEPENDS_${PN} += " \
${PYTHON_PN}-io \
${PYTHON_PN}-math \
"
RDEPENDS_${PN}-tests += " \
${PYTHON_PN}-unittest \
"
PACKAGES =+ "${PN}-tests"
FILES_${PN}-tests += " \
${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
" "
BBCLASSEXTEND = "native nativesdk"