From 300aad71ca68f600635e5303653598418c844642 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 17 Apr 2025 15:32:31 +0300 Subject: python3-eth-utils: Upgrade 5.2.0 -> 5.3.0 Upgrade to release 5.3.0: - Replace arg["name"] with arg.get("name") to correctly handle optional names - Add new methods: to_wei_decimals, and from_wei_decimals which take a number instead of a string - Add CamelModel pydantic model for validating objects and serializing to camelCase when used with by_alias=True, with the general expectation of a well-formed JSON-RPC object. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-eth-utils_5.3.0.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb (limited to 'meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb new file mode 100644 index 0000000000..84db8b32b3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eth-utils_5.3.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "Common utility functions for codebases which interact with ethereum." +HOMEPAGE = "https://github.com/ethereum/eth-utils" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d3f53e7cc5bf80b16eff1f4a38c73182" + +SRC_URI[sha256sum] = "1f096867ac6be895f456fa3acb26e9573ae66e753abad9208f316d24d6178156" + +PYPI_PACKAGE = "eth_utils" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-eth-hash \ + python3-eth-typing \ + python3-setuptools \ + python3-toolz \ + python3-pydantic \ +" -- cgit v1.2.3-54-g00ecf