All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains
@ 2022-05-12  8:41 Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 01/16] python3-toolz: new package Bartosz Golaszewski
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

This adds recipes for several python packages allowing to interact with
ethereum. The high-level package that we're adding is python3-web3, the rest
are its direct or indirect dependencies. There's nothing controversial here
other than two packages using a deprecated setuptools-markdown package where
we add local patches to simply not use it.

Bartosz Golaszewski (16):
  python3-toolz: new package
  python3-cytoolz: new package
  python3-decouple: new package
  python3-eth-hash: new package
  python3-eth-typing: new package
  python3-eth-utils: new package
  python3-eth-keys: new package
  python3-eth-keyfile: new package
  python3-hexbytes: new package
  python3-rlp: new package
  python3-eth-rlp: new package
  python3-parsimonious: new package
  python3-eth-abi: new package
  python3-eth-account: new package
  python3-lru-dict: new package
  python3-web3: new package

 .../packagegroups/packagegroup-meta-python.bb | 16 ++++++++
 .../python/python3-cytoolz_0.11.2.bb          | 12 ++++++
 .../python/python3-decouple_3.6.bb            | 16 ++++++++
 .../python/python3-eth-abi_3.0.0.bb           | 18 +++++++++
 .../python/python3-eth-account_0.6.1.bb       | 18 +++++++++
 .../python/python3-eth-hash_0.3.2.bb          |  9 +++++
 ...-setup-don-t-use-setuptools-markdown.patch | 36 ++++++++++++++++++
 .../python/python3-eth-keyfile_0.6.0.bb       | 16 ++++++++
 .../python/python3-eth-keys_0.4.0.bb          | 11 ++++++
 .../python/python3-eth-rlp_0.3.0.bb           | 15 ++++++++
 .../python/python3-eth-typing_3.0.0.bb        |  9 +++++
 ...-setup-don-t-use-setuptools-markdown.patch | 37 +++++++++++++++++++
 .../python/python3-eth-utils_2.0.0.bb         | 16 ++++++++
 .../python/python3-hexbytes_0.2.2.bb          |  9 +++++
 .../python/python3-lru-dict_1.1.7.bb          |  9 +++++
 .../python/python3-parsimonious_0.9.0.bb      | 11 ++++++
 ...-setup-don-t-use-setuptools-markdown.patch | 35 ++++++++++++++++++
 .../python/python3-rlp_3.0.0.bb               | 14 +++++++
 .../python/python3-toolz_0.11.2.bb            | 14 +++++++
 .../python/python3-web3_5.29.0.bb             | 20 ++++++++++
 20 files changed, 341 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-decouple_3.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-web3_5.29.0.bb

-- 
2.34.1



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 01/16] python3-toolz: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 02/16] python3-cytoolz: " Bartosz Golaszewski
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for toolz: a set of utility functions for iterators,
functions, and dictionaries.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb      |  1 +
 .../python/python3-toolz_0.11.2.bb                 | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index bee529805..5edec8f68 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -405,6 +405,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-thrift \
     python3-tinyrecord \
     python3-tornado \
+    python3-toolz \
     python3-tqdm \
     python3-trafaret \
     python3-trafaret-config \
diff --git a/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb b/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb
new file mode 100644
index 000000000..a597641e5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-toolz_0.11.2.bb
@@ -0,0 +1,14 @@
+SUMMARY = "A set of utility functions for iterators, functions, and dictionaries."
+HOMEPAGE = "https://github.com/pytoolz/toolz"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d"
+
+SRC_URI[sha256sum] = "6b312d5e15138552f1bda8a4e66c30e236c831b612b2bf0005f8a1df10a4bc33"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-json \
+    python3-math \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 02/16] python3-cytoolz: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 01/16] python3-toolz: new package Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 03/16] python3-decouple: " Bartosz Golaszewski
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for cytoolz: cython implementation of the toolz package.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb        |  1 +
 .../python/python3-cytoolz_0.11.2.bb                 | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 5edec8f68..5f97bd954 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -86,6 +86,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-custom-inherit \
     ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'python3-cvxopt', '', d)} \
     python3-cycler \
+    python3-cytoolz \
     python3-dateparser \
     python3-dateutil \
     python3-dbus-next \
diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb b/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb
new file mode 100644
index 000000000..14f597c28
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cytoolz_0.11.2.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Cython implementation of the toolz package, which provides high \
+performance utility functions for iterables, functions, and dictionaries."
+HOMEPAGE = "https://github.com/pytoolz/cytoolz"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=efbcddfa5610ca0c07ecfa274a82b373"
+
+SRC_URI[sha256sum] = "ea23663153806edddce7e4153d1d407d62357c05120a4e8485bddf1bd5ab22b4"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-toolz"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 03/16] python3-decouple: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 01/16] python3-toolz: new package Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 02/16] python3-cytoolz: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 04/16] python3-eth-hash: " Bartosz Golaszewski
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for python-decouple: generic tool for separating settings
from code.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb    |  1 +
 .../python/python3-decouple_3.6.bb               | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-decouple_3.6.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 5f97bd954..922a08af5 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -92,6 +92,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-dbus-next \
     python3-dbussy \
     python3-decorator \
+    python3-decouple \
     python3-defusedxml \
     python3-dill \
     python3-diskcache \
diff --git a/meta-python/recipes-devtools/python/python3-decouple_3.6.bb b/meta-python/recipes-devtools/python/python3-decouple_3.6.bb
new file mode 100644
index 000000000..772ee7faf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-decouple_3.6.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Strict separation of settings from code."
+HOMEPAGE = "https://github.com/henriquebastos/python-decouple/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a46375b26bb7d7603565d829a2a51782"
+
+SRC_URI[sha256sum] = "2838cdf77a5cf127d7e8b339ce14c25bceb3af3e674e039d4901ba16359968c7"
+
+PYPI_PACKAGE = "python-decouple"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-shell \
+    python3-stringold \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 04/16] python3-eth-hash: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (2 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 03/16] python3-decouple: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 05/16] python3-eth-typing: " Bartosz Golaszewski
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for eth-hash: the Ethereum hashing function module.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb            | 1 +
 .../recipes-devtools/python/python3-eth-hash_0.3.2.bb    | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 922a08af5..4b32c7db2 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -110,6 +110,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-email-validator \
     python3-engineio \
     python3-et-xmlfile \
+    python3-eth-hash \
     python3-evdev \
     python3-execnet \
     python3-fann2 \
diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb
new file mode 100644
index 000000000..c9630b172
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-hash_0.3.2.bb
@@ -0,0 +1,9 @@
+SUMMARY = "The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3."
+HOMEPAGE = "https://github.com/ethereum/eth-hash"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324"
+
+SRC_URI[sha256sum] = "3f40cecd5ead88184aa9550afc19d057f103728108c5102f592f8415949b5a76"
+
+inherit pypi setuptools3
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 05/16] python3-eth-typing: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (3 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 04/16] python3-eth-hash: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 06/16] python3-eth-utils: " Bartosz Golaszewski
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for eth-typing: common type annotations for ethereum
python packages.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb            | 1 +
 .../recipes-devtools/python/python3-eth-typing_3.0.0.bb  | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 4b32c7db2..d8cc9c0a5 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-engineio \
     python3-et-xmlfile \
     python3-eth-hash \
+    python3-eth-typing \
     python3-evdev \
     python3-execnet \
     python3-fann2 \
diff --git a/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb
new file mode 100644
index 000000000..a500d5b52
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-typing_3.0.0.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Common type annotations for ethereum python packages."
+HOMEPAGE = "https://github.com/ethereum/eth-typing"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bf9691ead96f1163622689e47ce3f366"
+
+SRC_URI[sha256sum] = "079e4c41e98cf2635d3830a99f3cbd7b1d73d2368464d4493c002bece545184a"
+
+inherit pypi setuptools3
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 06/16] python3-eth-utils: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (4 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 05/16] python3-eth-typing: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 07/16] python3-eth-keys: " Bartosz Golaszewski
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

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

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 ...-setup-don-t-use-setuptools-markdown.patch | 37 +++++++++++++++++++
 .../python/python3-eth-utils_2.0.0.bb         | 16 ++++++++
 3 files changed, 54 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index d8cc9c0a5..11de569a9 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -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 \
