1 |
commit: 6c2c2d5126a6bf6a86ab3ac9099154fc90078ccf |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 09:48:00 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 10:18:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2c2d51 |
7 |
|
8 |
dev-python/python-mpv: add 1.0.1 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-mpv/Manifest | 1 + |
13 |
dev-python/python-mpv/python-mpv-1.0.1.ebuild | 32 +++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest |
17 |
index 6a8e3e885d64..943b4bb30086 100644 |
18 |
--- a/dev-python/python-mpv/Manifest |
19 |
+++ b/dev-python/python-mpv/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-mpv-0.5.2.tar.gz 207755 BLAKE2B 3222a54db145a66ae8b992f1c4e8243c50099573586fd8be9a2d88ff360898bf9b72905c22c8d056178b7917f093a494dce9138f3f8bb5782152dc38b71b1dad SHA512 cd542b0866d6c75395f1ca00bb6df3981998dd801dcee97b15e080fe66e94270f15daa674f663aa6974dcf6aa425d6e17f8476031badeec035727b2b690816f3 |
22 |
+DIST python-mpv-1.0.1.tar.gz 210008 BLAKE2B 3ba95ac4d3219615c80ea475c1f6dc3acd608a8ded919eea55efac8bb44a8946c959a2b39473e6c9e80fa1a4e52f525d6ef9871e3eb4b2664aeb1460208bc677 SHA512 16a6e93b63f30e535c1e3bd77702d7c703dd9c0a6a689f09e689663cac04e587bdc2135612062d791ffb38c709bc289d0297ebf9f1ddaf9b1771f25eae225f1b |
23 |
|
24 |
diff --git a/dev-python/python-mpv/python-mpv-1.0.1.ebuild b/dev-python/python-mpv/python-mpv-1.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9aa5df22bcbd |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-mpv/python-mpv-1.0.1.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+inherit distutils-r1 virtualx |
38 |
+ |
39 |
+DESCRIPTION="Python interface to the mpv media player" |
40 |
+HOMEPAGE="https://github.com/jaseg/python-mpv" |
41 |
+SRC_URI="https://github.com/jaseg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="AGPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+# https://github.com/jaseg/python-mpv/issues/209 |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ media-video/mpv[libmpv] |
52 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_test() { |
60 |
+ virtx epytest |
61 |
+} |