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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A81FD1382C5 for ; Mon, 8 Jun 2020 07:46:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB473E08A5; Mon, 8 Jun 2020 07:46:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7897E08A5 for ; Mon, 8 Jun 2020 07:46:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC0E334F3E0 for ; Mon, 8 Jun 2020 07:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2450291 for ; Mon, 8 Jun 2020 07:46:05 +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: <1591602319.eac5ef080662ac6b4b073c8dec6c0f41633f9318.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyaudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild X-VCS-Directories: dev-python/pyaudio/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: eac5ef080662ac6b4b073c8dec6c0f41633f9318 X-VCS-Branch: master Date: Mon, 8 Jun 2020 07:46:05 +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: 6121aac8-dad5-4d85-8ed9-464e298e8a43 X-Archives-Hash: 6d30cee567951c342fba2ace3442f4d7 commit: eac5ef080662ac6b4b073c8dec6c0f41633f9318 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 8 06:43:20 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 8 07:45:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac5ef08 dev-python/pyaudio: restirct tests, and explain why so Signed-off-by: Joonas Niilola gentoo.org> dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild b/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild index 90922f58ade..ec8e831d71f 100644 --- a/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild +++ b/dev-python/pyaudio/pyaudio-0.2.11-r1.ebuild @@ -16,7 +16,9 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc" + +# Tests work if you have the correct HW device(s) to test. 0.2.11-r1. +RESTRICT="test" RDEPEND="media-libs/portaudio" DEPEND="${RDEPEND} @@ -26,6 +28,10 @@ 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 ||