summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r--dev-python/pymediainfo/Manifest1
-rw-r--r--dev-python/pymediainfo/pymediainfo-5.0.2.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index 5e535a841d26..c6a8a390c75c 100644
--- a/dev-python/pymediainfo/Manifest
+++ b/dev-python/pymediainfo/Manifest
@@ -1,2 +1,3 @@
DIST pymediainfo-4.2.1.tar.gz 434723 BLAKE2B 9dc9754fe8b993b9674da1a02150addb2f7eecfb38e60914e0644fddc1de564e8e0a81260c999f8ae3379d484e26786d0e67ed8aa0e3cc17b70066edf3e75b9c SHA512 33343838312ce240a23fa3856d808bf4b1346a1c65ed99c0405664aceaf452df610144114c228ad43e525f7abc9609420071bc6960f92b68ed7abe5dae8764aa
DIST pymediainfo-4.3.tar.gz 437170 BLAKE2B a085268c90fd963501b0f57f4e58e000c58db57e902bfedf13b67ae2b56334b333bb028f24f7593416ba956943650031a3ab0b6d6627c9ffd3728e70c34182bb SHA512 641b335761a7382b4bb7e559afbba1a9694a3b588bc329187b62d1d6cb769a6ff0c110033e4fb50ab39991687a6f728cab53d528ecedf0164c55a9ce31250fe8
+DIST pymediainfo-5.0.2.tar.gz 444950 BLAKE2B e741802ebdf64752e41648d490179cf56510800fe1c631520be138bbb985a03f061a80d59b71a44ef73e7198853198e1d85c7007d5b99f26f2033b7f6026a4b5 SHA512 7db94cf2326a518f7693f2e8d76aa7aef3440466b0eac768a553cc0763d3bceb84d8051dcd79db6577e22a4ddd580f910ac286c571f3e51197ef2e268a73671a
diff --git a/dev-python/pymediainfo/pymediainfo-5.0.2.ebuild b/dev-python/pymediainfo/pymediainfo-5.0.2.ebuild
new file mode 100644
index 000000000000..8fcb1b108fb6
--- /dev/null
+++ b/dev-python/pymediainfo/pymediainfo-5.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
+PYTHON_REQ_USE="xml(+)"
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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="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
+}