diff --git a/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch
new file mode 100644
index 000000000..3c3c5270a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-utils/0001-setup-don-t-use-setuptools-markdown.patch
@@ -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
+
diff --git a/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb
new file mode 100644
index 000000000..ff7caf5bf
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-utils_2.0.0.bb
@@ -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 \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 07/16] python3-eth-keys: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (5 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 06/16] python3-eth-utils: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 08/16] python3-eth-keyfile: " Bartosz Golaszewski
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for eth-keys: common API for Ethereum key operations.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb         |  1 +
 .../recipes-devtools/python/python3-eth-keys_0.4.0.bb | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 11de569a9..41bb24b32 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-engineio \
     python3-et-xmlfile \
     python3-eth-hash \
+    python3-eth-keys \
     python3-eth-typing \
     python3-eth-utils \
     python3-evdev \
diff --git a/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb b/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb
new file mode 100644
index 000000000..b0b1aad76
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-keys_0.4.0.bb
@@ -0,0 +1,11 @@
+SUMMARY = "A common API for Ethereum key operations with pluggable backends."
+HOMEPAGE = "https://github.com/ethereum/eth-keys"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2beaef1b1764f4d6b46084c885b4bcad"
+
+SRC_URI[sha256sum] = "7d18887483bc9b8a3fdd8e32ddcb30044b9f08fcb24a380d93b6eee3a5bb3216"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-eth-utils"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 08/16] python3-eth-keyfile: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (6 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 07/16] python3-eth-keys: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 09/16] python3-hexbytes: " Bartosz Golaszewski
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

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>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 ...-setup-don-t-use-setuptools-markdown.patch | 36 +++++++++++++++++++
 .../python/python3-eth-keyfile_0.6.0.bb       | 16 +++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 41bb24b32..5e41d92c1 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -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 \
diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch
new file mode 100644
index 000000000..7b8120380
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-keyfile/0001-setup-don-t-use-setuptools-markdown.patch
@@ -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
+
diff --git a/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb
new file mode 100644
index 000000000..9477632e2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-keyfile_0.6.0.bb
@@ -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 \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 09/16] python3-hexbytes: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (7 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 08/16] python3-eth-keyfile: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 10/16] python3-rlp: " Bartosz Golaszewski
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for hexbytes: a Python bytes subclass that decodes hex,
with a readable console output.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb            | 1 +
 .../recipes-devtools/python/python3-hexbytes_0.2.2.bb    | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 5e41d92c1..0a96e4005 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -474,6 +474,7 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
     python3-dominate-ptest \
     python3-geojson-ptest \
     python3-gunicorn-ptest \
+    python3-hexbytes \
     python3-html2text-ptest \
     python3-inflection-ptest \
     python3-intervals-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb b/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb
new file mode 100644
index 000000000..89792d980
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-hexbytes_0.2.2.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Python bytes subclass that decodes hex, with a readable console output."
+HOMEPAGE = "https://github.com/ethereum/hexbytes"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324"
+
+SRC_URI[sha256sum] = "a5881304d186e87578fb263a85317c808cf130e1d4b3d37d30142ab0f7898d03"
+
+inherit pypi setuptools3
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 10/16] python3-rlp: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (8 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 09/16] python3-hexbytes: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 11/16] python3-eth-rlp: " Bartosz Golaszewski
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for rlp: a Python implementation of Recursive Length
Prefix encoding (RLP).

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 ...-setup-don-t-use-setuptools-markdown.patch | 35 +++++++++++++++++++
 .../python/python3-rlp_3.0.0.bb               | 14 ++++++++
 3 files changed, 50 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 0a96e4005..d7d119d18 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -372,6 +372,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-rfc3339-validator \
     python3-rfc3986-validator \
     python3-rfc3987 \
+    python3-rlp \
     python3-robotframework \
     python3-robotframework-seriallibrary \
     python3-rsa \
