diff mbox series

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

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

Commit Message

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

Fix:

WARNING: python3-brotli-1.1.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>
---
 meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb b/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb
index 678f12b73..542c8640d 100644
--- a/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb
@@ -8,10 +8,10 @@  PYPI_PACKAGE = "Brotli"
 
 SRC_URI[sha256sum] = "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
-RDEPENDS:${PN} = "\
-  python3-cffi \
+RDEPENDS:${PN} += " \
+	python3-cffi \
 "
 
 BBCLASSEXTEND = "native nativesdk"