summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-11-24 00:27:32 +0100
committerLouis Sautier <sbraz@gentoo.org>2020-11-24 00:28:25 +0100
commit706216bab9faa0eb6f93cc5c806c631f578b1347 (patch)
treef8754c91eb18a5a39f7234f7fdec67c851eefde7 /dev-python/pymediainfo
parentdev-vcs/qgit: inherit xdg cmake, because src_prepare (diff)
downloadgentoo-706216bab9faa0eb6f93cc5c806c631f578b1347.tar.gz
gentoo-706216bab9faa0eb6f93cc5c806c631f578b1347.tar.bz2
gentoo-706216bab9faa0eb6f93cc5c806c631f578b1347.zip
dev-python/pymediainfo: bump to 5.0.3
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r--dev-python/pymediainfo/Manifest1
-rw-r--r--dev-python/pymediainfo/pymediainfo-5.0.3.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index 93dc5c392046..d76f19da005e 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.2.tar.gz 444950 BLAKE2B e741802ebdf64752e41648d490179cf56510800fe1c631520be138bbb985a03f061a80d59b71a44ef73e7198853198e1d85c7007d5b99f26f2033b7f6026a4b5 SHA512 7db94cf2326a518f7693f2e8d76aa7aef3440466b0eac768a553cc0763d3bceb84d8051dcd79db6577e22a4ddd580f910ac286c571f3e51197ef2e268a73671a
+DIST pymediainfo-5.0.3.tar.gz 445381 BLAKE2B f3ff936100badf6899cd0eb3e1155ac82b2f6831dd9a32baf9c1f67f3f5948e5731798c3630aecd97cd86ecbd5a492e73353c19637775453a1fe291d0a15ce33 SHA512 4124b69910050fb84162140cda5e184cb0fc13b06b85ae61ff6e47b4fca236242558b9c3c8ea90ab804ed9400171f7b1dccc25ec5961b37d1f68de21fe64580e
diff --git a/dev-python/pymediainfo/pymediainfo-5.0.3.ebuild b/dev-python/pymediainfo/pymediainfo-5.0.3.ebuild
new file mode 100644
index 000000000000..8fcb1b108fb6
--- /dev/null
+++ b/dev-python/pymediainfo/pymediainfo-5.0.3.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
+}