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>
This commit is contained in:
Tim Orling authored and Khem Raj committed 2022-03-01 09:06:56 -08:00
1 parent 2481bc359f
commit 870a9bd263
2 files changed
+34 -1

No files matched your search

@@ -15,6 +15,9 @@ SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895
# allow for common patches for python- and python3-systemd
FILESEXTRAPATHS:prepend := "${THISDIR}/python-systemd:"
SRC_URI += "file://endian.patch"
SRC_URI += " \
file://endian.patch \
file://0002-setup.py-switch-from-distutils-to-setuptools.patch \
"
SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch"