[OE-core][dunfell 3/5] python3-pycryptodome(x): Upgrade 3.9.4 -> 3.9.7

Steve Sakoman
2020-06-03T15:34:54Z

From: Joshua Watt <JPEWhacker@gmail.com>

Also splits apart the SRC_URI checksums to make automatic upgrades
easier

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae1f210546396b761ea86d9e32bf90c0867ff845)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-devtools/python/python-pycryptodome.inc | 3 ---
meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb | 2 --
meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb | 5 +++++
...pycryptodomex_3.9.4.bb => python3-pycryptodomex_3.9.7.bb} | 3 +--
4 files changed, 6 insertions(+), 7 deletions(-)
delete mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb
create mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb
rename meta/recipes-devtools/python/{python3-pycryptodomex_3.9.4.bb => python3-pycryptodomex_3.9.7.bb} (58%)

diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc b/meta/recipes-devtools/python/python-pycryptodome.inc
index 63b4a4abb4..68b084eb04 100644
--- a/meta/recipes-devtools/python/python-pycryptodome.inc
+++ b/meta/recipes-devtools/python/python-pycryptodome.inc
@@ -5,9 +5,6 @@ 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} += " \
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb
deleted file mode 100644
index 0c062dddf8..0000000000
--- a/meta/recipes-devtools/python/python3-pycryptodome_3.9.4.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-require python-pycryptodome.inc
-inherit setuptools3
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb
new file mode 100644
index 0000000000..8f19984bed
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycryptodome_3.9.7.bb
@@ -0,0 +1,5 @@
+require python-pycryptodome.inc
+inherit setuptools3
+
+SRC_URI[sha256sum] = "f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2"
+
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb
similarity index 58%
rename from meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
rename to meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb
index e41c14b142..abb03b9909 100644
--- a/meta/recipes-devtools/python/python3-pycryptodomex_3.9.4.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.9.7.bb
@@ -1,8 +1,7 @@
require python-pycryptodome.inc
inherit setuptools3

-SRC_URI[md5sum] = "46ba513d95b6e323734074d960a7d57b"
-SRC_URI[sha256sum] = "22d970cee5c096b9123415e183ae03702b2cd4d3ba3f0ced25c4e1aba3967167"
+SRC_URI[sha256sum] = "50163324834edd0c9ce3e4512ded3e221c969086e10fdd5d3fdcaadac5e24a78"

FILES_${PN}-tests = " \
${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
--
2.17.1