python3-audioread: update to 3.0.1.

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:02:04 -04:00
parent 70f8555250
commit 2d4321eae6
1 changed files with 6 additions and 11 deletions

View File

@ -1,24 +1,19 @@
# Template file for 'python3-audioread'
pkgname=python3-audioread
version=2.1.9
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
version=3.0.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
depends="python3"
checkdepends="python3-pytest-xdist ffmpeg"
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=a3480e42056c8e80a8192a54f6729a280ef66d27782ee11cbd63e9d4d1523089
post_patch() {
# Build doesn't actually require pytest-runner and Void doesn't offer it
vsed -e '/pytest-runner/d' -i setup.py
}
checksum=ac5460a5498c48bdf2e8e767402583a4dcd13f4414d286f42ce4379e8b35066d
post_install() {
sed -n '2,13p' decode.py > LICENSE
vlicense LICENSE
vdoc "${FILESDIR}/README.voidlinux"
}