diff --git a/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch
new file mode 100644
index 000000000..643d29639
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch
@@ -0,0 +1,35 @@
+From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001
+From: Bartosz Golaszewski <brgl@bgdev.pl>
+Date: Wed, 11 May 2022 15:11:19 +0200
+Subject: [PATCH] setup: don't use setuptools-markdown
+
+This project is deprecated and irrelevant for the functionality of
+pyrlp. 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 1055fb1..55fca24 100755
+--- a/setup.py
++++ b/setup.py
+@@ -46,13 +46,11 @@ setup(
+     # *IMPORTANT*: Don't manually change the version here. See README for more.
+     version='3.0.0',
+     description="A package for Recursive Length Prefix encoding and decoding",
+-    long_description_markdown_filename='README.md',
+     author="jnnk",
+     author_email='jnnknnj@gmail.com',
+     url='https://github.com/ethereum/pyrlp',
+     packages=find_packages(exclude=["tests", "tests.*"]),
+     include_package_data=True,
+-    setup_requires=['setuptools-markdown'],
+     install_requires=[
+         "eth-utils>=2.0.0,<3",
+     ],
+-- 
+2.34.1
+
diff --git a/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb b/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb
new file mode 100644
index 000000000..e747ae33b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "A Python implementation of Recursive Length Prefix encoding (RLP)."
+HOMEPAGE = "https://github.com/ethereum/pyrlp"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7"
+
+SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8"
+SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-pip-native"
+
+RDEPENDS:${PN} += "python3-eth-utils"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 11/16] python3-eth-rlp: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (9 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 10/16] python3-rlp: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 12/16] python3-parsimonious: " Bartosz Golaszewski
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for eth-rlp: RLP definitions for common Ethereum objects.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb     |  1 +
 .../python/python3-eth-rlp_0.3.0.bb               | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index d7d119d18..41a98ba05 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -113,6 +113,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-eth-hash \
     python3-eth-keyfile \
     python3-eth-keys \
+    python3-eth-rlp \
     python3-eth-typing \
     python3-eth-utils \
     python3-evdev \
diff --git a/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb b/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb
new file mode 100644
index 000000000..d19a65755
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-rlp_0.3.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "RLP definitions for common Ethereum objects in Python"
+HOMEPAGE = "https://github.com/ethereum/eth-rlp"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324"
+
+SRC_URI[sha256sum] = "f3263b548df718855d9a8dbd754473f383c0efc82914b0b849572ce3e06e71a6"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = " \
+    python3-eth-utils \
+    python3-hexbytes \
+    python3-rlp \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 12/16] python3-parsimonious: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (10 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 11/16] python3-eth-rlp: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 13/16] python3-eth-abi: " Bartosz Golaszewski
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for parsimonious: an arbitrary-lookahead parser written in
pure Python.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb         |  1 +
 .../python/python3-parsimonious_0.9.0.bb              | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 41a98ba05..41e30fad0 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -261,6 +261,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-paramiko \
     python3-parse \
     python3-parse-type \
+    python3-parsimonious \
     python3-parso \
     python3-passlib \
     python3-pastedeploy \
diff --git a/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb b/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb
new file mode 100644
index 000000000..5a604fa41
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parsimonious_0.9.0.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Parsimonious aims to be the fastest arbitrary-lookahead parser written in pure Python."
+HOMEPAGE = "https://github.com/erikrose/parsimonious"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
+
+SRC_URI[sha256sum] = "b2ad1ae63a2f65bd78f5e0a8ac510a98f3607a43f1db2a8d46636a5d9e4a30c1"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-regex"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 13/16] python3-eth-abi: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (11 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 12/16] python3-parsimonious: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 14/16] python3-eth-account: " Bartosz Golaszewski
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for eth-abi: utilities for working with Ethereum ABI definitions.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb  |  1 +
 .../python/python3-eth-abi_3.0.0.bb            | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 41e30fad0..db3f8516a 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -110,6 +110,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-email-validator \
     python3-engineio \
     python3-et-xmlfile \
+    python3-eth-abi \
     python3-eth-hash \
     python3-eth-keyfile \
     python3-eth-keys \
diff --git a/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb b/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb
new file mode 100644
index 000000000..e1f220af9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-abi_3.0.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Python utilities for working with Ethereum ABI definitions, especially encoding and decoding."
+HOMEPAGE = "https://github.com/ethereum/eth-abi"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bf9691ead96f1163622689e47ce3f366"
+
+SRC_URI[sha256sum] = "31578b179cf9430c21ac32a4e5f401c14b6e2cc1fd64ca3587cd354068217804"
+
+PYPI_PACKAGE = "eth_abi"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-eth-typing \
+    python3-eth-utils \
+    python3-parsimonious \
+    python3-setuptools \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 14/16] python3-eth-account: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (12 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 13/16] python3-eth-abi: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 15/16] python3-lru-dict: " Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 16/16] python3-web3: " Bartosz Golaszewski
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for python3-eth-account: a tool for signing Ethereum
transactions and messages with local private keys.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb  |  1 +
 .../python/python3-eth-account_0.6.1.bb        | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index db3f8516a..da83aab48 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -111,6 +111,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-engineio \
     python3-et-xmlfile \
     python3-eth-abi \
