python3-twofish: 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 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 11:45:11 -08:00
committed by Khem Raj
parent 870a9bd263
commit 62a5f30896
2 changed files with 30 additions and 2 deletions

View File

@@ -5,9 +5,11 @@ HOMEPAGE = "http://github.com/keybase/python-twofish"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b"
SRC_URI += "file://0001-Fix-missing-return-statements-in-module-stubs.patch"
SRC_URI += " \
file://0001-Fix-missing-return-statements-in-module-stubs.patch \
file://0002-setup.py-switch-to-setuptools.patch \
"
SRC_URI[md5sum] = "d7d22f16dc4ffa0e3ae2200654033abe"
SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41acb830fa"
inherit pypi setuptools3