From ae629f64f5590eccbd2f3c644c783b7cce45dfa3 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 11 Apr 2021 15:15:59 +0200 Subject: dev-python/pymediainfo: add 5.0.4 This new version has changed runtime dependencies. Signed-off-by: Louis Sautier --- dev-python/pymediainfo/Manifest | 1 + dev-python/pymediainfo/pymediainfo-5.0.4.ebuild | 33 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/pymediainfo/pymediainfo-5.0.4.ebuild (limited to 'dev-python/pymediainfo') diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index 6f530a591a8a..fa5bf872a8e3 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-4.3.tar.gz 437170 BLAKE2B a085268c90fd963501b0f57f4e58e000c58db57e902bfedf13b67ae2b56334b333bb028f24f7593416ba956943650031a3ab0b6d6627c9ffd3728e70c34182bb SHA512 641b335761a7382b4bb7e559afbba1a9694a3b588bc329187b62d1d6cb769a6ff0c110033e4fb50ab39991687a6f728cab53d528ecedf0164c55a9ce31250fe8 DIST pymediainfo-5.0.3.tar.gz 445381 BLAKE2B f3ff936100badf6899cd0eb3e1155ac82b2f6831dd9a32baf9c1f67f3f5948e5731798c3630aecd97cd86ecbd5a492e73353c19637775453a1fe291d0a15ce33 SHA512 4124b69910050fb84162140cda5e184cb0fc13b06b85ae61ff6e47b4fca236242558b9c3c8ea90ab804ed9400171f7b1dccc25ec5961b37d1f68de21fe64580e +DIST pymediainfo-5.0.4.tar.gz 445381 BLAKE2B 37578ba4c748ad7b8fbd435ce8bd4b452812667aec06131b00e27bdc7b50baf10e8d8517e270d1f02eb7c867a278ccf68b3c5f26a588a55c970b79287aabe31d SHA512 0bc231b51e526bf69d10c59085814578c9f5fb542099613ea014484cfb37757413e640332604c01070d5e6bf81564514346400b5a7522864a5755acece2aafa8 diff --git a/dev-python/pymediainfo/pymediainfo-5.0.4.ebuild b/dev-python/pymediainfo/pymediainfo-5.0.4.ebuild new file mode 100644 index 000000000000..79f47c33505c --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-5.0.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="A wrapper around the mediainfo library" +HOMEPAGE="https://github.com/sbraz/pymediainfo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_7) + media-libs/libmediainfo +" +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs dev-python/alabaster +distutils_enable_tests pytest + +python_prepare_all() { + # Disable tests which requires network access + sed -i 's/@pytest.mark.internet/@pytest.mark.skip/' \ + tests/test_pymediainfo.py || die + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad