diff options
author | Quentin Retornaz <gentoo@retornaz.com> | 2024-06-09 02:38:26 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-07-13 10:34:49 +0300 |
commit | eb86a9e0ceadb3f707e2a95b8adc76bfb9ca9f0d (patch) | |
tree | 76a0934d88b9156b18e155aa5113afc10144b928 /media-sound/whipper | |
parent | sys-apps/usermode-utilities: style change, newline after EAPI in -r6 (diff) | |
download | gentoo-eb86a9e0ceadb3f707e2a95b8adc76bfb9ca9f0d.tar.gz gentoo-eb86a9e0ceadb3f707e2a95b8adc76bfb9ca9f0d.tar.bz2 gentoo-eb86a9e0ceadb3f707e2a95b8adc76bfb9ca9f0d.zip |
media-sound/whipper: fix DEPEND="media-libs/libsndfile[-minimal]"
Closes: https://bugs.gentoo.org/933747
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound/whipper')
-rw-r--r-- | media-sound/whipper/whipper-0.10.0-r3.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/whipper/whipper-0.10.0-r3.ebuild b/media-sound/whipper/whipper-0.10.0-r3.ebuild new file mode 100644 index 000000000000..e54f41695dc6 --- /dev/null +++ b/media-sound/whipper/whipper-0.10.0-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +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/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/libsndfile:=[-minimal] +" +RDEPEND=" + ${DEPEND} + app-cdr/cdrdao + >=dev-libs/libcdio-paranoia-0.94_p2 + dev-python/musicbrainzngs[${PYTHON_USEDEP}] + >=dev-python/pycdio-2.1.0[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/discid[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + media-sound/sox[flac] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +PATCHES=( + "${FILESDIR}/${PN}-0.7.0-cdparanoia-name-fix.patch" + "${FILESDIR}/${PN}-0.10.0-ruamel-yaml.patch" +) + +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 +} |