From 2d4321eae61d9148a643e78583f982763f53c27d Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 23 Sep 2023 21:02:04 -0400 Subject: [PATCH] python3-audioread: update to 3.0.1. --- srcpkgs/python3-audioread/template | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-audioread/template b/srcpkgs/python3-audioread/template index ad001c716de..6b1dabded6f 100644 --- a/srcpkgs/python3-audioread/template +++ b/srcpkgs/python3-audioread/template @@ -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 " 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" }