From f07053238d4e05e4821b552f010da1437596c5ec Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 24 Feb 2022 03:39:30 +0100 Subject: [PATCH] media-sound/whipper: Treeclean --- media-sound/whipper/Manifest | 1 - .../whipper-0.7.0-cdparanoia-name-fix.patch | 51 ------------------ media-sound/whipper/metadata.xml | 11 ---- .../whipper/whipper-1.0.0_pre20200530.ebuild | 54 ------------------- profiles/package.mask | 3 -- 5 files changed, 120 deletions(-) delete mode 100644 media-sound/whipper/Manifest delete mode 100644 media-sound/whipper/files/whipper-0.7.0-cdparanoia-name-fix.patch delete mode 100644 media-sound/whipper/metadata.xml delete mode 100644 media-sound/whipper/whipper-1.0.0_pre20200530.ebuild diff --git a/media-sound/whipper/Manifest b/media-sound/whipper/Manifest deleted file mode 100644 index d76bea2..0000000 --- a/media-sound/whipper/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST whipper-1.0.0_pre20200530.tar.gz 255476 BLAKE2B 4fc0277637e440681b0932e0dc957e6b3ebbbf3b2697ed7d010ce49d094ac36fb2bcd49bef46a2c65c05f3fa419fe5d066c1fec0b9d5d15eeddda9d7652df9ec SHA512 a2b3362cd7e549990065f7db2b8ad6c7370b61ee725d4d7a5f0dd97ecc4ae06eb0ed124d6267552a2895321e16682d3d147d54180d9c9bd85512cf00dc7cad5c diff --git a/media-sound/whipper/files/whipper-0.7.0-cdparanoia-name-fix.patch b/media-sound/whipper/files/whipper-0.7.0-cdparanoia-name-fix.patch deleted file mode 100644 index fdd7b9e..0000000 --- a/media-sound/whipper/files/whipper-0.7.0-cdparanoia-name-fix.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -ur a/whipper/program/cdparanoia.py b/whipper/program/cdparanoia.py ---- a/whipper/program/cdparanoia.py 2018-04-09 10:05:00.000000000 +0200 -+++ b/whipper/program/cdparanoia.py 2018-08-03 11:59:22.582106444 +0200 -@@ -280,10 +280,10 @@ - - bufsize = 1024 - if self._overread: -- argv = ["cd-paranoia", "--stderr-progress", -+ argv = ["libcdio-paranoia", "--stderr-progress", - "--sample-offset=%d" % self._offset, "--force-overread", ] - else: -- argv = ["cd-paranoia", "--stderr-progress", -+ argv = ["libcdio-paranoia", "--stderr-progress", - "--sample-offset=%d" % self._offset, ] - if self._device: - argv.extend(["--force-cdrom-device", self._device, ]) -@@ -302,7 +302,7 @@ - except OSError, e: - import errno - if e.errno == errno.ENOENT: -- raise common.MissingDependencyException('cd-paranoia') -+ raise common.MissingDependencyException('libcdio-paranoia') - - raise - -@@ -559,8 +559,8 @@ - - - def getCdParanoiaVersion(): -- getter = common.VersionGetter('cd-paranoia', -- ["cd-paranoia", "-V"], -+ getter = common.VersionGetter('libcdio-paranoia', -+ ["libcdio-paranoia", "-V"], - _VERSION_RE, - "%(version)s %(release)s") - -@@ -585,12 +585,12 @@ - def __init__(self, device=None): - # cdparanoia -A *always* writes cdparanoia.log - self.cwd = tempfile.mkdtemp(suffix='.whipper.cache') -- self.command = ['cd-paranoia', '-A'] -+ self.command = ['libcdio-paranoia', '-A'] - if device: - self.command += ['-d', device] - - def commandMissing(self): -- raise common.MissingDependencyException('cd-paranoia') -+ raise common.MissingDependencyException('libcdio-paranoia') - - def readbyteserr(self, bytes): - self._output.append(bytes) diff --git a/media-sound/whipper/metadata.xml b/media-sound/whipper/metadata.xml deleted file mode 100644 index 2fbf159..0000000 --- a/media-sound/whipper/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - gentoo@tastytea.de - tastytea - - - Enable cover art embedding - - diff --git a/media-sound/whipper/whipper-1.0.0_pre20200530.ebuild b/media-sound/whipper/whipper-1.0.0_pre20200530.ebuild deleted file mode 100644 index 5c78c99..0000000 --- a/media-sound/whipper/whipper-1.0.0_pre20200530.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9} ) - -inherit distutils-r1 - -MY_COMMIT="0ffa34bc98e4c4f985fd6b2699809b0e7a48c023" - -DESCRIPTION="A Python CD-DA ripper preferring accuracy over speed (forked from morituri)" -HOMEPAGE="https://github.com/whipper-team/whipper" -SRC_URI="https://github.com/whipper-team/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+cover" - -DEPEND="media-libs/libsndfile:=" -RDEPEND=" - ${DEPEND} - app-cdr/cdrdao - >=dev-libs/libcdio-paranoia-0.94_p2 - >=dev-python/pycdio-2.1.0[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-musicbrainz-ngs[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - media-libs/mutagen[${PYTHON_USEDEP}] - media-sound/sox[flac] - cover? ( dev-python/pillow[jpeg,${PYTHON_USEDEP}] ) - dev-python/python-discid[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( dev-python/twisted[${PYTHON_USEDEP}] )" - -distutils_enable_tests unittest -RESTRICT="test" # FIXME: Investigate why tests fail. - -PATCHES=( "${FILESDIR}/${PN}-0.7.0-cdparanoia-name-fix.patch" ) - -S="${WORKDIR}/${PN}-${MY_COMMIT}" - -python_prepare_all() { - # accurip test totally depends on network access - rm "${PN}"/test/test_common_accurip.py || die - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - distutils-r1_python_prepare_all -} diff --git a/profiles/package.mask b/profiles/package.mask index 5a635f1..e69de29 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -1,3 +0,0 @@ -# tastytea (2021-08-28) -# Newer version in ::gentoo tree, wrong version number. Removal in 30 days. -media-sound/whipper