From: Alexander Kanavin Date: Fri, 15 Dec 2023 07:52:08 +0000 (+0100) Subject: glib-2.0: replace distutils dependency with setuptools X-Git-Tag: uninative-4.4~693 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a4d86cfa3b838eaa861936adee7a07f2a6a03b3;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git glib-2.0: replace distutils dependency with setuptools Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index fbf3a39b15f..eb292c51d44 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}"