diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-05-12 10:41:46 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-05-14 08:17:25 -0700 |
commit | fdb908056abb14a68e952a0d1fba94f77c2510e6 (patch) | |
tree | 2af6c558ea52112fce2d7be405d03caa042d2bcb /meta-python | |
parent | 2bcdde7354de9224fa799de63178607c327788c9 (diff) | |
download | meta-openembedded-fdb908056abb14a68e952a0d1fba94f77c2510e6.tar.gz |
python3-rlp: new package
Add a recipe for rlp: a Python implementation of Recursive Length
Prefix encoding (RLP).
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
3 files changed, 50 insertions, 0 deletions
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 0a96e40051..d7d119d18c 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 = "\ | |||
372 | python3-rfc3339-validator \ | 372 | python3-rfc3339-validator \ |
373 | python3-rfc3986-validator \ | 373 | python3-rfc3986-validator \ |
374 | python3-rfc3987 \ | 374 | python3-rfc3987 \ |
375 | python3-rlp \ | ||
375 | python3-robotframework \ | 376 | python3-robotframework \ |
376 | python3-robotframework-seriallibrary \ | 377 | python3-robotframework-seriallibrary \ |
377 | python3-rsa \ | 378 | 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 0000000000..643d296394 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001 | ||
2 | From: Bartosz Golaszewski <brgl@bgdev.pl> | ||
3 | Date: Wed, 11 May 2022 15:11:19 +0200 | ||
4 | Subject: [PATCH] setup: don't use setuptools-markdown | ||
5 | |||
6 | This project is deprecated and irrelevant for the functionality of | ||
7 | pyrlp. We don't support it in meta-python so just drop it from the | ||
8 | dependencies. | ||
9 | |||
10 | Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> | ||
11 | --- | ||
12 | setup.py | 2 -- | ||
13 | 1 file changed, 2 deletions(-) | ||
14 | |||
15 | diff --git a/setup.py b/setup.py | ||
16 | index 1055fb1..55fca24 100755 | ||
17 | --- a/setup.py | ||
18 | +++ b/setup.py | ||
19 | @@ -46,13 +46,11 @@ setup( | ||
20 | # *IMPORTANT*: Don't manually change the version here. See README for more. | ||
21 | version='3.0.0', | ||
22 | description="A package for Recursive Length Prefix encoding and decoding", | ||
23 | - long_description_markdown_filename='README.md', | ||
24 | author="jnnk", | ||
25 | author_email='jnnknnj@gmail.com', | ||
26 | url='https://github.com/ethereum/pyrlp', | ||
27 | packages=find_packages(exclude=["tests", "tests.*"]), | ||
28 | include_package_data=True, | ||
29 | - setup_requires=['setuptools-markdown'], | ||
30 | install_requires=[ | ||
31 | "eth-utils>=2.0.0,<3", | ||
32 | ], | ||
33 | -- | ||
34 | 2.34.1 | ||
35 | |||
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 0000000000..e747ae33ba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "A Python implementation of Recursive Length Prefix encoding (RLP)." | ||
2 | HOMEPAGE = "https://github.com/ethereum/pyrlp" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7" | ||
6 | |||
7 | SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8" | ||
8 | SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch" | ||
9 | |||
10 | inherit pypi setuptools3 | ||
11 | |||
12 | DEPENDS += "python3-pip-native" | ||
13 | |||
14 | RDEPENDS:${PN} += "python3-eth-utils" | ||