From 028c318f7cfeb381c3c01b3050e8eb1e4bf8be54 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 15 Dec 2023 08:52:08 +0100 Subject: glib-2.0: replace distutils dependency with setuptools (From OE-Core rev: 6a4d86cfa3b838eaa861936adee7a07f2a6a03b3) Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/glib-2.0/glib.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index fbf3a39b15..eb292c51d4 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}" -- cgit v1.2.3-54-g00ecf