summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch35
-rw-r--r--meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb14
2 files changed, 49 insertions, 0 deletions
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 @@
1From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <brgl@bgdev.pl>
3Date: Wed, 11 May 2022 15:11:19 +0200
4Subject: [PATCH] setup: don't use setuptools-markdown
5
6This project is deprecated and irrelevant for the functionality of
7pyrlp. We don't support it in meta-python so just drop it from the
8dependencies.
9
10Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
11---
12 setup.py | 2 --
13 1 file changed, 2 deletions(-)
14
15diff --git a/setup.py b/setup.py
16index 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--
342.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 @@
1SUMMARY = "A Python implementation of Recursive Length Prefix encoding (RLP)."
2HOMEPAGE = "https://github.com/ethereum/pyrlp"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7"
6
7SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8"
8SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch"
9
10inherit pypi setuptools3
11
12DEPENDS += "python3-pip-native"
13
14RDEPENDS:${PN} += "python3-eth-utils"