From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- dev-python/pyaudio/Manifest | 3 ++- dev-python/pyaudio/metadata.xml | 9 ++++++- dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild | 39 +++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild (limited to 'dev-python/pyaudio') diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest index 490501d89856..69f79577b9bc 100644 --- a/dev-python/pyaudio/Manifest +++ b/dev-python/pyaudio/Manifest @@ -1,3 +1,4 @@ DIST PyAudio-0.2.11.tar.gz 37428 BLAKE2B 18db51a651876135a6afc6c8c60e2221017a311fe1aec10497905bc35b81a73b5e9f27201431566bac3d13bcf582ec12a3b818c51f0e5e70aeb4ad177608461a SHA512 64db5542ee60837c9b07677e146fc7b060ff47c8b1c04cbb575bce79dd3ed4776c201e169ff2860f27dbe9e00a77046ba0cb925b55f7c546f8de46c6df68954e +EBUILD pyaudio-0.2.11-r1.ebuild 1093 BLAKE2B ca1c3c159c394ecfe93e5745087e29945dec0eb50c7ec1b4abd1b985c3695a3a5a3afcf267ccd7cdcf03af1e2d95b10150ffcb5ae9db823f3cd13e94f62d0a85 SHA512 5d88f5670e4a07c53a54a2cd0d055834c4aa12342bcf82404cb1fda2911770e6caeb30e4b1177436eabbdd96ea0d69b7c0e6bca5d02eb95a7627c14cbb804199 EBUILD pyaudio-0.2.11.ebuild 714 BLAKE2B e85bec919b9580f89a925ca7d6d8a75a64880cd2e02f51e40a4e4245e636d325bcb5db482e8cccee94138f8e3ac9f5d05b67fe614237c170ed8d91f1268bf7e3 SHA512 2e8fb5536930ce0bdf888b54c3e12f0758aca3aaec1969a5c47868ae360a91afb61de16e228dcaf70994ea7fc71cbe10cc3380e1a7d00ed2c662669535bc1ff7 -MISC metadata.xml 397 BLAKE2B f247d3d846ecd698c84729b9e20b5acddd6c00897f5ef0cc4620a948ad6280496c2102293641f905511857748cd515839d050639e5eece66767e75935ef75014 SHA512 30e53ac1083c59d997dd136608cc3dc119dabda0f9d580fb4edf4cbcf8089ceaf92e72d59154a9105ea07f7d5b4ec462c9edc137f21809c820b41a8498b59802 +MISC metadata.xml 598 BLAKE2B 21f9980ccef4c432d1191c9917405468d75b0e9a18895e70dd7c9abd8db14fae0142ef359e63816d6ff7bfad9a054118142d1b5e0a540a4a0c04e795ba290a93 SHA512 d6d33616d6f1dc38e6504807d9b4040d052e4c96099276dd8b6b5c456dca4a7dcf24f25f13813625a4ae139ab2fee68156cff696ec5658753bb282a260f17955 diff --git a/dev-python/pyaudio/metadata.xml b/dev-python/pyaudio/metadata.xml index 4f27b7264e3d..e1eb80143bbf 100644 --- a/dev-python/pyaudio/metadata.xml +++ b/dev-python/pyaudio/metadata.xml @@ -1,7 +1,14 @@ - + + gentoo.2019@r123.de + Robert Siebeck + + + proxy-maint@gentoo.org + Proxy Maintainers + PyAudio provides Python bindings for PortAudio (media-libs/portaudio), the cross-platform audio I/O library. diff --git a/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild b/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild new file mode 100644 index 000000000000..ec8e831d71f5 --- /dev/null +++ b/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +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} + test? ( dev-python/numpy )" + +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