diff mbox series

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

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

Commit Message

alperak Aug. 7, 2024, 11:14 a.m. UTC
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.

Fix:

WARNING: python3-dbus-fast-2.22.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]

Signed-off-by: alperak <alperyasinak1@gmail.com>
---
 .../recipes-devtools/python/python3-dbus-fast_2.22.1.bb   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.22.1.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.22.1.bb
index 882b7f6cb..c705b1700 100644
--- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.22.1.bb
+++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.22.1.bb
@@ -7,7 +7,13 @@  SRC_URI[sha256sum] = "aa75dfb5bc7ba42f53391ae503ca5a21bd133e74ebb09965013ba23bdf
 
 PYPI_PACKAGE = "dbus_fast"
 
-inherit pypi setuptools3
+inherit pypi python_poetry_core
+
+DEPENDS += " \
+	python3-setuptools-native \
+	python3-wheel-native \
+	python3-cython-native \
+	"
 
 RDEPENDS:${PN} += " \
     python3-core (>=3.7) \