diff options
Diffstat (limited to 'dev-python/python-mpv')
| -rw-r--r-- | dev-python/python-mpv/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.8.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index a6c5771121bc..4529736ed1b9 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1 +1,2 @@ DIST python-mpv-1.0.7.gh.tar.gz 212686 BLAKE2B 5a3de241739196a3baec6fb985422d82ae35fe0b3709ba96bdc7ae51489de02495f886b0c5ca38fbfdd110e974954dc715e9334925e558f69f8961f00487b9ed SHA512 9373259bab0857855cb08c13f9f33fb3a26f880b09c8c468ce1330433c1b2cff72a5015fc066fb830a4089eff08852ad5aa05e648bfba617b9b3d225860c20d3 +DIST python-mpv-1.0.8.gh.tar.gz 213471 BLAKE2B 1a180a7451142c6767718848c370ffafea0f5f9f3593ed0487d9dbc24ff2f56dcd16560e3fa4468f59a740ebd9c665ef1e12ea2c45985cbb748db753ad8d0011 SHA512 bc430bc8b9538f1a55d92470935b5d120e188f01f5a36384fe351008d85a1d7e187b9dcd757fc165aa88f04097a3e697c9e9c79aa001bb356a3a9f3945ae1892 diff --git a/dev-python/python-mpv/python-mpv-1.0.8.ebuild b/dev-python/python-mpv/python-mpv-1.0.8.ebuild new file mode 100644 index 000000000000..a37693cd4178 --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.8.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE=" + https://github.com/jaseg/python-mpv/ + https://pypi.org/project/python-mpv/ +" +SRC_URI=" + https://github.com/jaseg/python-mpv/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hanging tests + tests/test_mpv.py::TestLifecycle::test_wait_for_property_event_overflow + tests/test_mpv.py::TestStreams::test_custom_stream + ) + + virtx epytest +} |
