From 3167a3a9b5a0d5a4c6dd98b94bd0a920ab119f37 Mon Sep 17 00:00:00 2001 From: alperak Date: Fri, 9 Aug 2024 19:30:53 +0300 Subject: python3-pytest-timeout: switch to PEP-517 build backend - The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. - The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-timeout, it is by default. Fix: WARNING: python3-pytest-timeout-2.3.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb index b56c26aada..fe9d814c0e 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-timeout_2.3.1.bb @@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-timeout/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" -PYPI_PACKAGE = "pytest-timeout" - SRC_URI[sha256sum] = "12397729125c6ecbdaca01035b9e5239d4db97352320af155b3f5de1ba5165d9" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "python3-pytest" -- cgit v1.2.3-54-g00ecf