python3-setproctitle: Add missing rdeps for ptests
PATCH 1/5 python3-setproctitle: Add missing rdeps for ptests
Signed-off-by Khem Raj <[email protected]>
--- .../recipes-devtools/python/python3-setproctitle_1.3.3.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb +6 -0
@@ -16,6 +16,10 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += "\ + packagegroup-core-buildessential \ + procps-ps \ + python3-dev \ + python3-multiprocessing \ python3-pytest \ python3-unittest-automake-output \ "
@@ -26,3 +30,5 @@ do_install_ptest() { } BBCLASSEXTEND = "native nativesdk" + +INSANE_SKIP:${PN}-ptest = "dev-deps"
PATCH 2/5 python3-ujson: Add python misc modules to ptest rdeps
Its needed for
ModuleNotFoundError: No module named 'tracemalloc'
Signed-off-by Khem Raj <[email protected]>
--- meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-ujson/run-ptest +1 -1
@@ -1,3 +1,3 @@ #!/bin/sh -pytest --automake +FORCE_COLOR=1 pytest --automake --capture=no
meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb +2 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5 SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" -inherit pypi ptest setuptools3 +inherit pypi ptest python_setuptools_build_meta # let OE do the strip operation export UJSON_BUILD_NO_STRIP = "1"
@@ -24,6 +24,7 @@ RDEPENDS:${PN} += "\ RDEPENDS:${PN}-ptest += " \ python3-json \ + python3-misc \ python3-pytest \ python3-pytz \ python3-unittest-automake-output \
PATCH 3/5 python3-gunicorn: Add missing rdeps for ptests
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-gunicorn_23.0.0.bb +2 -0
@@ -11,9 +11,11 @@ SRC_URI += " \ file://run-ptest \ " +# python-misc for wsgiref RDEPENDS:${PN}-ptest += " \ python3-eventlet \ python3-gevent \ + python3-misc \ python3-pytest \ python3-unittest-automake-output \ "
PATCH 4/5 python3-eth-hash: Add packageconfigs and switch to pep517-backend
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- .../python/python3-eth-hash_0.7.0.bb | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-eth-hash_0.7.0.bb +13 -7
@@ -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"
PATCH 5/5 python3-validators: Add missing rdeps for ptests
In reply to Khem RajSigned-off-by Khem Raj <[email protected]>
--- .../recipes-devtools/python/python3-validators_0.34.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-validators_0.34.0.bb +4 -0
@@ -12,6 +12,10 @@ SRC_URI += " \ " RDEPENDS:${PN}-ptest += " \ + python3-decorator \ + python3-eth-hash \ + python3-isort \ + python3-pycryptodome \ python3-pytest \ python3-unittest-automake-output \ "