Skip to contentSkip to conversation

python3-dbus-fast: 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-dbus-fast: switch to PEP-517 build backend

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]

---
 .../recipes-devtools/python/python3-dbus-fast_2.22.1.bb   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-dbus-fast_2.22.1.bb +7 -1
index 882b7f6cb..c705b1700 100644
@@ -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) \
Signature · 1 line
2.25.1