Control: tags 1008739 + pending

Dear maintainer,

I've forwarded the patch upstream, and I've prepared an NMU for
python-pyaudio (versioned as 0.2.11-1.4) and uploaded it to DELAYED/5.
Please feel free to tell me if I should delay it longer.

Regards,

SR
diff -Nru python-pyaudio-0.2.11/debian/changelog python-pyaudio-0.2.11/debian/changelog
--- python-pyaudio-0.2.11/debian/changelog	2020-10-29 12:05:20.000000000 -0400
+++ python-pyaudio-0.2.11/debian/changelog	2022-04-03 18:12:25.000000000 -0400
@@ -1,3 +1,10 @@
+python-pyaudio (0.2.11-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Python 3.10 support. (Closes: #1008739)
+
+ -- Stefano Rivera <stefa...@debian.org>  Sun, 03 Apr 2022 18:12:25 -0400
+
 python-pyaudio (0.2.11-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-pyaudio-0.2.11/debian/patches/python3.10.patch python-pyaudio-0.2.11/debian/patches/python3.10.patch
--- python-pyaudio-0.2.11/debian/patches/python3.10.patch	1969-12-31 20:00:00.000000000 -0400
+++ python-pyaudio-0.2.11/debian/patches/python3.10.patch	2022-04-03 18:12:24.000000000 -0400
@@ -0,0 +1,19 @@
+Description: Adjust Makefile for Python 3.10
+ import get_platform() from sysconfig instead of distutils
+ support Python with 2-digit minor version
+Author: Graham Inggs <gin...@debian.org>
+Last-Update: 2022-03-31
+Bug-Debian: https://bugs.debian.org/1008739
+Forwarded: by email, 2022-04-03
+
+--- a/Makefile
++++ b/Makefile
+@@ -7,7 +7,7 @@
+ BUILD_ARGS ?=
+ SPHINX ?= sphinx-build
+ DOCS_OUTPUT=docs/
+-PYTHON_BUILD_DIR:=$(shell $(PYTHON) -c "import distutils.util; import sys; print(distutils.util.get_platform() + '-' + sys.version[0:3])")
++PYTHON_BUILD_DIR:=$(shell $(PYTHON) -c "import sysconfig; import sys; print(sysconfig.get_platform() + '-' + ('%d.%d' % sys.version_info[:2]))")
+ BUILD_DIR:=lib.$(PYTHON_BUILD_DIR)
+ BUILD_STAMP:=$(BUILD_DIR)/build
+ SRCFILES := src/*.c src/*.h src/*.py
diff -Nru python-pyaudio-0.2.11/debian/patches/series python-pyaudio-0.2.11/debian/patches/series
--- python-pyaudio-0.2.11/debian/patches/series	2020-10-21 16:53:42.000000000 -0400
+++ python-pyaudio-0.2.11/debian/patches/series	2022-04-03 17:53:21.000000000 -0400
@@ -1 +1,2 @@
 Use-Python3-in-Makefile.patch
+python3.10.patch

Reply via email to