void-packages/srcpkgs/python-audioread/template

22 lines
638 B
Bash

# Template file for 'python-audioread'
pkgname=python-audioread
version=2.1.4
revision=1
noarch=yes
wrksrc="audioread-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python gst-python"
pycompile_module="audioread"
short_desc="Multi-library, cross-platform audio decoding in Python"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/sampsyo/audioread/"
license="MIT"
distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz"
checksum=8ffee2d2787258c214841853f600c52943baea9ad2303cb3d4b625cde4f08fff
post_install() {
sed -n '2,14p' decode.py > LICENSE
vlicense LICENSE
}