media-sound/whipper: Treeclean
This commit is contained in:
parent
2edfb78464
commit
f07053238d
|
@ -1 +0,0 @@
|
||||||
DIST whipper-1.0.0_pre20200530.tar.gz 255476 BLAKE2B 4fc0277637e440681b0932e0dc957e6b3ebbbf3b2697ed7d010ce49d094ac36fb2bcd49bef46a2c65c05f3fa419fe5d066c1fec0b9d5d15eeddda9d7652df9ec SHA512 a2b3362cd7e549990065f7db2b8ad6c7370b61ee725d4d7a5f0dd97ecc4ae06eb0ed124d6267552a2895321e16682d3d147d54180d9c9bd85512cf00dc7cad5c
|
|
|
@ -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)
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>gentoo@tastytea.de</email>
|
|
||||||
<name>tastytea</name>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name="cover">Enable cover art embedding</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
|
@ -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
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
# tastytea <gentoo@tastytea> (2021-08-28)
|
|
||||||
# Newer version in ::gentoo tree, wrong version number. Removal in 30 days.
|
|
||||||
media-sound/whipper
|
|
Reference in New Issue
Block a user