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
2022-02-27 12:09:09 -08:00
committed by Khem Raj
parent 2481bc359f
commit 870a9bd263
2 changed files with 34 additions and 1 deletions

View File

@@ -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"