25 lines
724 B
Bash
25 lines
724 B
Bash
# Template file for 'python3-audioread'
|
|
pkgname=python3-audioread
|
|
version=2.1.8
|
|
revision=6
|
|
wrksrc="audioread-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Multi-library, cross-platform audio decoding (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/sampsyo/audioread/"
|
|
distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz"
|
|
checksum=073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168
|
|
|
|
post_patch() {
|
|
# Build doesn't actually require pytest-runner and Void doesn't offer it
|
|
vsed -e '/pytest-runner/d' -i setup.py
|
|
}
|
|
|
|
post_install() {
|
|
sed -n '2,13p' decode.py > LICENSE
|
|
vlicense LICENSE
|
|
}
|