diff mbox series

[19/21] python3-systemd: switch to python_setuptools_build_meta

Message ID 20241114220009.737413-19-ross.burton@arm.com
State New
Headers show
Series [01/21] blueman: inherit cython class | expand

Commit Message

Ross Burton Nov. 14, 2024, 10 p.m. UTC
Switch to the modern build system, and sort the recipe assignments to
be more idiomatic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-devtools/python/python3-systemd_235.bb   | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-systemd_235.bb b/meta-python/recipes-devtools/python/python3-systemd_235.bb
index 7a7d5a5053..0e923bc35c 100644
--- a/meta-python/recipes-devtools/python/python3-systemd_235.bb
+++ b/meta-python/recipes-devtools/python/python3-systemd_235.bb
@@ -4,9 +4,13 @@  LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
 
 PYPI_PACKAGE = "systemd-python"
-DEPENDS += "systemd (<=235)"
-RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog"
-REQUIRED_DISTRO_FEATURES = "systemd"
-inherit pypi features_check pkgconfig setuptools3
 SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch"
 SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a"
+
+DEPENDS += "systemd (<=235)"
+
+inherit pypi features_check pkgconfig python_setuptools_build_meta
+
+REQUIRED_DISTRO_FEATURES = "systemd"
+
+RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog"