[meta-python] python3-bitarray: upgrade 2.3.7 -> 2.4.0

Message ID 1646822643-61935-3-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [meta-python] python3-bitarray: upgrade 2.3.7 -> 2.4.0 | expand

Commit Message

Mingyu Wang (Fujitsu) March 9, 2022, 10:44 a.m. UTC
setup.py-use-setuptools-instead-of-distutils.patch
removed since it's included in 2.4.0

Changelog:
=========
* enable building wheels for multiple platforms and Python versions using
  pypa/cibuildwheel, see #165 and #170
* use setuptools instead of distutils in 'setup.py', #168
* add missing type hinting for '.count()' step argument

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...-use-setuptools-instead-of-distutils.patch | 29 -------------------
 ...ray_2.3.7.bb => python3-bitarray_2.4.0.bb} |  5 +---
 2 files changed, 1 insertion(+), 33 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-bitarray/setup.py-use-setuptools-instead-of-distutils.patch
 rename meta-python/recipes-devtools/python/{python3-bitarray_2.3.7.bb => python3-bitarray_2.4.0.bb} (62%)

Patch

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 @@ 
-From 947d364841954d60bab7a4cf1497a272b1bf73ca Mon Sep 17 00:00:00 2001
-From: Konrad Weihmann <kweihmann@outlook.com>
-Date: Sun, 27 Feb 2022 11:57:09 +0100
-Subject: [PATCH] setup.py: use setuptools instead of distutils
-
-as distutils will be deprecated in python 3.12 and already produces
-a warning when run with python 3.10.x, it might be a good time to
-switch to setuptools.
-It offers the same interface, so results will be the same
-
-Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
-
-Upstream-Status: Backport [https://github.com/ilanschnell/bitarray/commit/947d364841954d60bab7a4cf1497a272b1bf73ca]
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 4dbdf859..c7787dad 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1,5 +1,5 @@
- import re
--from distutils.core import setup, Extension
-+from setuptools import setup, Extension
- 
- 
- 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
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-bitarray_2.3.7.bb
rename to 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"
 LICENSE = "PSF-2.0"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"
 
-SRC_URI[sha256sum] = "4da790ab193e993107f3ff0aebc4f8d6ad5196a19071fbafad16b02898a44fd7"
+SRC_URI[sha256sum] = "f1203e902d51df31917d77eeba9c3fe78d032873a2ad78c737e26420f0080e58"
 
 inherit setuptools3 pypi
 
-# Backported from 2.3.8
-SRC_URI += "file://setup.py-use-setuptools-instead-of-distutils.patch"
-
 BBCLASSEXTEND = "native nativesdk"