summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-11-30 09:08:50 -0800
committerKhem Raj <raj.khem@gmail.com>2022-11-30 12:01:44 -0800
commitd1a6c69a07d7b435d79521dbe528c7eac05ce57d (patch)
treebc2fc5f90adeffc813ebfacf3362ebd4ea1e1d66 /meta-python
parenta28b7fdbf4bf973112530219d63f7559060ec8c7 (diff)
downloadmeta-openembedded-d1a6c69a07d7b435d79521dbe528c7eac05ce57d.tar.gz
python3-pystemd: Regenerate .c sources using newer cython
python 3.11 has moved the header "longintrepr.h" into a sub-folder [1] the pre-generated .c files are generated using older cython, therefore in order to compile it with python 3.11 regenerate them with OE's own native cython [1] https://bugs.python.org/issue35134 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
index da263fe94e..da22a43deb 100644
--- a/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
@@ -4,10 +4,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
4 4
5SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859" 5SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859"
6 6
7DEPENDS = "systemd" 7DEPENDS = "systemd python3-cython-native"
8RDEPENDS:${PN} += "python3-xml python3-pprint" 8RDEPENDS:${PN} += "python3-xml python3-pprint"
9REQUIRED_DISTRO_FEATURES = "systemd" 9REQUIRED_DISTRO_FEATURES = "systemd"
10 10
11inherit pypi setuptools3 features_check pkgconfig 11inherit pypi setuptools3 features_check pkgconfig
12 12
13do_configure:prepend() {
14 rm -rf ${S}/pystemd/*.c
15}
16
13BBCLASSEXTEND = "native" 17BBCLASSEXTEND = "native"