diff mbox series

[meta-python] python3-click-repl: switch to PEP-517 build backend

Message ID 20240807114414.85173-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python] python3-click-repl: switch to PEP-517 build backend | expand

Commit Message

alperak Aug. 7, 2024, 11:44 a.m. UTC
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-click-repl-0.3.0-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 <alperyasinak1@gmail.com>
---
 .../recipes-devtools/python/python3-click-repl_0.3.0.bb    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb b/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb
index b773ed6b8..46cf1b378 100644
--- a/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb
@@ -5,6 +5,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=580facc4832cac548fad94845542da44"
 
 SRC_URI[sha256sum] = "17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69ced26a9"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
-RDEPENDS:${PN} = "python3-click python3-prompt-toolkit"
+RDEPENDS:${PN} += " \
+	python3-click \
+	python3-prompt-toolkit \
+	"