python3-sdnotify: patch to use setuptools

setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the 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-28 08:18:16 -08:00
committed by Khem Raj
parent 9045feb0d9
commit 42c0a75600
2 changed files with 33 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc8213e"
SRC_URI[md5sum] = "749ddca1c70be1697fecc443fb1fdb16"
SRC_URI[sha256sum] = "73977fc746b36cc41184dd43c3fe81323e7b8b06c2bb0826c4f59a20c56bb9f1"
SRC_URI += "file://0001-setup.py-switch-to-setuptools.patch"
inherit setuptools3 pypi