diff --git a/srcpkgs/python-pylastfp/template b/srcpkgs/python-pylastfp/template index b8cec87c9c..7f53b0de22 100644 --- a/srcpkgs/python-pylastfp/template +++ b/srcpkgs/python-pylastfp/template @@ -1,17 +1,21 @@ # Template file for 'python-pylastfp' pkgname=python-pylastfp version=0.6 -revision=2 -distfiles="https://pypi.python.org/packages/source/p/pylastfp/pylastfp-${version}.tar.gz" -checksum="5f9a32e532ab62e5663298b4b3b1db86f5466404f111ccaa9030c23ffee140f7" +revision=3 +wrksrc="pylastfp-${version}" build_style="python-module" -pycompile_module="pylastfp" -hostmakedepends="python-devel python-distribute" +hostmakedepends="python-setuptools" makedepends="python-devel libsamplerate-devel fftw-devel" -depends="gst-python" +depends="python python-audioread" +pycompile_module="lastfp" +short_desc="Python bindings for Last.fm's acoustic fingerprinting (fplib)" maintainer="Steven R " homepage="https://github.com/sampsyo/pylastfp" -license="GPL" -short_desc="Python interface to Last.fm's acoustic fingerprinting library (called fplib) and its related API services" +license="LGPL-3" +distfiles="https://pypi.python.org/packages/source/p/pylastfp/pylastfp-${version}.tar.gz" +checksum="5f9a32e532ab62e5663298b4b3b1db86f5466404f111ccaa9030c23ffee140f7" -wrksrc="pylastfp-${version}" +pre_build() { + mv lastmatch{.py,} + sed -i 's,lastmatch.py,lastmatch,g' lastmatch setup.py +}