From 290c674b6a4b09fcc8dfd60e3da5020aeeef501d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 14 Nov 2024 22:00:03 +0000 Subject: python3-pystemd: inherit cython class Use the new cython class to avoid duplicated fixup code to remove build paths. Also switch to python_setuptools_build_meta as there is a pyproject.toml. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb index 3bfa20fcd9..e7f35f1f08 100644 --- a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" -DEPENDS = "systemd python3-cython-native" +DEPENDS = "systemd" RDEPENDS:${PN} += "\ python3-xml \ python3-lxml \ @@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\ " REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi setuptools3 features_check pkgconfig +inherit pypi python_setuptools_build_meta features_check pkgconfig cython do_configure:prepend() { rm -rf ${S}/pystemd/*.c -- cgit v1.2.3-54-g00ecf