From 3e7e207497ceafda92b7fb9c66520c80aa77630a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 7 Nov 2024 17:28:56 +0000 Subject: python3-systemd: switch to python_setuptools_build_meta Switch to the modern build system, and sort the recipe assignments to be more idiomatic. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-systemd_235.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-systemd_235.bb') 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" -- cgit v1.2.3-54-g00ecf