meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
Khem Raj d1a6c69a07 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>
2022-11-30 12:01:44 -08:00

18 lines
515 B
BlitzBasic

SUMMARY = "Python bindings for interacting with systemd over DBus"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859"
DEPENDS = "systemd python3-cython-native"
RDEPENDS:${PN} += "python3-xml python3-pprint"
REQUIRED_DISTRO_FEATURES = "systemd"
inherit pypi setuptools3 features_check pkgconfig
do_configure:prepend() {
rm -rf ${S}/pystemd/*.c
}
BBCLASSEXTEND = "native"