Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mutagen/
Date: Fri, 09 Oct 2020 11:47:57
Message-Id: 1602244070.b2d22c28d3193e38e0f685762d9f662f972b6558.fordfrog@gentoo
1 commit: b2d22c28d3193e38e0f685762d9f662f972b6558
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 11:47:34 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 11:47:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d22c28
7
8 media-libs/mutagen: bump to 1.45.1 (+py3.9, new docs dep)
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/mutagen/Manifest | 1 +
14 media-libs/mutagen/mutagen-1.45.1.ebuild | 47 ++++++++++++++++++++++++++++++++
15 2 files changed, 48 insertions(+)
16
17 diff --git a/media-libs/mutagen/Manifest b/media-libs/mutagen/Manifest
18 index a79bcd75a63..b656b83c3eb 100644
19 --- a/media-libs/mutagen/Manifest
20 +++ b/media-libs/mutagen/Manifest
21 @@ -1,2 +1,3 @@
22 DIST mutagen-1.43.0.tar.gz 1143839 BLAKE2B 044906b730763e001fa2cb863c8bb1fec45713aca57b6311f783f66218e4f3410987d04d56a1e4fbf41a229860bbb574b4077401e1f2384e70d80fdc9f3b23ad SHA512 66df63705a43befa9cf6688bc8b3acc4fd1559eb28920c105b47a97c35422b5e19527051445daa7aed66facc2e4c14d71058f8560bbd564fecbe56a076491e3f
23 DIST mutagen-1.44.0.tar.gz 1143320 BLAKE2B 9e4ad11b7ee560a4940e3eaaecdb8b0fad4db54fd1fa9e4f925d84e55c217eb002e07602817fa92f6db9fdd6b6b339d5e147874bf587604c18b665d980d6604a SHA512 88c8c181b1333989451533951727b7c43e4a012defd3fd1f7ddd970d083f938783d61f98970e74c677ee9725dac92c47ee37af4bd7a474e85c7a56793c6063a8
24 +DIST mutagen-1.45.1.tar.gz 1285455 BLAKE2B a1e29698d96b4c98f16e18dd8b3f902e41dcc4409d01da861a726a6a9fbd7f116e07b4e1872b8b3857f0eec080d18bac736de741635746f5c71416a3a8ef6e78 SHA512 c5244efa01b9de5ec22ceca39e55f34b933ca4a5bec0f2088fd3adca657f0230cbe85cd5e156db1d90fb44d9339bc94dc3bdcd3e49f1b0d46bc3d71ece6b45d8
25
26 diff --git a/media-libs/mutagen/mutagen-1.45.1.ebuild b/media-libs/mutagen/mutagen-1.45.1.ebuild
27 new file mode 100644
28 index 00000000000..a4cddd5a2b2
29 --- /dev/null
30 +++ b/media-libs/mutagen/mutagen-1.45.1.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,7,8,9} )
38 +DISTUTILS_USE_SETUPTOOLS=rdepend
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Audio metadata tag reader and writer implemented in pure Python"
42 +HOMEPAGE="https://github.com/quodlibet/mutagen https://pypi.org/project/mutagen/"
43 +SRC_URI="https://github.com/quodlibet/mutagen/releases/download/release-${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
48 +IUSE="doc test"
49 +
50 +# TODO: Missing support for >=dev-python/eyeD3-0.7 API
51 +# test? ( >=dev-python/eyeD3-0.7 )
52 +BDEPEND="
53 + doc? (
54 + dev-python/sphinx
55 + dev-python/sphinx_rtd_theme
56 + )
57 + test? (
58 + dev-python/hypothesis[${PYTHON_USEDEP}]
59 + dev-python/pyflakes[${PYTHON_USEDEP}]
60 + dev-python/pytest[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +RESTRICT="!test? ( test )"
65 +
66 +python_compile_all() {
67 + use doc && emake -C docs
68 +}
69 +
70 +python_test() {
71 + esetup.py test --no-quality
72 +}
73 +
74 +python_install_all() {
75 + local DOCS=( NEWS README.rst )
76 + use doc && local HTML_DOCS=( docs/_build/. )
77 + distutils-r1_python_install_all
78 +}