diff options
author | mirror@stealer.net <mirror@stealer.net> | 2025-04-26 07:30:28 +0000 |
---|---|---|
committer | mirror@stealer.net <mirror@stealer.net> | 2025-04-26 07:30:28 +0000 |
commit | 1e10df879220c50af11de64de3efc84b88323a9c (patch) | |
tree | d7ff39f668473623e0f8c492b23be4f17ec802f1 /dev-python/python-mpv | |
parent | 127b0441e0d67e2f4d7dd476f7a27ac18a17de3f (diff) |
2025-04-26 07:10:54+00:00
Diffstat (limited to 'dev-python/python-mpv')
-rw-r--r-- | dev-python/python-mpv/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.8.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index b790b4879b1f5..1df3dfd49b3b1 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1,3 +1,5 @@ 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 EBUILD python-mpv-1.0.7.ebuild 887 BLAKE2B cd5c45baf29c4f0978a7e17ae9ff65921536134aeea604799790ef2e475427de777b5af6f31fb774b6c266eae6a7db7020c1bd8dceb1e3d272900eaa9201fb6f SHA512 3195bd9c460afd50fabf5f1fb1f83af26876b2792806db78edda83cc17b79692185d79bb19961305fba0ac4ae97dfd8ffd0241ebe3fdc77ba4208e88fc82ee8b +EBUILD python-mpv-1.0.8.ebuild 887 BLAKE2B cd5c45baf29c4f0978a7e17ae9ff65921536134aeea604799790ef2e475427de777b5af6f31fb774b6c266eae6a7db7020c1bd8dceb1e3d272900eaa9201fb6f SHA512 3195bd9c460afd50fabf5f1fb1f83af26876b2792806db78edda83cc17b79692185d79bb19961305fba0ac4ae97dfd8ffd0241ebe3fdc77ba4208e88fc82ee8b MISC metadata.xml 400 BLAKE2B c00589f18f99de41bcf9d944a0ef49ca99107baf71bbfc54cf5b3ce37774764526ee3fd1fd87b1b4eb0446c2283c06950ee07c9913163df781d50d3cac76e812 SHA512 7b4d68f9b026ccdea59a7e123fa252bc72dd24ffd64dcaa759a3073a22367df72291fa258c551f8a9dc0fc208eae1ec56209aa92a887e45b13b7e2d2363b039c 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 0000000000000..103c783c56363 --- /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_{10..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 +} |