diff mbox series

[meta-python,5/6] python3-argcomplete: switch to PEP-517 build backend

Message ID 20240809085236.1828180-5-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/6] python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0 | expand

Commit Message

Leon Anavi Aug. 9, 2024, 8:52 a.m. UTC
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.

Fixes:
WARNING: python3-argcomplete-3.4.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: Leon Anavi <leon.anavi@konsulko.com>
---
 .../recipes-devtools/python/python3-argcomplete_3.4.0.bb    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-argcomplete_3.4.0.bb b/meta-python/recipes-devtools/python/python3-argcomplete_3.4.0.bb
index be3ded82b..90def16a6 100644
--- a/meta-python/recipes-devtools/python/python3-argcomplete_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-argcomplete_3.4.0.bb
@@ -7,7 +7,11 @@  SRC_URI[sha256sum] = "c2abcdfe1be8ace47ba777d4fce319eb13bf8ad9dace8d085dcad6eded
 
 PYPI_PACKAGE = "argcomplete"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-setuptools-scm-native \
+"
 
 RDEPENDS:${PN} += "\
     python3-core \