diff options
| author | mirror@stealer.net <mirror@stealer.net> | 2026-03-01 00:00:21 +0000 |
|---|---|---|
| committer | mirror@stealer.net <mirror@stealer.net> | 2026-03-01 00:00:21 +0000 |
| commit | b8b66b58a7749b7418bf5e70c2306d9295677667 (patch) | |
| tree | b1ed0dd6c368663d9efab27e5215561b143ee35a /dev-python/python-mpv | |
2026-02-28 22:24:04+00:00grafted
Diffstat (limited to 'dev-python/python-mpv')
| -rw-r--r-- | dev-python/python-mpv/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/python-mpv/metadata.xml | 18 | ||||
| -rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.8.ebuild | 47 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest new file mode 100644 index 0000000000..0d2c8b7013 --- /dev/null +++ b/dev-python/python-mpv/Manifest @@ -0,0 +1,3 @@ +DIST python-mpv-1.0.8.gh.tar.gz 213471 BLAKE2B 1a180a7451142c6767718848c370ffafea0f5f9f3593ed0487d9dbc24ff2f56dcd16560e3fa4468f59a740ebd9c665ef1e12ea2c45985cbb748db753ad8d0011 SHA512 bc430bc8b9538f1a55d92470935b5d120e188f01f5a36384fe351008d85a1d7e187b9dcd757fc165aa88f04097a3e697c9e9c79aa001bb356a3a9f3945ae1892 +EBUILD python-mpv-1.0.8.ebuild 906 BLAKE2B 83d12dcf1e7c44d9aa9a1386aa520d15cf50fb95b503faccbb0063ce134e56abf63c10090c4921250c0f24befc9a95622976b91d4482814b5eb15d28989686fc SHA512 e3bee7b0459adff5a6bd81a87b8ffc7c8d29ce0552e5c60edae229513fc04c3a75357a6e9f0078138e753131c9f18cca35680d0059fc7b0b834e9d0b292890c9 +MISC metadata.xml 501 BLAKE2B 16f2b4f284ad2cc6b98deab3d13e6fefa2eda50ae110419dfb5a0de013461721184e3d8cb72e3c05175fc569080704b6cb5ab0c9f345f667ffcf6bedc0976024 SHA512 b9b6ba88556fb31a98242345c4d1386143edee1d917ef3de6c5516d51035d01df369bc5dbbe96165ccbe2502bf5723e9764d39ca623673eb7e8962d0a88b61f8 diff --git a/dev-python/python-mpv/metadata.xml b/dev-python/python-mpv/metadata.xml new file mode 100644 index 0000000000..81ad4e9007 --- /dev/null +++ b/dev-python/python-mpv/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>nowa@gentoo.org</email> + <name>Nowa Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">python-mpv</remote-id> + <remote-id type="github">jaseg/python-mpv</remote-id> + </upstream> + <stabilize-allarches/> +</pkgmetadata> 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 0000000000..41055fd3ea --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +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}] + ) +" + +EPYTEST_PLUGINS=() +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 +} |
