python-pylastfp: switch to setuptools; fix deps

This commit is contained in:
Alessio Sergi 2014-07-10 10:04:00 +02:00
parent 58945c1ef4
commit d96df802c1
1 changed files with 13 additions and 9 deletions

View File

@ -1,17 +1,21 @@
# Template file for 'python-pylastfp' # Template file for 'python-pylastfp'
pkgname=python-pylastfp pkgname=python-pylastfp
version=0.6 version=0.6
revision=2 revision=3
distfiles="https://pypi.python.org/packages/source/p/pylastfp/pylastfp-${version}.tar.gz" wrksrc="pylastfp-${version}"
checksum="5f9a32e532ab62e5663298b4b3b1db86f5466404f111ccaa9030c23ffee140f7"
build_style="python-module" build_style="python-module"
pycompile_module="pylastfp" hostmakedepends="python-setuptools"
hostmakedepends="python-devel python-distribute"
makedepends="python-devel libsamplerate-devel fftw-devel" 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 <dev@styez.com>" maintainer="Steven R <dev@styez.com>"
homepage="https://github.com/sampsyo/pylastfp" homepage="https://github.com/sampsyo/pylastfp"
license="GPL" license="LGPL-3"
short_desc="Python interface to Last.fm's acoustic fingerprinting library (called fplib) and its related API services" 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
}