summaryrefslogtreecommitdiff
path: root/dev-python/pymediainfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/pymediainfo
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r--dev-python/pymediainfo/Manifest6
-rw-r--r--dev-python/pymediainfo/pymediainfo-4.3.ebuild (renamed from dev-python/pymediainfo/pymediainfo-4.2.1.ebuild)14
-rw-r--r--dev-python/pymediainfo/pymediainfo-5.0.3.ebuild31
3 files changed, 40 insertions, 11 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index a05cef057134..b214509207a7 100644
--- a/dev-python/pymediainfo/Manifest
+++ b/dev-python/pymediainfo/Manifest
@@ -1,3 +1,5 @@
-DIST pymediainfo-4.2.1.tar.gz 434723 BLAKE2B 9dc9754fe8b993b9674da1a02150addb2f7eecfb38e60914e0644fddc1de564e8e0a81260c999f8ae3379d484e26786d0e67ed8aa0e3cc17b70066edf3e75b9c SHA512 33343838312ce240a23fa3856d808bf4b1346a1c65ed99c0405664aceaf452df610144114c228ad43e525f7abc9609420071bc6960f92b68ed7abe5dae8764aa
-EBUILD pymediainfo-4.2.1.ebuild 807 BLAKE2B 5732bf822802cd1da0974b2711ed55cf691e3322b59cb3be9ed8c9b1f5aba59a55748fa779d5982aa706345438c2c5d888ff519d8e7b1110bec033e40e5dfce5 SHA512 b38dc06a1d6051a36eebb770a6c0a02b812c4fbfa25d1e31bc51e742a9c78548fecb74c828ae982b584409c7c9c730914bd8bf0a554836eec390944b9f60490a
+DIST pymediainfo-4.3.tar.gz 437170 BLAKE2B a085268c90fd963501b0f57f4e58e000c58db57e902bfedf13b67ae2b56334b333bb028f24f7593416ba956943650031a3ab0b6d6627c9ffd3728e70c34182bb SHA512 641b335761a7382b4bb7e559afbba1a9694a3b588bc329187b62d1d6cb769a6ff0c110033e4fb50ab39991687a6f728cab53d528ecedf0164c55a9ce31250fe8
+DIST pymediainfo-5.0.3.tar.gz 445381 BLAKE2B f3ff936100badf6899cd0eb3e1155ac82b2f6831dd9a32baf9c1f67f3f5948e5731798c3630aecd97cd86ecbd5a492e73353c19637775453a1fe291d0a15ce33 SHA512 4124b69910050fb84162140cda5e184cb0fc13b06b85ae61ff6e47b4fca236242558b9c3c8ea90ab804ed9400171f7b1dccc25ec5961b37d1f68de21fe64580e
+EBUILD pymediainfo-4.3.ebuild 798 BLAKE2B 58b287427496478c07b703baf535b4780b695ec2123ab52e12751e700b3acb2d06b5662dc97c2d97304d4efd9784c8ddc43b5b968c7bcbf50ba0d26d7b0f132b SHA512 3fe25945b13e38f0f2eaacb5022a8c920cd4513d5dcc812693b365b40fc5e66db7985ba5a1115e76dff3d67ce8a115c0fc5e0bc111eb68edaa966732d211fe0a
+EBUILD pymediainfo-5.0.3.ebuild 798 BLAKE2B 58b287427496478c07b703baf535b4780b695ec2123ab52e12751e700b3acb2d06b5662dc97c2d97304d4efd9784c8ddc43b5b968c7bcbf50ba0d26d7b0f132b SHA512 3fe25945b13e38f0f2eaacb5022a8c920cd4513d5dcc812693b365b40fc5e66db7985ba5a1115e76dff3d67ce8a115c0fc5e0bc111eb68edaa966732d211fe0a
MISC metadata.xml 490 BLAKE2B af57dd2a5e345a6f7278614b276fc5ff9e9754286e2e24a651f94f18c238a0be6387319fd10d3b3709bdd22509840b9b02344d4bd3c5d196eb2816d41759890d SHA512 10ecb149acb001a0ba8e0e4af45121672f4a683f5e5690cc2d5fb112cc17b45754cf2a3fe303408fd99c16ea57d799829eca56037a2252ab36fddf730a5fa22a
diff --git a/dev-python/pymediainfo/pymediainfo-4.2.1.ebuild b/dev-python/pymediainfo/pymediainfo-4.3.ebuild
index 32fb07f83dcc..8fcb1b108fb6 100644
--- a/dev-python/pymediainfo/pymediainfo-4.2.1.ebuild
+++ b/dev-python/pymediainfo/pymediainfo-4.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
PYTHON_REQ_USE="xml(+)"
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -17,19 +17,15 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND="
- media-libs/libmediainfo
-"
-BDEPEND="
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
-"
+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 a test which requires network access
- sed -i 's/def test_parse_url/def _test_parse_url/' \
+ # 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
}
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
+}