commit: bc8e8f2ec993dea9d28a9611dbc6cf5922356a48 Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> AuthorDate: Thu Mar 27 21:18:44 2025 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Sun May 4 08:29:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8e8f2e
dev-python/pyaudio: add 0.2.14 Closes: https://bugs.gentoo.org/952367 Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> Bug: https://bugs.gentoo.org/952367 Closes: https://github.com/gentoo/gentoo/pull/41332 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> dev-python/pyaudio/Manifest | 1 + dev-python/pyaudio/pyaudio-0.2.14.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest index cff08f22e576..940b01551b3d 100644 --- a/dev-python/pyaudio/Manifest +++ b/dev-python/pyaudio/Manifest @@ -1 +1,2 @@ DIST PyAudio-0.2.13.tar.gz 46820 BLAKE2B f0c55f4d6d028ab1210c031b6a3808f93f7963a49cf54e4c9ae65bf936f218386d4a43322b9bd645233e6f881e3d15cdcc6ceeb7fe65fd287696048b206cbfbf SHA512 1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008 +DIST PyAudio-0.2.14.tar.gz 47066 BLAKE2B 1ff892b922c3a5a1f56da8fbc6d4bdc59b84b8fe80f58f8ee068d79691c0b2d9d241af9ff14ff2d0cda10db44c3f3c637081091bf5d9246ab677430b8f3b1b49 SHA512 2133db0968edcb0d82c6c1922f842d045a32c77998cfae8b38a041c67650cfacf9f6354c8a252db1b5148f73d229940b4c27064b400d2de7ab7e9370f73b8b95 diff --git a/dev-python/pyaudio/pyaudio-0.2.14.ebuild b/dev-python/pyaudio/pyaudio-0.2.14.ebuild new file mode 100644 index 000000000000..41c07e990a7b --- /dev/null +++ b/dev-python/pyaudio/pyaudio-0.2.14.ebuild @@ -0,0 +1,38 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="PyAudio" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517="setuptools" +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for PortAudio" +HOMEPAGE="https://people.csail.mit.edu/hubert/pyaudio/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Tests work if you have the correct HW device(s) to test. +RESTRICT="test" + +RDEPEND="media-libs/portaudio" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/numpy[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx sphinx +distutils_enable_tests unittest + +python_test() { + elog "These tests require an OS loopback sound device that forwards audio" + elog "output, generated by PyAudio for playback, and forwards it to an input" + elog "device, which PyAudio can record and verify against a test signal." + + cd tests || die + # pyaudio_tests have very complicated runtime requirements, therefore skipping them. + "${EPYTHON}" -m unittest error_tests -v || die "Tests fail with ${EPYTHON}" +}
