mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
dev-python/python-mpv: version bump
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST python-mpv-0.4.7.tar.gz 203161 BLAKE2B a67189a09554d0e3fcbc40f76553dfc8171a009a912b6fbdfa2a916356f4cdcda7c9adad2ff5c54e46696c08dcc13d56d2f5edb665835a504765ae7b6a01918e SHA512 0c2abef871aadeec433a871418c463e82a570a4e2224f36151ba7e20bed4a5a7c3d13528805454fe445b857a6980cac494e65396dd4eb9e8bb813a4321c214ba
|
||||
DIST python-mpv-0.5.2.tar.gz 207755 BLAKE2B 3222a54db145a66ae8b992f1c4e8243c50099573586fd8be9a2d88ff360898bf9b72905c22c8d056178b7917f093a494dce9138f3f8bb5782152dc38b71b1dad SHA512 cd542b0866d6c75395f1ca00bb6df3981998dd801dcee97b15e080fe66e94270f15daa674f663aa6974dcf6aa425d6e17f8476031badeec035727b2b690816f3
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
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 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-video/mpv[libmpv]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# OSError: [Errno 9] Bad file descriptor
|
||||
sed -i -e 's:test_property_observer_decorator:_&:' \
|
||||
-e 's:test_register_decorator_fun:_&:' \
|
||||
-e 's:test_register_decorator_fun_chaining:_&:' \
|
||||
-e 's:test_register_direct_bound_method:_&:' \
|
||||
-e 's:test_register_direct_cmd:_&:' \
|
||||
-e 's:test_register_simple_decorator_fun_chaining:_&:' \
|
||||
-e 's:test_custom_stream:_&:' \
|
||||
-e 's:test_create_destroy:_&:' \
|
||||
-e 's:test_event_callback:_&:' \
|
||||
-e 's:test_flags:_&:' \
|
||||
-e 's:test_log_handler:_&:' \
|
||||
-e 's:test_options:_&:' \
|
||||
-e 's:test_instance_method_property_observer:_&:' \
|
||||
-e 's:test_unobserve_property_runtime_error:_&:' \
|
||||
mpv-test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv mpv-test.py
|
||||
}
|
||||
29
dev-python/python-mpv/python-mpv-0.5.2.ebuild
Normal file
29
dev-python/python-mpv/python-mpv-0.5.2.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
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 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-video/mpv[libmpv]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="test? ( dev-python/xvfbwrapper[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv
|
||||
}
|
||||
Reference in New Issue
Block a user