diff --git a/meta-python/recipes-devtools/python/python-pycryptodome.inc b/meta-python/recipes-devtools/python/python-pycryptodome.inc index 31d1368b0..63b4a4abb 100644 --- a/meta-python/recipes-devtools/python/python-pycryptodome.inc +++ b/meta-python/recipes-devtools/python/python-pycryptodome.inc @@ -21,7 +21,7 @@ RDEPENDS_${PN}-tests += " \ PACKAGES =+ "${PN}-tests" -FILES_${PN}-tests += " \ +FILES_${PN}-tests = " \ ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ " diff --git a/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb index be6b10f3f..e41c14b14 100644 --- a/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb +++ b/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb @@ -1,30 +1,10 @@ -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" +require python-pycryptodome.inc +inherit setuptools3 SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" -inherit pypi -inherit setuptools3 - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-math \ -" - -RDEPENDS_${PN}-tests += " \ - ${PYTHON_PN}-unittest \ -" - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ +FILES_${PN}-tests = " \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ " - -BBCLASSEXTEND = "native nativesdk"