+    python3-eth-account \
     python3-eth-hash \
     python3-eth-keyfile \
     python3-eth-keys \
diff --git a/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb b/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb
new file mode 100644
index 000000000..9c87d3f5d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-eth-account_0.6.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Assign Ethereum transactions and messages with local private keys."
+HOMEPAGE = "https://github.com/ethereum/eth-account"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=287820ad3553117aa2f92bf84c219324"
+
+SRC_URI[sha256sum] = "54b0b7d661e73f4cd12d508c9baa5c9a6e8c194aa7bafc39277cd673683ae50e"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-bitarray \
+    python3-cytoolz \
+    python3-eth-abi \
+    python3-eth-keyfile \
+    python3-eth-rlp \
+    python3-hexbytes \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 15/16] python3-lru-dict: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (13 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 14/16] python3-eth-account: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  2022-05-12  8:41 ` [meta-python][PATCH 16/16] python3-web3: " Bartosz Golaszewski
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for lru-dict: a fixed size dict like container.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb            | 1 +
 .../recipes-devtools/python/python3-lru-dict_1.1.7.bb    | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index da83aab48..2bf26fc69 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -223,6 +223,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-lockfile \
     python3-lorem \
     python3-lrparsing \
+    python3-lru-dict \
     python3-luma-core \
     python3-luma-oled \
     python3-lxml \
diff --git a/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb b/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb
new file mode 100644
index 000000000..0a0682e0c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-lru-dict_1.1.7.bb
@@ -0,0 +1,9 @@
+SUMMARY = "A fixed size dict like container which evicts Least Recently Used (LRU) items once size limit is exceeded."
+HOMEPAGE = "https://github.com/amitdev/lru-dict"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153"
+
+SRC_URI[sha256sum] = "45b81f67d75341d4433abade799a47e9c42a9e22a118531dcb5e549864032d7c"
+
+inherit pypi setuptools3
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [meta-python][PATCH 16/16] python3-web3: new package
  2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
                   ` (14 preceding siblings ...)
  2022-05-12  8:41 ` [meta-python][PATCH 15/16] python3-lru-dict: " Bartosz Golaszewski
@ 2022-05-12  8:41 ` Bartosz Golaszewski
  15 siblings, 0 replies; 17+ messages in thread
From: Bartosz Golaszewski @ 2022-05-12  8:41 UTC (permalink / raw)
  To: Khem Raj, Bruce Ashfield, openembedded-devel; +Cc: Bartosz Golaszewski

Add a recipe for web3: a library for interacting with Ethereum.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-web3_5.29.0.bb             | 20 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-web3_5.29.0.bb

diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 2bf26fc69..d08908939 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -443,6 +443,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-visitor \
     python3-waitress \
     python3-watchdog \
+    python3-web3 \
     python3-webcolors \
     python3-webencodings \
     python3-websocket-client \
diff --git a/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb b/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb
new file mode 100644
index 000000000..660d4f6f0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-web3_5.29.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "A Python library for interacting with Ethereum."
+HOMEPAGE = "https://github.com/ethereum/web3.py"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dc2732bdc5e50382737979791cbb3b7"
+
+SRC_URI[sha256sum] = "a78acc0f0150013755398ae185c8c7063d9db0777aa09733de22242a746bd30c"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    python3-aiohttp \
+    python3-distutils \
+    python3-eth-account \
+    python3-idna \
+    python3-lru-dict \
+    python3-requests \
+    python3-setuptools \
+    python3-websockets \
+"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-05-12  8:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12  8:41 [meta-python][PATCH 00/16] python: add a bunch of packages for interacting with ethereum blockchains Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 01/16] python3-toolz: new package Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 02/16] python3-cytoolz: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 03/16] python3-decouple: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 04/16] python3-eth-hash: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 05/16] python3-eth-typing: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 06/16] python3-eth-utils: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 07/16] python3-eth-keys: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 08/16] python3-eth-keyfile: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 09/16] python3-hexbytes: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 10/16] python3-rlp: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 11/16] python3-eth-rlp: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 12/16] python3-parsimonious: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 13/16] python3-eth-abi: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 14/16] python3-eth-account: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 15/16] python3-lru-dict: " Bartosz Golaszewski
2022-05-12  8:41 ` [meta-python][PATCH 16/16] python3-web3: " Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.