Commit Graph

3 Commits

Author SHA1 Message Date
Tim Orling
870a9bd263 python3-systemd: patch to use setuptools
setup.py bdist_wheel does not work with ditutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Khem Raj
cd0aff0e60 python-systemd: Include endian.h for htobe16
Fixes
| systemd/util.c:112:39: error: implicit declaration of function 'htobe16' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
|                 addr->in6.sin6_port = htobe16(port);
|                                       ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:16 -08:00
Tim Orling
37da2271b3 python[3]-systemd: cleanup common content; fix build for musl
* Put common content in python-systemd.inc
* Add patch to provide strndupa() for musl

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:28:13 -08:00