summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiogo Pereira <sir.suriv@gmail.com>2020-10-03 14:51:32 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-10-10 10:22:36 +0300
commit3399658765ae0d7a09afbdac7e2ca78b45658852 (patch)
tree47ff8ab06d85f85cd115b41dc6ff598b95393f05 /dev-python/pyacoustid/pyacoustid-1.2.0.ebuild
parentmedia-gfx/xfig: update SRC_URI for 3.2.7b (diff)
downloadgentoo-3399658765ae0d7a09afbdac7e2ca78b45658852.tar.gz
gentoo-3399658765ae0d7a09afbdac7e2ca78b45658852.tar.bz2
gentoo-3399658765ae0d7a09afbdac7e2ca78b45658852.zip
dev-python/pyacoustid: version bump to 1.2.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Diogo Pereira <sir.suriv@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17760 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/pyacoustid/pyacoustid-1.2.0.ebuild')
-rw-r--r--dev-python/pyacoustid/pyacoustid-1.2.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pyacoustid/pyacoustid-1.2.0.ebuild b/dev-python/pyacoustid/pyacoustid-1.2.0.ebuild
new file mode 100644
index 00000000000..22f63e1faf7
--- /dev/null
+++ b/dev-python/pyacoustid/pyacoustid-1.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for Chromaprint and the AcoustID web service"
+HOMEPAGE="https://pypi.org/project/pyacoustid/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/audioread[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ media-libs/chromaprint
+"
+
+src_install() {
+ distutils-r1_src_install
+
+ if use examples ; then
+ docinto examples
+ dodoc aidmatch.py fpcalc.py
+ docompress -x /usr/share/doc/${PF}/examples/
+ fi
+}