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 <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2024-11-14 22:00:03 +00:00
committed by Khem Raj
parent 4cd4753cb1
commit 290c674b6a

View File

@@ -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