diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch | 29 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bitarray_2.4.0.bb (renamed from meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb) | 5 |
2 files changed, 1 insertions, 33 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch b/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch deleted file mode 100644 index cef7ce15a4..0000000000 --- a/meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 947d364841954d60bab7a4cf1497a272b1bf73ca Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Konrad Weihmann <kweihmann@outlook.com> | ||
| 3 | Date: Sun, 27 Feb 2022 11:57:09 +0100 | ||
| 4 | Subject: [PATCH] setup.py: use setuptools instead of distutils | ||
| 5 | |||
| 6 | as distutils will be deprecated in python 3.12 and already produces | ||
| 7 | a warning when run with python 3.10.x, it might be a good time to | ||
| 8 | switch to setuptools. | ||
| 9 | It offers the same interface, so results will be the same | ||
| 10 | |||
| 11 | Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> | ||
| 12 | |||
| 13 | Upstream-Status: Backport [https://github.com/ilanschnell/bitarray/commit/947d364841954d60bab7a4cf1497a272b1bf73ca] | ||
| 14 | |||
| 15 | --- | ||
| 16 | setup.py | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/setup.py b/setup.py | ||
| 20 | index 4dbdf859..c7787dad 100644 | ||
| 21 | --- a/setup.py | ||
| 22 | +++ b/setup.py | ||
| 23 | @@ -1,5 +1,5 @@ | ||
| 24 | import re | ||
| 25 | -from distutils.core import setup, Extension | ||
| 26 | +from setuptools import setup, Extension | ||
| 27 | |||
| 28 | |||
| 29 | kwds = {} | ||
diff --git a/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb b/meta-python/recipes-devtools/python/python3-bitarray_2.4.0.bb index 46ceed8b80..39d1618cb1 100644 --- a/meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb +++ b/meta-python/recipes-devtools/python/python3-bitarray_2.4.0.bb | |||
| @@ -3,11 +3,8 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray" | |||
| 3 | LICENSE = "PSF-2.0" | 3 | LICENSE = "PSF-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" | 4 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "4da790ab193e993107f3ff0aebc4f8d6ad5196a19071fbafad16b02898a44fd7" | 6 | SRC_URI[sha256sum] = "f1203e902d51df31917d77eeba9c3fe78d032873a2ad78c737e26420f0080e58" |
| 7 | 7 | ||
| 8 | inherit setuptools3 pypi | 8 | inherit setuptools3 pypi |
| 9 | 9 | ||
| 10 | # Backported from 2.3.8 | ||
| 11 | SRC_URI += "file://setup.py-use-setuptools-instead-of-distutils.patch" | ||
| 12 | |||
| 13 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
