python3-rlp: upgrade 3.0.0 -> 4.0.0

Upgrade to version 4.0.0:

- repr() now returns an evaluatable string, like
  MyRLPObj(my_int_field=1, my_str_field="a_str")
- Convert .format strings to f-strings
- Add autoflake linting and move config to pyproject.toml

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2023-12-18 19:09:01 +02:00
committed by Khem Raj
parent 1d887eede7
commit fb7023bd3c
2 changed files with 5 additions and 40 deletions
@@ -0,0 +1,16 @@
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] = "61a5541f86e4684ab145cb849a5929d2ced8222930a570b3941cf4af16b72a78"
inherit pypi setuptools3
DEPENDS += "python3-pip-native"
RDEPENDS:${PN} += " \
${PYTHON_PN}-eth-utils \
${PYTHON_PN}-typing-extensions \
"