From 6f6fba9a3a82018030449d814630c4bac2a305d3 Mon Sep 17 00:00:00 2001 From: UsernameRandomlyGenerated Date: Thu, 22 Jul 2021 17:17:11 +0200 Subject: [PATCH] whipper: update to 0.10.0. --- .../patches/fix-failed-task-analyzetask.patch | 24 ------------------- srcpkgs/whipper/template | 13 ++++------ 2 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/whipper/patches/fix-failed-task-analyzetask.patch diff --git a/srcpkgs/whipper/patches/fix-failed-task-analyzetask.patch b/srcpkgs/whipper/patches/fix-failed-task-analyzetask.patch deleted file mode 100644 index 361af61042a3..000000000000 --- a/srcpkgs/whipper/patches/fix-failed-task-analyzetask.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 305678ec85568e9fdbc888078c11a1f7d4bc0100 Mon Sep 17 00:00:00 2001 -From: Merlijn Wajer -Date: Sat, 14 Dec 2019 18:16:30 +0800 -Subject: [PATCH] program/cdparanoia: fix failed() task of AnalyzeTask - ---- - whipper/program/cdparanoia.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/whipper/program/cdparanoia.py b/whipper/program/cdparanoia.py -index 636e6f5..f071674 100644 ---- a/whipper/program/cdparanoia.py -+++ b/whipper/program/cdparanoia.py -@@ -603,7 +603,7 @@ class AnalyzeTask(ctask.PopenTask): - def failed(self): - # cdparanoia exits with return code 1 if it can't determine - # whether it can defeat the audio cache -- output = "".join(self._output) -+ output = "".join(o.decode() for o in self._output) - m = _WARNING_RE.search(output) - if m or _ABORTING_RE.search(output): - self.defeatsCache = False --- -2.17.1 diff --git a/srcpkgs/whipper/template b/srcpkgs/whipper/template index f25ab359c284..00bca3fea9bf 100644 --- a/srcpkgs/whipper/template +++ b/srcpkgs/whipper/template @@ -1,22 +1,17 @@ # Template file for 'whipper' pkgname=whipper -version=0.9.0 -revision=3 +version=0.10.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools_scm" makedepends="libsndfile-devel python3-devel" depends="libcdio-paranoia cdrdao python3-gobject python3-musicbrainzngs python3-mutagen python3-requests python3-pycdio python3-discid python3-ruamel.yaml flac sox" +checkdepends="$depends python3-pytest python3-Twisted" short_desc="Python CD-DA ripper preferring accuracy over speed" maintainer="Stefano Ragni " license="GPL-3.0-or-later" homepage="https://github.com/whipper-team/whipper" distfiles="https://github.com/whipper-team/whipper/archive/v${version}.tar.gz" -checksum=3caceeec7ca73c8b73147884b0f8eeacbe66af52900021b564118b88d23afbd2 - - -pre_build() { -# Temporary workaround for https://github.com/whipper-team/whipper/issues/428 - echo "Version: ${version}" > PKG-INFO -} +checksum=a6fba11f4460854267c610f066c185e859d7177699b50ef584fc4f705962d356