@@ -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"
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(-)