From 78ebdce6a16942c7081565472862ab6730321ee3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 8 Mar 2023 18:00:27 +0000 Subject: gentoo auto-resync : 08:03:2023 - 18:00:26 --- dev-python/pyaudio/Manifest | 2 ++ dev-python/pyaudio/pyaudio-0.2.13.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/pyaudio/pyaudio-0.2.13.ebuild (limited to 'dev-python/pyaudio') diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest index 8bd2fa2f8ab3..9ac90165c0b7 100644 --- a/dev-python/pyaudio/Manifest +++ b/dev-python/pyaudio/Manifest @@ -1,4 +1,6 @@ AUX pyaudio-0.2.11-python310-size_t.patch 845 BLAKE2B 68eee6ebd83440e0f42a51a1c88735f5c6a7b2b541413faadee0260c22f65baff4d922100304fe719e9a6818ec98e3ce0bb51c763c916ae76385511d0d4ae12c SHA512 a9db774bcaaeb6693871ae49ec584bf58543469cd5c166e5ecb61efc354be7fde2a4c3283c1fe070a3d9d102301fa1a5f39d844418d52cd88565e1e62348992b DIST PyAudio-0.2.11.tar.gz 37428 BLAKE2B 18db51a651876135a6afc6c8c60e2221017a311fe1aec10497905bc35b81a73b5e9f27201431566bac3d13bcf582ec12a3b818c51f0e5e70aeb4ad177608461a SHA512 64db5542ee60837c9b07677e146fc7b060ff47c8b1c04cbb575bce79dd3ed4776c201e169ff2860f27dbe9e00a77046ba0cb925b55f7c546f8de46c6df68954e +DIST PyAudio-0.2.13.tar.gz 46820 BLAKE2B f0c55f4d6d028ab1210c031b6a3808f93f7963a49cf54e4c9ae65bf936f218386d4a43322b9bd645233e6f881e3d15cdcc6ceeb7fe65fd287696048b206cbfbf SHA512 1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008 EBUILD pyaudio-0.2.11-r2.ebuild 1180 BLAKE2B 93c20775883f7f93e51e894beac9f7bfba805cdb87ac57a7628e60a961d310239a58f79cac1453490f99f9c5c23982bf0bb172b1cb50fc45fc324135ccf0e664 SHA512 bd7882fe8600e7ab6835c82cc6f55bad65091b11fe1e5337f150a8e86aff5a01317b118e929e263ff57cee0efefe63db3480a5ac213e3731bbb1e78f7b1079b7 +EBUILD pyaudio-0.2.13.ebuild 1118 BLAKE2B 129ce9fb99b6899899db020a762c1abcca2809d1b32bd0765dc9526919130a229231a0021a747b738f6c509d74bebcd354c054060b941fb95fb4c21d2c02eeca SHA512 a7691a07b16ff965e0820c4210db9dff7646364d9d352d6c3ee9cb4f36d0257e42ed14c8318ac40936e7f00e1f41aa22354928ee041e5042ce560cb9da931d59 MISC metadata.xml 640 BLAKE2B 54eae253ef66fcdc9f69ff477374237c964b53b9b53a3d418a560bb2fa681ca438b81fcfccbd6cb6f16a4f2698adeb8ef9e9d203403e5750a157f1adfa3b0cb1 SHA512 b04e933cb7cfc59ea59dd9d8523fc34c05acada24c54fb5c9b5bf1fb7aee4c9b74848605d131a2d47d09b3a4ad3ca6d999e64848ef46aad0fd6a6757723df3b8 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}" +} -- cgit v1.2.3