diff mbox series

[meta-python,13/22] python3-eth-keyfile: Upgrade 0.8.0 -> 0.10.0

Message ID 20261130084821.1501209-14-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
- 0.9.0: the password argument is bytes instead of str; adds Python
  3.13 support.
- 0.9.1: fixes v3 keyfiles whose iv could be shorter than 32 bytes.
- 0.10.0: drops Python 3.8 and 3.9, adds Python 3.14, and adds v4 (EIP-2335)
  BLS12-381 keystores through py_ecc.

The project moved to ApeWorX; update HOMEPAGE. The sdist is now named
eth_keyfile and builds with setuptools.build_meta and setuptools-scm, so
drop PYPI_PACKAGE_SDIST, switch to python_setuptools_build_meta and add
the native build dependencies. Runtime dependencies follow pyproject.toml:
add eth-typing, eth-utils and py-ecc, drop setuptools, which is no longer
imported.

License-Update: copyright years updated to 2017-2025

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../python/python3-eth-keyfile_0.10.0.bb      | 19 +++++++++++++++++++
 .../python/python3-eth-keyfile_0.8.0.bb       | 17 -----------------
 2 files changed, 19 insertions(+), 17 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.10.0.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.10.0.bb b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.10.0.bb
new file mode 100644
index 0000000000..e554e0ae95
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.10.0.bb
@@ -0,0 +1,19 @@ 
+SUMMARY = "A library for handling the encrypted keyfiles used to store ethereum private keys."
+HOMEPAGE = "https://github.com/ApeWorX/eth-keyfile"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d3f53e7cc5bf80b16eff1f4a38c73182"
+
+SRC_URI[sha256sum] = "3003b20000d68203e8fbf45456851a524f859a7432d2fae73be4a9aebeb4b8e1"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
+
+RDEPENDS:${PN} += " \
+    python3-eth-keys \
+    python3-eth-typing \
+    python3-eth-utils \
+    python3-py-ecc \
+    python3-pycryptodome \
+"
diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb
deleted file mode 100644
index 41ba0321e5..0000000000
--- a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb
+++ /dev/null
@@ -1,17 +0,0 @@ 
-SUMMARY = "A library for handling the encrypted keyfiles used to store ethereum private keys."
-HOMEPAGE = "https://github.com/ethereum/eth-keyfile"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6749008d847c14b9718949c2e24d5c0a"
-
-SRC_URI[sha256sum] = "02e3c2e564c7403b92db3fef8ecae3d21123b15787daecd5b643a57369c530f9"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE_SDIST = "eth-keyfile"
-
-RDEPENDS:${PN} += " \
-    python3-eth-keys \
-    python3-pycryptodome \
-    python3-setuptools \
-"