python3-eth-utils: new package

Add a recipe for eth-utils: utility functions for codebases
which interact with ethereum.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2022-05-12 10:41:42 +02:00 committed by Khem Raj
parent becd9ec57a
commit 6e4ec4b180
3 changed files with 54 additions and 0 deletions

View File

@ -112,6 +112,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-et-xmlfile \
python3-eth-hash \
python3-eth-typing \
python3-eth-utils \
python3-evdev \
python3-execnet \
python3-fann2 \

View File

@ -0,0 +1,37 @@
From bc86d603e632ce61de4ae7a5d4bcef080cbdb160 Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <brgl@bgdev.pl>
Date: Wed, 11 May 2022 13:45:06 +0200
Subject: [PATCH] setup: don't use setuptools-markdown
This project is deprecated and irrelevant for the functionality of
eth-utils. We don't support it in meta-python so just drop it from
the dependencies.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
setup.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/setup.py b/setup.py
index 5717d5b..cb62132 100644
--- a/setup.py
+++ b/setup.py
@@ -37,7 +37,6 @@ setup(
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
version='1.1.2',
description="""Common utility functions for ethereum codebases.""",
- long_description_markdown_filename='README.md',
author='Piper Merriam',
author_email='pipermerriam@gmail.com',
url='https://github.com/ethereum/eth_utils',
@@ -48,7 +47,6 @@ setup(
"toolz>0.8.2,<1;implementation_name=='pypy'",
"cytoolz>=0.8.2,<1.0.0;implementation_name=='cpython'",
],
- setup_requires=['setuptools-markdown'],
extras_require=extras_require,
py_modules=['eth_utils'],
license="MIT",
--
2.34.1

View File

@ -0,0 +1,16 @@
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=287820ad3553117aa2f92bf84c219324"
SRC_URI[sha256sum] = "32f50edb14c5be0c4f0e8c2e6117286ccc5dfda21d170f358add554a048398e3"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
python3-eth-hash \
python3-eth-typing \
python3-setuptools \
python3-toolz \
"