From 88436568839872013d84d538f49902ffcb8b01bc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Sep 2024 16:27:15 -0700 Subject: python3-eth-hash: Add packageconfigs and switch to pep517-backend Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- .../python/python3-eth-hash_0.7.0.bb | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb index 0f548cf86f..1137e744cf 100644 --- a/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb @@ -1,14 +1,20 @@ -SUMMARY = "The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3." +SUMMARY = "eth-hash: 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=3d7bdfe69b1ffbde073ca6e96f5c53f7" SRC_URI[sha256sum] = "bacdc705bfd85dadd055ecd35fd1b4f846b671add101427e089a4ca2e8db310a" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -RDEPENDS:${PN} = "\ - python3-logging \ - python3-pycryptodome \ -" +PACKAGECONFIG ?= "" +PACKAGECONFIG[dev] = ",,,python3-build python3-bumpversion python3-ipython python3-pre-commit python3-pytest python3-pytest-xdist python3-sphinx python3-sphinx_rtd_theme python3-towncrier python3-tox python3-twine python3-wheel" +PACKAGECONFIG[docs] = ",,,python3-sphinx python3-sphinx_rtd_theme python3-towncrier" +PACKAGECONFIG[pycryptodome] = ",,,python3-pycryptodome" +PACKAGECONFIG[pysha3python-version-smaller-3-dot-9] = ",,,python3-pysha3" +PACKAGECONFIG[pysha3python-version-bigger--equals-3-dot-9] = ",,,python3-safe-pysha3" +PACKAGECONFIG[test] = ",,,python3-pytest python3-pytest-xdist" + +RDEPENDS:${PN} += "python3-core python3-logging python3-pycryptodome" + +PYPI_PACKAGE = "eth-hash" -- cgit v1.2.3-54-g00ecf