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 <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-12-15 08:52:01 +01:00
committed by Richard Purdie
parent 7cac39b4a2
commit 1d4447abb9

View File

@@ -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"