diff mbox series

[3/3] python3-dbus: clean up packaging

Message ID 20261106124717.564830-3-ross.burton@arm.com
State Under Review
Headers show
Series [1/3] classes/python_mesonpy: extend PEP517_BUILD_OPTS instead of assigning | expand

Commit Message

Ross Burton Nov. 6, 2026, 12:47 p.m. UTC
The dependencies on expat and libintl are redundant, and
${libdir}/pkgconfig is already in the default FILES for -dev.

Note that we can't use the python_mesonpy class for this recipe: it
installs headers and pkgconfig files which don't install to the correct
paths when the package is built into a wheel and then installed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-dbus_1.5.1.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-dbus_1.5.1.bb b/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
index ccd39d46a23..4e8281d903d 100644
--- a/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
@@ -7,7 +7,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c \
                     file://subprojects/dbus-gmain/LICENSES/GPL-2.0-or-later.txt;md5=3d26203303a722dedc6bf909d95ba815 \
                     file://subprojects/dbus-gmain/LICENSES/AFL-2.1.txt;md5=f3ad2f482ec639b440413665cfb9e714 \
                     "
-DEPENDS = "expat dbus glib-2.0 virtual/libintl"
+DEPENDS = "dbus glib-2.0"
 
 PYPI_PACKAGE = "dbus-python"
 
@@ -15,11 +15,8 @@  SRC_URI[sha256sum] = "57423cf87d09b7d084f420b55b737fe654c33339b06df77945620d9779
 
 inherit pypi setuptools3-base meson pkgconfig
 
-# requires dbus-run-session
 EXTRA_OEMESON += "-Dtests=disabled"
 
 RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
 
-FILES:${PN}-dev += "${libdir}/pkgconfig"
-
 BBCLASSEXTEND = "native nativesdk"