diff mbox series

[01/10] gobject-introspection: depend on setuptools to obtain distutils module

Message ID 20231215075210.3049785-1-alex@linutronix.de
State Accepted, archived
Commit 2872aa59d24505b1088d570453e4ec6c83974cc9
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
g-i still uses distutils in various places, and upstream MRs and tickets
aren't getting a lot of traction. As distutils is gone from the core
library in python 3.12, rely on setuptools copy.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 .../gobject-introspection/gobject-introspection_1.78.1.bb      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.78.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.78.1.bb
index 2c6fb7aaa3e..05a08a50e08 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.78.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.78.1.bb
@@ -188,6 +188,7 @@  FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/tests/*.c \
 FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/"
 FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a"
 
-RDEPENDS:${PN} = "python3-pickle python3-xml"
+# setuptools can be removed when upstream removes all uses of distutils
+RDEPENDS:${PN} = "python3-pickle python3-xml python3-setuptools"
 
 BBCLASSEXTEND = "native"