diff mbox series

gobject-introspection: remove redundant build dependencies

Message ID 20260326154726.1812344-1-ross.burton@arm.com
State Accepted, archived
Commit a3c030840bdb4a4daa5cf6c286b0cfa2504a3853
Headers show
Series gobject-introspection: remove redundant build dependencies | expand

Commit Message

Ross Burton March 26, 2026, 3:47 p.m. UTC
This recipe gained a build dependency on _target_ python3-setuptools
recently[1], but this shouldn't be needed. If setuptools is needed for
build, then the correct dependency would be python3-setuptools-native.

The dependency on target python3 is redundant as the python3targetconfig
class pulls this in already.

[1] oe-core 57a5dfd3785 ("gobject-introspection: split tools and giscanner into a separate package")

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../gobject-introspection/gobject-introspection_1.86.0.bb      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
index 506ed990763..fbba8fd6ec4 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.86.0.bb
@@ -23,8 +23,7 @@  GTKDOC_MESON_OPTION = "gtk_doc"
 
 MULTILIB_SCRIPTS = "${PN}-tools:${bindir}/g-ir-annotation-tool ${PN}-tools:${bindir}/g-ir-scanner"
 
-# setuptools are required to provide distutils to build the tools
-DEPENDS += " libffi zlib python3 python3-setuptools flex-native bison-native"
+DEPENDS += " libffi zlib flex-native bison-native"
 DEPENDS:append:class-native = " glib-2.0"
 DEPENDS:append:class-target = " glib-2.0-initial"