diff mbox series

[08/10] glib-2.0: replace distutils dependency with setuptools

Message ID 20231215075210.3049785-8-alex@linutronix.de
State Accepted, archived
Commit 6a4d86cfa3b838eaa861936adee7a07f2a6a03b3
Headers show
Series [01/10] gobject-introspection: depend on setuptools to obtain distutils module | expand

Commit Message

Alexander Kanavin Dec. 15, 2023, 7:52 a.m. UTC
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-core/glib-2.0/glib.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index fbf3a39b15f..eb292c51d44 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -146,7 +146,9 @@  do_install:append:mingw32() {
         rm -f ${D}${bindir}/gtester-report
 }
 
-CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml"
+# remove setuptools dependency when usage of distutils is dropped in
+# https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdbus-2.0/codegen/utils.py
+CODEGEN_PYTHON_RDEPENDS = "python3 python3-setuptools python3-xml"
 CODEGEN_PYTHON_RDEPENDS:mingw32 = ""
 
 RDEPENDS:${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"