From 1d4447abb979e524d4f2dd71fb41069c5f760f9c Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 15 Dec 2023 08:52:01 +0100 Subject: gobject-introspection: depend on setuptools to obtain distutils module 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. (From OE-Core rev: 2872aa59d24505b1088d570453e4ec6c83974cc9) Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../gobject-introspection/gobject-introspection_1.78.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 2c6fb7aaa3..05a08a50e0 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" -- cgit v1.2.3-54-g00ecf