1 |
commit: e2717f9945250dcb94bc686fcc27ae5ae244f6b2 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 16 19:32:27 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 19:59:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2717f99 |
7 |
|
8 |
dev-python/python-mpv: enable py3.11 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-mpv/python-mpv-1.0.1.ebuild | 13 +++++++++---- |
13 |
1 file changed, 9 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/python-mpv/python-mpv-1.0.1.ebuild b/dev-python/python-mpv/python-mpv-1.0.1.ebuild |
16 |
index 9aa5df22bcbd..a7486b1a5621 100644 |
17 |
--- a/dev-python/python-mpv/python-mpv-1.0.1.ebuild |
18 |
+++ b/dev-python/python-mpv/python-mpv-1.0.1.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=8 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{8..10} ) |
24 |
+PYTHON_COMPAT=( python3_{8..11} ) |
25 |
DISTUTILS_USE_PEP517=setuptools |
26 |
inherit distutils-r1 virtualx |
27 |
|
28 |
@@ -15,9 +15,6 @@ LICENSE="AGPL-3" |
29 |
SLOT="0" |
30 |
KEYWORDS="~amd64" |
31 |
|
32 |
-# https://github.com/jaseg/python-mpv/issues/209 |
33 |
-RESTRICT="test" |
34 |
- |
35 |
RDEPEND=" |
36 |
media-video/mpv[libmpv] |
37 |
dev-python/pillow[${PYTHON_USEDEP}] |
38 |
@@ -28,5 +25,13 @@ BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )" |
39 |
distutils_enable_tests pytest |
40 |
|
41 |
python_test() { |
42 |
+ # https://github.com/jaseg/python-mpv/issues/209 |
43 |
+ EPYTEST_DESELECT=( |
44 |
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_negative |
45 |
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_positive |
46 |
+ tests/test_mpv.py::TestLifecycle::test_wait_for_property_shutdown |
47 |
+ tests/test_mpv.py::TestLifecycle::test_wait_for_prooperty_event_overflow |
48 |
+ tests/test_mpv.py::TestLifecycle::test_event_callback |
49 |
+ ) |
50 |
virtx epytest |
51 |
} |