diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-04-30 00:30:12 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-04-30 00:35:02 +0200 |
commit | db9f396b24d2eb37a5bbe29e698fbd658aad23e3 (patch) | |
tree | 0c7343203fccde35d9b8334b51f657faa0955118 /dev-python/pymediainfo | |
parent | www-apps/mirmon: fix gethostbyname2 method (diff) | |
download | gentoo-db9f396b24d2eb37a5bbe29e698fbd658aad23e3.tar.gz gentoo-db9f396b24d2eb37a5bbe29e698fbd658aad23e3.tar.bz2 gentoo-db9f396b24d2eb37a5bbe29e698fbd658aad23e3.zip |
dev-python/pymediainfo: bump to 4.2.1, add Py3.8, use distutils_*
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r-- | dev-python/pymediainfo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-4.2.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index dc88cd80e216..6ff73eb50c49 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1 +1,2 @@ DIST pymediainfo-4.1.tar.gz 432848 BLAKE2B e4bac2b43ee7c6ecb978bb08eb5c7070f458b7a00607c0a1d68a5e74d4f6393d7bb44d7e3471a4ab83bc45e19e4f3ab6b7779c28c16845c27a4895d76fa34d64 SHA512 08ffca0c3179aa6dff5b3007faaec1f1a2f372b2995824039021f41b2c772a2a13370c1dbd37d2408d023be497cff71dd6f46b09c8989f168976d75723cd7722 +DIST pymediainfo-4.2.1.tar.gz 434723 BLAKE2B 9dc9754fe8b993b9674da1a02150addb2f7eecfb38e60914e0644fddc1de564e8e0a81260c999f8ae3379d484e26786d0e67ed8aa0e3cc17b70066edf3e75b9c SHA512 33343838312ce240a23fa3856d808bf4b1346a1c65ed99c0405664aceaf452df610144114c228ad43e525f7abc9609420071bc6960f92b68ed7abe5dae8764aa diff --git a/dev-python/pymediainfo/pymediainfo-4.2.1.ebuild b/dev-python/pymediainfo/pymediainfo-4.2.1.ebuild new file mode 100644 index 000000000000..60bfaa83a98a --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-4.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +PYTHON_REQ_USE="xml(+)" +# The package uses pkg_resources to determine its version +DISTUTILS_USE_SETUPTOOLS=manual + +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=" + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/libmediainfo +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + 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/' \ + tests/test_pymediainfo.py || die + distutils-r1_python_prepare_all +} |