Date: Tue, 22 Nov 2022 14:15:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267923] audio/py-pyaudio: Update to version 0.2.12 Message-ID: <bug-267923-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267923 Bug ID: 267923 Summary: audio/py-pyaudio: Update to version 0.2.12 Product: Ports & Packages Version: Latest Hardware: Any URL: https://people.csail.mit.edu/hubert/pyaudio/#downloads OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jaap@NLnetLabs.nl Attachment #238246 maintainer-approval+ Flags: Created attachment 238246 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238246&action= =3Dedit patch to upgrade PyAudio 0.2.12 - Modernize build process for Microsoft Windows, using the native toolcha= in. Setuptool setup.py and INSTALL instructions are more streamlined. Building from Cygwin/MinGW is no longer supported nor tested. Thanks to Sean Zimmermann for the patches and general help! - Change default frames per buffer size to paFramesPerBufferUnspecified. Previously, pyaudio.py set a default frames per buffer size of 1024, which can lead to dropped frames on some systems. Now, by default, PortAudio selects the buffer size based on host and latency requirements. Thanks to Jason Hihn for the suggestion! - Minor fixes and refactoring for compatibility with Python 3.7+. Updates include: * Remove call to deprecated PyEval_InitThreads() for Python 3.7+ * Use Py_ssize_t types in appropriate places (for Python 3.10+). * Remove the min macro to ease compilation for Windows. - Use the locale's preferred encoding to decode device names. Thanks to Eiichi Takamori for the patch! - Unit tests: add skipIf decorators to skip tests that require hardware. Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that require sound hardware, useful for (automated) test environments without access to audio devices. Thanks to Mat=C4=9Bj Cepl for the suggestion and patch! - Documentation, examples, and unit tests: various fixes. * Add more unit tests and repair a few that test the GIL on macOS. * Remove examples/error.py, which is redundant with tests/error_tests.p= y. * Fix type documentation of return value types in docstrings. Thanks to Vasily Zakharov for pointing out the return-value type errors! - Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267923-7788>