diff options
Diffstat (limited to 'meta/recipes-devtools')
3 files changed, 41 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 @@ | |||
1 | SUMMARY = "Cryptographic library for Python" | ||
2 | DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ | ||
3 | cryptographic primitives." | ||
4 | HOMEPAGE = "http://www.pycryptodome.org" | ||
5 | LICENSE = "PD & BSD-2-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba" | ||
7 | |||
8 | SRC_URI[md5sum] = "f990716b49add7b14ea8b8a961fb3746" | ||
9 | SRC_URI[sha256sum] = "a168e73879619b467072509a223282a02c8047d932a48b74fbd498f27224aa04" | ||
10 | |||
11 | inherit pypi | ||
12 | |||
13 | RDEPENDS_${PN} += " \ | ||
14 | ${PYTHON_PN}-io \ | ||
15 | ${PYTHON_PN}-math \ | ||
16 | " | ||
17 | |||
18 | RDEPENDS_${PN}-tests += " \ | ||
19 | ${PYTHON_PN}-unittest \ | ||
20 | " | ||
21 | |||
22 | PACKAGES =+ "${PN}-tests" | ||
23 | |||
24 | FILES_${PN}-tests = " \ | ||
25 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ | ||
26 | ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ | ||
27 | " | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb new file mode 100644 index 0000000000..0c062dddf8 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require python-pycryptodome.inc | ||
2 | inherit setuptools3 | ||
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb new file mode 100644 index 0000000000..e41c14b142 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | require python-pycryptodome.inc | ||
2 | inherit setuptools3 | ||
3 | |||
4 | SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b" | ||
5 | SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167" | ||
6 | |||
7 | FILES_${PN}-tests = " \ | ||
8 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ | ||
9 | ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \ | ||
10 | " | ||