summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-14 22:00:03 +0000
committerKhem Raj <raj.khem@gmail.com>2024-11-19 16:59:08 -0800
commit290c674b6a4b09fcc8dfd60e3da5020aeeef501d (patch)
tree7c916dd7e456e5c28ece02a7daee0096a31b9b97 /meta-python/recipes-devtools/python
parent4cd4753cb15278e76cb601f640cb2284422072e2 (diff)
downloadmeta-openembedded-290c674b6a4b09fcc8dfd60e3da5020aeeef501d.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb4
1 files changed, 2 insertions, 2 deletions
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"
4 4
5SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" 5SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144"
6 6
7DEPENDS = "systemd python3-cython-native" 7DEPENDS = "systemd"
8RDEPENDS:${PN} += "\ 8RDEPENDS:${PN} += "\
9 python3-xml \ 9 python3-xml \
10 python3-lxml \ 10 python3-lxml \
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\
15" 15"
16REQUIRED_DISTRO_FEATURES = "systemd" 16REQUIRED_DISTRO_FEATURES = "systemd"
17 17
18inherit pypi setuptools3 features_check pkgconfig 18inherit pypi python_setuptools_build_meta features_check pkgconfig cython
19 19
20do_configure:prepend() { 20do_configure:prepend() {
21 rm -rf ${S}/pystemd/*.c 21 rm -rf ${S}/pystemd/*.c