diff mbox series

[meta-python,12/22] python3-py-ecc: Add recipe

Message ID 20261130084821.1501209-13-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upgrades, new recipes and build fixes | expand

Commit Message

Khem Raj Nov. 30, 2026, 8:48 a.m. UTC
Elliptic curve crypto in pure Python (secp256k1, alt_bn128 and
bls12_381) from the Ethereum Foundation. python3-eth-keyfile 0.10.0
imports it for v4 (EIP-2335)
BLS12-381 keystores.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../packagegroups/packagegroup-meta-python.bb      |  1 +
 .../python/python3-py-ecc_8.0.0.bb                 | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-py-ecc_8.0.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 376f288db3..7b8b4fe709 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -302,6 +302,7 @@  RDEPENDS:packagegroup-meta-python3 = "\
     python3-pulsectl \
     python3-puremagic \
     python3-py-cpuinfo \
+    python3-py-ecc \
     python3-py-ubjson \
     python3-pyalsaaudio \
     python3-pyasn1-modules \
diff --git a/meta-python/recipes-devtools/python/python3-py-ecc_8.0.0.bb b/meta-python/recipes-devtools/python/python3-py-ecc_8.0.0.bb
new file mode 100644
index 0000000000..23600c4fe5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-py-ecc_8.0.0.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "Elliptic curve crypto in python including secp256k1, alt_bn128, and bls12_381"
+HOMEPAGE = "https://github.com/ethereum/py_ecc"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3799286261cc175242ef1b9ef893a6ab"
+
+SRC_URI[sha256sum] = "56aca19e5dc37294f60c1cc76666c03c2276e7666412b9a559fa0145d099933d"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-eth-typing \
+    python3-eth-utils \
+"