For now, building python3-systemd sometimes reports error:
pyutil.o not found
This is because its setup.py is not written in a way to handle
race condition. Multiple modules are using the same .c file,
resulting in the corresponding .o file generated multiple times.
The latest release of python3-systemd is 235, and the latest codes
have switched away from setup.py. So we'd better not patch setup.py.
Instead, we handle this issue by making its modules compile one by
one. It only has 5 modules, so there should be little impact on
building time.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to the modern build system, and sort the recipe assignments to
be more idiomatic.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 2 is long unsupported, so we no longer need this variable.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Includes bugfix from v234 which won't run on python3.10
See: https://github.com/systemd/python-systemd/issues/107
Removes patches now no longer required as they are implemented in v235
drop setting md5 checksum for src_uri as it is no longer needed
rename patch directory to match recipe name as python2 version of recipe
is gone
V235 released to PyPI on 11 Feb 23
https://pypi.org/project/systemd-python/235/
Signed-off-by: Samuel Cook <samuel.cook@cornelisnetworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>