Skip to contentSkip to conversation

python3-click-repl: switch to PEP-517 build backend

PATCH New alperak 1 participant 1 message Aug 7, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 python3-click-repl: switch to PEP-517 build backend

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]

---
 .../recipes-devtools/python/python3-click-repl_0.3.0.bb    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb +5 -2
index b773ed6b8..46cf1b378 100644
@@ -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 \
+	"
Signature · 1 line
2.25.1