From eeefb388f81d047fff1810602bef5cb9d5e61c24 Mon Sep 17 00:00:00 2001
From: Esben Haabendal <esben@geanix.com>
Date: Wed, 1 Sep 2021 16:10:23 +0200
Subject: [PATCH] python3-ecdsa: Port recipe from meta-homeassistant

This recipe is already included in upstream meta-python layer, but not on
dunfell branch.  For dunfell, we have been using it from meta-homeassistant,
but by porting it to this layer, we can avoid pulling in meta-homeassistant in
some cases.

Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
---
 .../python/python3-ecdsa_0.13.2.bb            | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-devtools/python/python3-ecdsa_0.13.2.bb

diff --git a/recipes-devtools/python/python3-ecdsa_0.13.2.bb b/recipes-devtools/python/python3-ecdsa_0.13.2.bb
new file mode 100644
index 0000000..4271c94
--- /dev/null
+++ b/recipes-devtools/python/python3-ecdsa_0.13.2.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "ECDSA cryptographic signature library"
+HOMEPAGE = "https://github.com/warner/python-ecdsa"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+DEPENDS += "\
+    ${PYTHON_PN}-pbr \
+"
+
+SRC_URI[md5sum] = "0ce51d17c0751e5232be4eafd69b7f13"
+SRC_URI[sha256sum] = "5c034ffa23413ac923541ceb3ac14ec15a0d2530690413bff58c12b80e56d884"
+
+inherit setuptools3 pypi
+
+# RDEPENDS_default:
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-pbr \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
GitLab