Skip to contentSkip to conversation

python3-brotli: 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-brotli: 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-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]

---
 meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb +3 -3
index 678f12b73..542c8640d 100644
@@ -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"
Signature · 1 line
2.25.1