From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AD92158062 for ; Wed, 8 Mar 2023 14:13:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2379AE0809; Wed, 8 Mar 2023 14:13:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B793E0817 for ; Wed, 8 Mar 2023 14:13:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 839CB341407 for ; Wed, 8 Mar 2023 14:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C73888CE for ; Wed, 8 Mar 2023 14:13:14 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1678284789.53dc2d1222fb70deb0813e7884cc9c034a01a3af.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyaudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyaudio/Manifest dev-python/pyaudio/pyaudio-0.2.13.ebuild X-VCS-Directories: dev-python/pyaudio/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 53dc2d1222fb70deb0813e7884cc9c034a01a3af X-VCS-Branch: master Date: Wed, 8 Mar 2023 14:13:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 262ae34b-f16b-48f7-a449-5cd129370828 X-Archives-Hash: 829ef49ed604f928165e4ab0f400ba91 commit: 53dc2d1222fb70deb0813e7884cc9c034a01a3af Author: Robert Siebeck r123 de> AuthorDate: Mon Feb 27 21:30:09 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Mar 8 14:13:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53dc2d12 dev-python/pyaudio: add version 0.2.13 Adds support for Python 11 Closes: https://bugs.gentoo.org/896824 Signed-off-by: Robert Siebeck r123.de> Closes: https://github.com/gentoo/gentoo/pull/29844 Signed-off-by: Joonas Niilola gentoo.org> dev-python/pyaudio/Manifest | 1 + dev-python/pyaudio/pyaudio-0.2.13.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest index e9c29753003d..371ba5e2f34c 100644 --- a/dev-python/pyaudio/Manifest +++ b/dev-python/pyaudio/Manifest @@ -1 +1,2 @@ DIST PyAudio-0.2.11.tar.gz 37428 BLAKE2B 18db51a651876135a6afc6c8c60e2221017a311fe1aec10497905bc35b81a73b5e9f27201431566bac3d13bcf582ec12a3b818c51f0e5e70aeb4ad177608461a SHA512 64db5542ee60837c9b07677e146fc7b060ff47c8b1c04cbb575bce79dd3ed4776c201e169ff2860f27dbe9e00a77046ba0cb925b55f7c546f8de46c6df68954e +DIST PyAudio-0.2.13.tar.gz 46820 BLAKE2B f0c55f4d6d028ab1210c031b6a3808f93f7963a49cf54e4c9ae65bf936f218386d4a43322b9bd645233e6f881e3d15cdcc6ceeb7fe65fd287696048b206cbfbf SHA512 1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008 diff --git a/dev-python/pyaudio/pyaudio-0.2.13.ebuild b/dev-python/pyaudio/pyaudio-0.2.13.ebuild new file mode 100644 index 000000000000..b52a46ae1325 --- /dev/null +++ b/dev-python/pyaudio/pyaudio-0.2.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +MY_PN="PyAudio" + +DESCRIPTION="Python bindings for PortAudio" +HOMEPAGE="http://people.csail.mit.edu/hubert/pyaudio/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Tests work if you have the correct HW device(s) to test. 0.2.11-r1. +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}" +}