22 lines
705 B
Bash
22 lines
705 B
Bash
# Template file for 'python-pylastfp'
|
|
pkgname=python-pylastfp
|
|
version=0.6
|
|
revision=4
|
|
wrksrc="pylastfp-${version}"
|
|
build_style="python-module"
|
|
hostmakedepends="python-setuptools"
|
|
makedepends="python-devel libsamplerate-devel fftw-devel"
|
|
depends="python python-audioread"
|
|
pycompile_module="lastfp"
|
|
short_desc="Python bindings for Last.fm's acoustic fingerprinting (fplib)"
|
|
maintainer="Steven R <dev@styez.com>"
|
|
homepage="https://github.com/sampsyo/pylastfp"
|
|
license="LGPL-3"
|
|
distfiles="${PYPI_SITE}/p/pylastfp/pylastfp-${version}.tar.gz"
|
|
checksum="5f9a32e532ab62e5663298b4b3b1db86f5466404f111ccaa9030c23ffee140f7"
|
|
|
|
pre_build() {
|
|
mv lastmatch{.py,}
|
|
sed -i 's,lastmatch.py,lastmatch,g' lastmatch setup.py
|
|
}
|