Update to 0.2.12. Includes various small fixes including updates for
compatibility with Python 3.10+
Tests for only test consumer, audio/py-speechrecognition, pass the
same before and after.
ok?
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/py-audio/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile 22 Dec 2022 00:54:32 -0000 1.17
+++ Makefile 22 Dec 2022 01:09:15 -0000
@@ -1,10 +1,9 @@
COMMENT = Python bindings for PortAudio
-MODPY_EGG_VERSION = 0.2.11
+MODPY_EGG_VERSION = 0.2.12
DISTNAME = PyAudio-${MODPY_EGG_VERSION}
PKGNAME = py-audio-${MODPY_EGG_VERSION}
CATEGORIES = audio devel
-REVISION = 3
HOMEPAGE = http://people.csail.mit.edu/hubert/pyaudio/
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/py-audio/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 7 Aug 2021 15:41:23 -0000 1.3
+++ distinfo 22 Dec 2022 01:09:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (PyAudio-0.2.11.tar.gz) = k7/eMOC2TmOkby/XfoXEH9URgqSjQT2e36+f+qJu+3Q=
-SIZE (PyAudio-0.2.11.tar.gz) = 37428
+SHA256 (PyAudio-0.2.12.tar.gz) = Vd3123K8U3u6X128o6ufAiLuW4Qr2oOXjqsLe49g+54=
+SIZE (PyAudio-0.2.12.tar.gz) = 42944
Index: patches/patch-setup_py
===================================================================
RCS file: /cvs/ports/audio/py-audio/patches/patch-setup_py,v
retrieving revision 1.4
diff -u -p -r1.4 patch-setup_py
--- patches/patch-setup_py 11 Mar 2022 18:20:27 -0000 1.4
+++ patches/patch-setup_py 22 Dec 2022 01:09:15 -0000
@@ -1,12 +1,12 @@
Index: setup.py
--- setup.py.orig
+++ setup.py
-@@ -56,7 +56,7 @@ portaudio_path = os.environ.get("PORTAUDIO_PATH", "./p
- mac_sysroot_path = os.environ.get("SYSROOT_PATH", None)
+@@ -49,7 +49,7 @@ WIN_VCPKG_PATH = os.environ.get("VCPKG_PATH", None)
- pyaudio_module_sources = ['src/_portaudiomodule.c']
--include_dirs = []
-+include_dirs = [os.path.join(os.environ.get('LOCALBASE'), 'include'),]
- external_libraries = []
- extra_compile_args = []
- extra_link_args = []
+ def setup_extension():
+ pyaudio_module_sources = ['src/_portaudiomodule.c']
+- include_dirs = []
++ include_dirs = [os.path.join(os.environ.get('LOCALBASE'), 'include'),]
+ external_libraries = ["portaudio"]
+ external_libraries_path = []
+ extra_compile_args = []
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/py-audio/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- pkg/PLIST 9 Sep 2022 19:12:13 -0000 1.7
+++ pkg/PLIST 22 Dec 2022 01:09:15 -0000
@@ -1,5 +1,6 @@
@pkgpath audio/py-audio
lib/python${MODPY_VERSION}/site-packages/PyAudio-${MODPY_EGG_VERSION}.dist-info/
+lib/python${MODPY_VERSION}/site-packages/PyAudio-${MODPY_EGG_VERSION}.dist-info/LICENSE.txt
lib/python${MODPY_VERSION}/site-packages/PyAudio-${MODPY_EGG_VERSION}.dist-info/METADATA
lib/python${MODPY_VERSION}/site-packages/PyAudio-${MODPY_EGG_VERSION}.dist-info/RECORD
lib/python${MODPY_VERSION}/site-packages/PyAudio-${MODPY_EGG_VERSION}.dist-info/WHEEL