From: Denys Dmytriyenko <[email protected]> pycryptodomex is a version of pycryptodome that does not conflict with pycrypto and can be used side-by-side.
Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../python/python-pycryptodomex.inc | 29 ++++++++++++++++++++++ .../python/python3-pycryptodomex_3.9.4.bb | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 meta-arago-distro/recipes-devtools/python/python-pycryptodomex.inc create mode 100644 meta-arago-distro/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb diff --git a/meta-arago-distro/recipes-devtools/python/python-pycryptodomex.inc b/meta-arago-distro/recipes-devtools/python/python-pycryptodomex.inc new file mode 100644 index 0000000..d00a076 --- /dev/null +++ b/meta-arago-distro/recipes-devtools/python/python-pycryptodomex.inc @@ -0,0 +1,29 @@ +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] = "46ba513d95b6e323734074d960a7d57b" +SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" + +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}/Cryptodome/SelfTest/ \ + ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-arago-distro/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb b/meta-arago-distro/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file mode 100644 index 0000000..be66430 --- /dev/null +++ b/meta-arago-distro/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb @@ -0,0 +1,2 @@ +require python-pycryptodomex.inc +inherit setuptools3 -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
