summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-04-01 16:35:46 -0400
committerKhem Raj <raj.khem@gmail.com>2020-04-01 15:11:15 -0700
commit1fed24e60373866e13ceb12157575c4e09d5f261 (patch)
treeb23b266c8559e837eb8f958a275353a33235a419 /meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
parent7227897d5d4eb1af442508689ceb09935449efbb (diff)
downloadmeta-openembedded-1fed24e60373866e13ceb12157575c4e09d5f261.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb26
1 files changed, 3 insertions, 23 deletions
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 be6b10f3fb..e41c14b142 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 @@
1SUMMARY = "Cryptographic library for Python" 1require python-pycryptodome.inc
2DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ 2inherit setuptools3
3 cryptographic primitives."
4HOMEPAGE = "http://www.pycryptodome.org"
5LICENSE = "PD & BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
7 3
8SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" 4SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
9SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" 5SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
10 6
11inherit pypi 7FILES_${PN}-tests = " \
12inherit setuptools3
13
14RDEPENDS_${PN} += " \
15 ${PYTHON_PN}-io \
16 ${PYTHON_PN}-math \
17"
18
19RDEPENDS_${PN}-tests += " \
20 ${PYTHON_PN}-unittest \
21"
22
23PACKAGES =+ "${PN}-tests"
24
25FILES_${PN}-tests += " \
26 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ 8 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
27 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ 9 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
28" 10"
29
30BBCLASSEXTEND = "native nativesdk"