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 90CBD158086 for ; Wed, 15 Dec 2021 17:12:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8732BC018; Wed, 15 Dec 2021 17:12:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 091542BC00D for ; Wed, 15 Dec 2021 17:12:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 65A86343375 for ; Wed, 15 Dec 2021 17:12:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDED8D0 for ; Wed, 15 Dec 2021 17:12:02 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1639588318.b6c00864acd6b9bb7a032d3221855cd131764f62.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyglet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyglet/pyglet-1.5.21.ebuild X-VCS-Directories: dev-python/pyglet/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b6c00864acd6b9bb7a032d3221855cd131764f62 X-VCS-Branch: master Date: Wed, 15 Dec 2021 17:12:02 +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: 95d64cd3-0605-41b9-b26f-834391f2c09b X-Archives-Hash: 68148b655592f8774de207dc0504fabf commit: b6c00864acd6b9bb7a032d3221855cd131764f62 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed Dec 15 15:31:36 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed Dec 15 17:11:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c00864 dev-python/pyglet: fix tests, enable py3.10 - virtx has to be moved otherwise test failure is ignored - Tests work just fine without gst-python Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pyglet/pyglet-1.5.21.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-python/pyglet/pyglet-1.5.21.ebuild b/dev-python/pyglet/pyglet-1.5.21.ebuild index 724c64bd720d..ca7bceba3674 100644 --- a/dev-python/pyglet/pyglet-1.5.21.ebuild +++ b/dev-python/pyglet/pyglet-1.5.21.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 virtualx xdg-utils DESCRIPTION="Cross-platform windowing and multimedia library for Python" @@ -18,7 +18,7 @@ IUSE="examples image +sound" BDEPEND=" test? ( dev-python/pillow[${PYTHON_USEDEP}] - dev-python/gst-python[${PYTHON_USEDEP}] + media-libs/fontconfig ) " RDEPEND=" @@ -39,16 +39,17 @@ DOCS=( DESIGN NOTICE README.md RELEASE_NOTES ) distutils_enable_tests pytest -src_test() { - virtx distutils-r1_src_test -} - python_test() { xdg_environment_reset + # Deselect openal test, can't open device in sandbox + local deselect=( + tests/unit/media/test_listener.py::test_openal_listener + ) + # Specify path to avoid running interactive tests # We could add in integration tests, but they're slow - epytest tests/unit + virtx epytest tests/unit ${deselect[@]/#/--deselect } } python_install_all() {