diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-12-15 08:52:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-21 10:38:29 +0000 |
commit | 028c318f7cfeb381c3c01b3050e8eb1e4bf8be54 (patch) | |
tree | dffafa9c9221284d9d63e0b3a6472c704200f917 | |
parent | 504651f853714b51be8204b9b17b1bf93b412019 (diff) | |
download | poky-028c318f7cfeb381c3c01b3050e8eb1e4bf8be54.tar.gz |
glib-2.0: replace distutils dependency with setuptools
(From OE-Core rev: 6a4d86cfa3b838eaa861936adee7a07f2a6a03b3)
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>
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 4 |
1 files changed, 3 insertions, 1 deletions
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() { | |||
146 | rm -f ${D}${bindir}/gtester-report | 146 | rm -f ${D}${bindir}/gtester-report |
147 | } | 147 | } |
148 | 148 | ||
149 | CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml" | 149 | # remove setuptools dependency when usage of distutils is dropped in |
150 | # https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdbus-2.0/codegen/utils.py | ||
151 | CODEGEN_PYTHON_RDEPENDS = "python3 python3-setuptools python3-xml" | ||
150 | CODEGEN_PYTHON_RDEPENDS:mingw32 = "" | 152 | CODEGEN_PYTHON_RDEPENDS:mingw32 = "" |
151 | 153 | ||
152 | RDEPENDS:${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}" | 154 | RDEPENDS:${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}" |