From: Alexander Kanavin Date: Fri, 15 Dec 2023 07:52:01 +0000 (+0100) Subject: gobject-introspection: depend on setuptools to obtain distutils module X-Git-Tag: uninative-4.4~700 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2872aa59d24505b1088d570453e4ec6c83974cc9;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- 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"