mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py-pyacoustid
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="Bindings for Chromaprint acoustic fingerprinting and the Acoustid API"
|
|
url="https://github.com/sampsyo/pyacoustid"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python chromaprint py-requests py-audioread"
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="https://pypi.python.org/packages/source/p/pyacoustid/pyacoustid-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/pyacoustid-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1
|
|
}
|
|
|
|
md5sums="b27c714d530300b917eb869726334226 pyacoustid-1.1.0.tar.gz"
|
|
sha256sums="0117039cb116af245e6866e8e8bf3c9c8b2853ad087142bd0c2dfc0acc09d452 pyacoustid-1.1.0.tar.gz"
|
|
sha512sums="16b1c6cc1c27c02847b43c953e0fa9d525652b0583e321aaceb2f0c4bbea2e2f6956a6f0a95b1cd61124dc17e0751819ab223513ec22f27cf83246199ea8999d pyacoustid-1.1.0.tar.gz"
|