python3-pynetlinux: 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:33:05 -08:00
committed by Khem Raj
parent 42c0a75600
commit 2dcff9296a
2 changed files with 34 additions and 1 deletions

View File

@@ -5,7 +5,8 @@ HOMEPAGE = "http://github.com/rlisagor/pynetlinux"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9"
SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883"
SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c"
SRC_URI += "file://0001-setup.py-switch-to-setuptools.patch"
inherit pypi setuptools3