diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-20 15:30:12 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-20 15:37:12 +0200 |
commit | 23901f46c9378748bb3899fa789dc672cf80860a (patch) | |
tree | a4b8ade67199845c830aff47775bd40aaec02f37 /dev-python/python-mpv | |
parent | dev-python/python-vlc: import from ::guru (diff) | |
download | gentoo-23901f46c9378748bb3899fa789dc672cf80860a.tar.gz gentoo-23901f46c9378748bb3899fa789dc672cf80860a.tar.bz2 gentoo-23901f46c9378748bb3899fa789dc672cf80860a.zip |
dev-python/python-mpv: import from ::guru
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/python-mpv')
-rw-r--r-- | dev-python/python-mpv/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-mpv/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/python-mpv/python-mpv-0.5.2.ebuild | 29 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest new file mode 100644 index 000000000000..6a8e3e885d64 --- /dev/null +++ b/dev-python/python-mpv/Manifest @@ -0,0 +1 @@ +DIST python-mpv-0.5.2.tar.gz 207755 BLAKE2B 3222a54db145a66ae8b992f1c4e8243c50099573586fd8be9a2d88ff360898bf9b72905c22c8d056178b7917f093a494dce9138f3f8bb5782152dc38b71b1dad SHA512 cd542b0866d6c75395f1ca00bb6df3981998dd801dcee97b15e080fe66e94270f15daa674f663aa6974dcf6aa425d6e17f8476031badeec035727b2b690816f3 diff --git a/dev-python/python-mpv/metadata.xml b/dev-python/python-mpv/metadata.xml new file mode 100644 index 000000000000..651e2156c25b --- /dev/null +++ b/dev-python/python-mpv/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/python-mpv/python-mpv-0.5.2.ebuild b/dev-python/python-mpv/python-mpv-0.5.2.ebuild new file mode 100644 index 000000000000..9db6369612eb --- /dev/null +++ b/dev-python/python-mpv/python-mpv-0.5.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE="https://github.com/jaseg/python-mpv" +SRC_URI="https://github.com/jaseg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + virtx pytest -vv +} |