summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pycryptodome.inc
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-05-14 16:04:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-18 06:31:52 +0100
commita96f815c53364b119b5743b8b7100eb5588d5cf5 (patch)
treed459862d47a1d05fa9d9f323ec6c69b9a742ef39 /meta/recipes-devtools/python/python-pycryptodome.inc
parentbae1603a27fadcfa7257801167f28db3ff02dc97 (diff)
downloadopenembedded-core-contrib-a96f815c53364b119b5743b8b7100eb5588d5cf5.tar.gz
pycryptodome: Import from meta-python
Imports the pycryptodome recipes from meta-python, as of 7c02c7d41 ("gnome-themes-extra: correct the recipe name"). These recipes are commonly used by other layers, so moving them into OE-core helps to cut down on layer dependencies. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pycryptodome.inc')
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc b/meta/recipes-devtools/python/python-pycryptodome.inc
new file mode 100644
index 0000000000..63b4a4abb4
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pycryptodome.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] = "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"