2013-08-04 00:27:31 +02:00
|
|
|
# Template file for 'python-pylastfp'
|
|
|
|
pkgname=python-pylastfp
|
|
|
|
version=0.6
|
2014-07-10 10:04:00 +02:00
|
|
|
revision=3
|
|
|
|
wrksrc="pylastfp-${version}"
|
2014-02-22 23:55:22 +01:00
|
|
|
build_style="python-module"
|
2014-07-10 10:04:00 +02:00
|
|
|
hostmakedepends="python-setuptools"
|
2014-02-23 04:33:30 +01:00
|
|
|
makedepends="python-devel libsamplerate-devel fftw-devel"
|
2014-07-10 10:04:00 +02:00
|
|
|
depends="python python-audioread"
|
|
|
|
pycompile_module="lastfp"
|
|
|
|
short_desc="Python bindings for Last.fm's acoustic fingerprinting (fplib)"
|
2014-02-22 23:55:22 +01:00
|
|
|
maintainer="Steven R <dev@styez.com>"
|
2013-08-04 00:27:31 +02:00
|
|
|
homepage="https://github.com/sampsyo/pylastfp"
|
2014-07-10 10:04:00 +02:00
|
|
|
license="LGPL-3"
|
|
|
|
distfiles="https://pypi.python.org/packages/source/p/pylastfp/pylastfp-${version}.tar.gz"
|
|
|
|
checksum="5f9a32e532ab62e5663298b4b3b1db86f5466404f111ccaa9030c23ffee140f7"
|
2014-02-22 23:55:22 +01:00
|
|
|
|
2014-07-10 10:04:00 +02:00
|
|
|
pre_build() {
|
|
|
|
mv lastmatch{.py,}
|
|
|
|
sed -i 's,lastmatch.py,lastmatch,g' lastmatch setup.py
|
|
|
|
}
|