similarity index 50%
rename from meta/recipes-devtools/python/python3-dbus_1.4.0.bb
rename to meta/recipes-devtools/python/python3-dbus_1.5.1.bb
@@ -1,20 +1,24 @@
SUMMARY = "Python bindings for the DBus inter-process communication system"
SECTION = "devel/python"
HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c"
+LICENSE = "MIT AND (AFL-2.1 OR GPL-2.0-or-later)"
+LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c \
+ file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \
+ 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"
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.xz"
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus_python-${PV}.tar.gz"
-SRC_URI[sha256sum] = "c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5"
+SRC_URI[sha256sum] = "57423cf87d09b7d084f420b55b737fe654c33339b06df77945620d97795c6ac4"
-S = "${UNPACKDIR}/dbus-python-${PV}"
+S = "${UNPACKDIR}/dbus_python-${PV}"
inherit setuptools3-base meson pkgconfig
# requires dbus-run-session
-EXTRA_OEMESON += "-Dtests=false"
+EXTRA_OEMESON += "-Dtests=disabled"
RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
NEWS: https://gitlab.freedesktop.org/dbus/dbus-python/-/raw/dbus-python-1.5.1/NEWS few notable changes: - The sdist is now called dbus_python and ships as a .tar.gz (PEP-625), so SRC_URI and S need updating. - Autotools is gone, but we already build with meson. -Dtests=false is now deprecated, so switch to -Dtests=disabled. - The tree is REUSE-compliant now, so LICENSE grows to cover the bundled dbus-gmain bits (AFL-2.1 or GPL-2.0-or-later) next to dbus-python's own MIT, with LIC_FILES_CHKSUM pointing at the individual license files. Full NEWS: dbus Python Bindings 1.5.1 (2026-10-23) ======================================= Fixes: * Fix a memory leak when freeing UnixFd objects (dbus-python#62, Nieves Montero Fernandez) * Avoid libdbus assertion failures in some configurations if attempting to write an invalid item into a variant, for example a non-UTF-8 bytestring (dbus-python#60, Nieves Montero Fernandez) * Be more consistent about how containers are closed, to avoid mistakes similar to dbus-python#60 (Simon McVittie) dbus Python Bindings 1.5.0 (2026-09-27) ======================================= Dependencies: * The Meson build system is required. Installation via `pip` and similar PEP-0517 build system frontends requires meson-python (mesonpy) and its dependencies. * Python 3.7 or later is required. * Python 3.9 or later is strongly recommended. Older versions are no longer tested or supported. Build system changes: * The source release is now built as a sdist using mesonpy, with a name that includes dbus_python, not dbus-python, matching the project's name on PyPI and PEP-0625 * The Autotools build system is no longer available Enhancements: * Add a `test_socket_dir` build-time option for systems where /tmp is not available (dbus-python!38, Emily) * Documentation and "as-installed" tests (if enabled) are associated with `meson install --tags=doc` and `--tags=tests` respectively (Simon McVittie) Fixes: * Revert a broken implementation of weak references that caused crashes, especially in Python 3.15 (regression in 1.4.0; dbus-python#59, Simon McVittie) * Avoid repeated configuration reloads during unit testing when dbus was compiled with kqueue (dbus-python#56, Jakub KulĂk) * Add some unit tests for weak references and object destruction (dbus-python#59, Maximiliano Curia) * Metadata updates (Simon McVittie) * CI updates (Simon McVittie) Licensing: * REUSE metadata is now in TOML format * After the removal of the Autotools build system, all remaining files outside subprojects/ are believed to be MIT-licensed. The GLib main loop integration in subprojects/dbus-gmain/ continues to be under the same "AFL-2.1 OR GPL-2.0-or-later" dual-license as libdbus. License-Update: Add AFL-2.1 OR GPL-2.0-or-later licenses Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...thon3-dbus_1.4.0.bb => python3-dbus_1.5.1.bb} | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) rename meta/recipes-devtools/python/{python3-dbus_1.4.0.bb => python3-dbus_1.5.1.bb} (50%)