summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-05-16 21:32:27 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-05-16 21:59:27 +0200
commite2717f9945250dcb94bc686fcc27ae5ae244f6b2 (patch)
tree7e9cf80d308a69c1887238f27e90758f1c536f39 /dev-python/python-mpv
parentdev-python/xvfbwrapper: enable py3.11 and disable py3.7 (diff)
downloadgentoo-e2717f9945250dcb94bc686fcc27ae5ae244f6b2.tar.gz
gentoo-e2717f9945250dcb94bc686fcc27ae5ae244f6b2.tar.bz2
gentoo-e2717f9945250dcb94bc686fcc27ae5ae244f6b2.zip
dev-python/python-mpv: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/python-mpv')
-rw-r--r--dev-python/python-mpv/python-mpv-1.0.1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-python/python-mpv/python-mpv-1.0.1.ebuild b/dev-python/python-mpv/python-mpv-1.0.1.ebuild
index 9aa5df22bcbd..a7486b1a5621 100644
--- a/dev-python/python-mpv/python-mpv-1.0.1.ebuild
+++ b/dev-python/python-mpv/python-mpv-1.0.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 virtualx
@@ -15,9 +15,6 @@ LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
-# https://github.com/jaseg/python-mpv/issues/209
-RESTRICT="test"
-
RDEPEND="
media-video/mpv[libmpv]
dev-python/pillow[${PYTHON_USEDEP}]
@@ -28,5 +25,13 @@ BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
python_test() {
+ # https://github.com/jaseg/python-mpv/issues/209
+ EPYTEST_DESELECT=(
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_negative
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_positive
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_shutdown
+ tests/test_mpv.py::TestLifecycle::test_wait_for_prooperty_event_overflow
+ tests/test_mpv.py::TestLifecycle::test_event_callback
+ )
virtx epytest
}