diff mbox series

[meta-python,1/7] python3-systemd: switch to python_setuptools_build_meta

Message ID 20241107172902.4018835-1-ross.burton@arm.com
State New
Headers show
Series [meta-python,1/7] python3-systemd: switch to python_setuptools_build_meta | expand

Commit Message

Ross Burton Nov. 7, 2024, 5:28 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  | 13 +++++++++----
 1 file changed, 9 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..3abea5f5f2 100644
--- a/meta-python/recipes-devtools/python/python3-systemd_235.bb
+++ b/meta-python/recipes-devtools/python/python3-systemd_235.bb
@@ -3,10 +3,15 @@  HOMEPAGE = "https://github.com/systemd/python-systemd"
 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"