From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D8A513835A for ; Sat, 1 May 2021 22:18:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2057E0D24; Sat, 1 May 2021 22:18:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99D2EE0D24 for ; Sat, 1 May 2021 22:18:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2CD9340CB8 for ; Sat, 1 May 2021 22:18:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AF7B729 for ; Sat, 1 May 2021 22:18:14 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1619907445.b9e74ca130e5b623dfb693f78089f152f4049b04.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymediainfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymediainfo/Manifest dev-python/pymediainfo/pymediainfo-5.1.0.ebuild X-VCS-Directories: dev-python/pymediainfo/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: b9e74ca130e5b623dfb693f78089f152f4049b04 X-VCS-Branch: master Date: Sat, 1 May 2021 22:18:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 03623dd7-ce57-4bc3-8cb3-81f581ab11ed X-Archives-Hash: a00123e7ce75558eac4eafeb7be74b5d commit: b9e74ca130e5b623dfb693f78089f152f4049b04 Author: Louis Sautier gentoo org> AuthorDate: Sat May 1 22:17:25 2021 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sat May 1 22:17:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e74ca1 dev-python/pymediainfo: add 5.1.0 Signed-off-by: Louis Sautier gentoo.org> dev-python/pymediainfo/Manifest | 1 + dev-python/pymediainfo/pymediainfo-5.1.0.ebuild | 33 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index 8dfeb329771..89cdf8c80af 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-5.0.3.tar.gz 445381 BLAKE2B f3ff936100badf6899cd0eb3e1155ac82b2f6831dd9a32baf9c1f67f3f5948e5731798c3630aecd97cd86ecbd5a492e73353c19637775453a1fe291d0a15ce33 SHA512 4124b69910050fb84162140cda5e184cb0fc13b06b85ae61ff6e47b4fca236242558b9c3c8ea90ab804ed9400171f7b1dccc25ec5961b37d1f68de21fe64580e DIST pymediainfo-5.0.4.tar.gz 445381 BLAKE2B 37578ba4c748ad7b8fbd435ce8bd4b452812667aec06131b00e27bdc7b50baf10e8d8517e270d1f02eb7c867a278ccf68b3c5f26a588a55c970b79287aabe31d SHA512 0bc231b51e526bf69d10c59085814578c9f5fb542099613ea014484cfb37757413e640332604c01070d5e6bf81564514346400b5a7522864a5755acece2aafa8 +DIST pymediainfo-5.1.0.tar.gz 445630 BLAKE2B debef8de004232c4e39bd17018c447474a4f71bc386b01710bea8084febb5353cb70512ee77c33ea8b3e6c7b67baded99aecb77b60c52da58be35ef91919f34a SHA512 d3c48e37f6d59b0f5bc1d66d4fad9fea26724863dc2ae75a30c80d972f68f3be650298d25105d330c20b83083f94d2ff5e2690c29573897e09afa44931f3228e diff --git a/dev-python/pymediainfo/pymediainfo-5.1.0.ebuild b/dev-python/pymediainfo/pymediainfo-5.1.0.ebuild new file mode 100644 index 00000000000..79f47c33505 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-5.1.0.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 +}