summaryrefslogtreecommitdiffstats
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:33:35 +0100
commitd52929ee35d043211cb012e1b86409599a8b53c6 (patch)
treee6c499889da696227e6e046025fe4332712bfcba
parentff9ac2b30329915a47486515a396e40ee38131e8 (diff)
downloadpoky-d52929ee35d043211cb012e1b86409599a8b53c6.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. (From OE-Core rev: a96f815c53364b119b5743b8b7100eb5588d5cf5) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/maintainers.inc4
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc29
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb10
4 files changed, 44 insertions, 1 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 256666c0ec..b87790e0e9 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -2,7 +2,7 @@
2# 2#
3# This file contains a list of recipe maintainers. 3# This file contains a list of recipe maintainers.
4# 4#
5# Please submit any patches against recipes in meta to the 5# Please submit any patches against recipes in meta to the
6# OE-Core mail list (openembedded-core@lists.openembedded.org) 6# OE-Core mail list (openembedded-core@lists.openembedded.org)
7# For recipes in meta-yocto please use the Poky list (poky@yoctoproject.org) 7# For recipes in meta-yocto please use the Poky list (poky@yoctoproject.org)
8# 8#
@@ -579,6 +579,8 @@ RECIPE_MAINTAINER_pn-python3-cython = "Oleksandr Kravchuk <open.source@oleksandr
579RECIPE_MAINTAINER_pn-python3-dbus = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 579RECIPE_MAINTAINER_pn-python3-dbus = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
580RECIPE_MAINTAINER_pn-python3-dbusmock = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 580RECIPE_MAINTAINER_pn-python3-dbusmock = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
581RECIPE_MAINTAINER_pn-python3-docutils = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 581RECIPE_MAINTAINER_pn-python3-docutils = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
582RECIPE_MAINTAINER_pn-python3-pycryptodome = "Joshua Watt <JPEWhacker@gmail.com>"
583RECIPE_MAINTAINER_pn-python3-pycryptodomex = "Joshua Watt <JPEWhacker@gmail.com>"
582RECIPE_MAINTAINER_pn-python3-extras = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 584RECIPE_MAINTAINER_pn-python3-extras = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
583RECIPE_MAINTAINER_pn-python3-git = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 585RECIPE_MAINTAINER_pn-python3-git = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
584RECIPE_MAINTAINER_pn-python3-gitdb = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>" 586RECIPE_MAINTAINER_pn-python3-gitdb = "Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>"
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 @@
1SUMMARY = "Cryptographic library for Python"
2DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\
3 cryptographic primitives."
4HOMEPAGE = "http://www.pycryptodome.org"
5LICENSE = "PD & BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
7
8SRC_URI[md5sum] = "f990716b49add7b14ea8b8a961fb3746"
9SRC_URI[sha256sum] = "a168e73879619b467072509a223282a02c8047d932a48b74fbd498f27224aa04"
10
11inherit pypi
12
13RDEPENDS_${PN} += " \
14 ${PYTHON_PN}-io \
15 ${PYTHON_PN}-math \
16"
17
18RDEPENDS_${PN}-tests += " \
19 ${PYTHON_PN}-unittest \
20"
21
22PACKAGES =+ "${PN}-tests"
23
24FILES_${PN}-tests = " \
25 ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
26 ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
27"
28
29BBCLASSEXTEND = "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 @@
1require python-pycryptodome.inc
2inherit 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 @@
1require python-pycryptodome.inc
2inherit setuptools3
3
4SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
5SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
6
7FILES_${PN}-tests = " \
8 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
9 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
10"