diff mbox series

[2/3] python3-dbus: fetch sources from PyPI

Message ID 20261106124717.564830-2-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
This is a python package, so fetch the sources from PyPI. This gives us
reliable upstream release checking and a slightly neater recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-dbus_1.5.1.bb | 6 ++----
 1 file changed, 2 insertions(+), 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 4126c4639a0..ccd39d46a23 100644
--- a/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
@@ -9,13 +9,11 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c \
                     "
 DEPENDS = "expat dbus glib-2.0 virtual/libintl"
 
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus_python-${PV}.tar.gz"
+PYPI_PACKAGE = "dbus-python"
 
 SRC_URI[sha256sum] = "57423cf87d09b7d084f420b55b737fe654c33339b06df77945620d97795c6ac4"
 
-S = "${UNPACKDIR}/dbus_python-${PV}"
-
-inherit setuptools3-base meson pkgconfig
+inherit pypi setuptools3-base meson pkgconfig
 
 # requires dbus-run-session
 EXTRA_OEMESON += "-Dtests=disabled"