diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-twofish/0002-setup.py-switch-to-setuptools.patch | 26 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb | 6 |
2 files changed, 30 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twofish/0002-setup.py-switch-to-setuptools.patch b/meta-python/recipes-devtools/python/python3-twofish/0002-setup.py-switch-to-setuptools.patch new file mode 100644 index 0000000000..99e5c6c517 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twofish/0002-setup.py-switch-to-setuptools.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From fe10781bd15ed7a5c384dbf121f78f129995aa8f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tim Orling <tim.orling@konsulko.com> | ||
| 3 | Date: Sun, 27 Feb 2022 11:02:36 -0800 | ||
| 4 | Subject: [PATCH] setup.py: switch to setuptools | ||
| 5 | |||
| 6 | Upstream-Status: Submitted | ||
| 7 | [https://github.com/keybase/python-twofish/pull/9] | ||
| 8 | |||
| 9 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
| 10 | --- | ||
| 11 | setup.py | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/setup.py b/setup.py | ||
| 15 | index fcc9546..bfc3273 100644 | ||
| 16 | --- a/setup.py | ||
| 17 | +++ b/setup.py | ||
| 18 | @@ -8,7 +8,7 @@ Copyright (c) 2013 Keybase | ||
| 19 | setup.py - build and package info | ||
| 20 | """ | ||
| 21 | |||
| 22 | -from distutils.core import setup, Extension | ||
| 23 | +from setuptools import setup, Extension | ||
| 24 | |||
| 25 | twofish_module = Extension('_twofish', | ||
| 26 | sources=['twofish-0.3/twofish.c', 'twofish.c'], | ||
diff --git a/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb b/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb index 94fb71090e..f45772d507 100644 --- a/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb | |||
| @@ -5,9 +5,11 @@ HOMEPAGE = "http://github.com/keybase/python-twofish" | |||
| 5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" |
| 7 | 7 | ||
| 8 | SRC_URI += "file://0001-Fix-missing-return-statements-in-module-stubs.patch" | 8 | SRC_URI += " \ |
| 9 | file://0001-Fix-missing-return-statements-in-module-stubs.patch \ | ||
| 10 | file://0002-setup.py-switch-to-setuptools.patch \ | ||
| 11 | " | ||
| 9 | 12 | ||
| 10 | SRC_URI[md5sum] = "d7d22f16dc4ffa0e3ae2200654033abe" | ||
| 11 | SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41acb830fa" | 13 | SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41acb830fa" |
| 12 | 14 | ||
| 13 | inherit pypi setuptools3 | 15 | inherit pypi setuptools3 |
