diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-11-30 09:08:50 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-11-30 12:01:44 -0800 |
| commit | d1a6c69a07d7b435d79521dbe528c7eac05ce57d (patch) | |
| tree | bc2fc5f90adeffc813ebfacf3362ebd4ea1e1d66 /meta-python | |
| parent | a28b7fdbf4bf973112530219d63f7559060ec8c7 (diff) | |
| download | meta-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.bb | 6 |
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 | ||
| 5 | SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859" | 5 | SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859" |
| 6 | 6 | ||
| 7 | DEPENDS = "systemd" | 7 | DEPENDS = "systemd python3-cython-native" |
| 8 | RDEPENDS:${PN} += "python3-xml python3-pprint" | 8 | RDEPENDS:${PN} += "python3-xml python3-pprint" |
| 9 | REQUIRED_DISTRO_FEATURES = "systemd" | 9 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 10 | 10 | ||
| 11 | inherit pypi setuptools3 features_check pkgconfig | 11 | inherit pypi setuptools3 features_check pkgconfig |
| 12 | 12 | ||
| 13 | do_configure:prepend() { | ||
| 14 | rm -rf ${S}/pystemd/*.c | ||
| 15 | } | ||
| 16 | |||
| 13 | BBCLASSEXTEND = "native" | 17 | BBCLASSEXTEND = "native" |
