dev-python/pyacoustid: version bump to 1.1.5
authorDiogo Pereira <sir.suriv@gmail.com>
Fri, 6 Jul 2018 22:34:29 +0000 (23:34 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 6 Jul 2018 22:54:23 +0000 (00:54 +0200)
Closes: https://bugs.gentoo.org/653966
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-python/pyacoustid/Manifest
dev-python/pyacoustid/pyacoustid-1.1.5.ebuild [new file with mode: 0644]

index 16fbea4bc0636a66b3dd166a1aa0d728745f80b9..b2cab13fe92eb81b04d2dee52fb54b940bdf63cd 100644 (file)
@@ -1 +1,2 @@
 DIST pyacoustid-1.0.0.tar.gz 10476 BLAKE2B 363bf1bee4c124fc57126febf50c34a395ded074df8d3b9661b015b6b653f473ef79837f2078b7b21375d3b3624f75b1070d3c28ab3fa4d619e1ae088129898c SHA512 4eabf32e7d958bf7330e852184f5ddf3105007179ca2c45b75c1a5b0f0898649e703aa333cffccac85eb7b18b54255f2e5d588897adfb9f0ef2596e9c0b2fe5a
+DIST pyacoustid-1.1.5.tar.gz 11846 BLAKE2B 920894d914f5eac15bd62fab7a018937691e8eb7774fe65821bd6a8088e81dba19d178866bfd01b991750c6298714a1b51f948da987207a6adad1e0c1689afa4 SHA512 5b71446b9adbc73335b5962081e880365580b8e0aac746e8137e8819ba91d73ec41814eba13fd1b04c5bad5f2b5a3aaad57db118981ab4eac9dea12f709afe91
diff --git a/dev-python/pyacoustid/pyacoustid-1.1.5.ebuild b/dev-python/pyacoustid/pyacoustid-1.1.5.ebuild
new file mode 100644 (file)
index 0000000..413c07c
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+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"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+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
+}