Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyacoustid/
Date: Tue, 31 May 2022 01:57:05
Message-Id: 1653962206.d086e3bda928fd1298ecf16b75a54c7480acef53.sam@gentoo
1 commit: d086e3bda928fd1298ecf16b75a54c7480acef53
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 01:54:48 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 01:56:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d086e3bd
7
8 dev-python/pyacoustid: add 1.2.2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-python/pyacoustid/Manifest | 1 +
13 dev-python/pyacoustid/pyacoustid-1.2.2.ebuild | 33 +++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/pyacoustid/Manifest b/dev-python/pyacoustid/Manifest
17 index b68f519a9475..f17b3b2636b3 100644
18 --- a/dev-python/pyacoustid/Manifest
19 +++ b/dev-python/pyacoustid/Manifest
20 @@ -1 +1,2 @@
21 DIST pyacoustid-1.2.0.tar.gz 15770 BLAKE2B 9a5d62a8b8450393aec103d3755ed9e1fa999b6d4b25d1180d12e96020bb8bcf44b32f7de2e7de2ab0902ca9e65b352bc09edca173ce738019f4ca3330489875 SHA512 45827841df97b0f3a5d090edb076456fb822dfb35f3efbe55cc2877801b6c706f22a38f216d4ce7e4217d7da650e2116cfd987ea87000c828b06221fb8b06312
22 +DIST pyacoustid-1.2.2.tar.gz 15869 BLAKE2B 01f327dd640819dd799f48b32e859fe39dccda3fd62714bf324c8219cf7053b36f1399793523634e9d4f3c6405bed5050abb34bdf53c72ff0ee22708fb57225a SHA512 5bcb3f017c3013eb8fc9e335540a1f5e6a52fc2fefa53d5ef246ba16e4ff615dd1d1cf08b5c80b1a38b149e0fa7dc0b15e4890dcc3f5478ef874b4ec22cf0813
23
24 diff --git a/dev-python/pyacoustid/pyacoustid-1.2.2.ebuild b/dev-python/pyacoustid/pyacoustid-1.2.2.ebuild
25 new file mode 100644
26 index 000000000000..5428e169fb59
27 --- /dev/null
28 +++ b/dev-python/pyacoustid/pyacoustid-1.2.2.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python bindings for Chromaprint and the AcoustID web service"
40 +HOMEPAGE="https://pypi.org/project/pyacoustid/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="examples"
47 +
48 +RDEPEND="
49 + dev-python/audioread[${PYTHON_USEDEP}]
50 + dev-python/requests[${PYTHON_USEDEP}]
51 + media-libs/chromaprint
52 +"
53 +
54 +src_install() {
55 + distutils-r1_src_install
56 +
57 + if use examples ; then
58 + docinto examples
59 + dodoc aidmatch.py fpcalc.py
60 + docompress -x /usr/share/doc/${PF}/examples/
61 + fi
62 +}