@@ -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"