python3-eth-keyfile: new package

Add a recipe for eth-keyfile: a library for handling the encrypted
keyfiles used to store ethereum private keys.

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:44 +02:00 committed by Khem Raj
parent 5ba8fdacdb
commit 56ab82fe23
3 changed files with 53 additions and 0 deletions

View File

@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-engineio \
python3-et-xmlfile \
python3-eth-hash \
python3-eth-keyfile \
python3-eth-keys \
python3-eth-typing \
python3-eth-utils \

View File

@ -0,0 +1,36 @@
From 4348c72877e049804c7cdb7eec7a6bcd7ac2ea1d Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <brgl@bgdev.pl>
Date: Wed, 11 May 2022 13:21:30 +0200
Subject: [PATCH] setup: don't use setuptools-markdown
This project is deprecated and irrelevant for the functionality of
eth-keyfile. 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 cbb7f4c..7702aa4 100644
--- a/setup.py
+++ b/setup.py
@@ -51,14 +51,12 @@ setup(
"A library for handling the encrypted keyfiles used to store ethereum "
"private keys."
),
- long_description_markdown_filename='README.md',
author='Piper Merriam',
author_email='pipermerriam@gmail.com',
url='https://github.com/ethereum/eth-keyfile',
include_package_data=True,
install_requires=install_requires,
extras_require=deps,
- setup_requires=['setuptools-markdown'],
py_modules=['eth_keyfile'],
license="MIT",
zip_safe=False,
--
2.34.1

View File

@ -0,0 +1,16 @@
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=2beaef1b1764f4d6b46084c885b4bcad"
SRC_URI[sha256sum] = "d30597cdecb8ccd3b56bb275cd86fcdc7a279f86eafa92ddc49f66512f0bff67"
SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
python3-eth-keys \
python3-pycryptodome \
python3-setuptools \
"