From ffde8f876b6636bc6810d449dec16d809963b8df Mon Sep 17 00:00:00 2001 From: Quentin Retornaz Date: Tue, 13 Nov 2018 03:49:51 +0100 Subject: media-sound/whipper: remove dev-libs/gobject-introspection dependency Signed-off-by: Quentin Retornaz Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10406 Signed-off-by: Andreas Sturmlechner --- media-sound/whipper/whipper-0.7.0-r1.ebuild | 63 ++++++++++++++++++++++++++++ media-sound/whipper/whipper-0.7.0.ebuild | 64 ----------------------------- 2 files changed, 63 insertions(+), 64 deletions(-) create mode 100644 media-sound/whipper/whipper-0.7.0-r1.ebuild delete mode 100644 media-sound/whipper/whipper-0.7.0.ebuild (limited to 'media-sound') diff --git a/media-sound/whipper/whipper-0.7.0-r1.ebuild b/media-sound/whipper/whipper-0.7.0-r1.ebuild new file mode 100644 index 000000000000..2aace1ef8765 --- /dev/null +++ b/media-sound/whipper/whipper-0.7.0-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +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" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/libsndfile + test? ( dev-python/twisted[${PYTHON_USEDEP}] ) +" +RDEPEND=" + app-cdr/cdrdao + >=dev-libs/libcdio-paranoia-0.94_p2 + dev-python/cddb-py[${PYTHON_USEDEP}] + dev-python/pycdio[${PYTHON_USEDEP}] + dev-python/pygobject:2=[${PYTHON_USEDEP}] + dev-python/python-musicbrainz-ngs[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/flac + media-libs/libsndfile + media-libs/mutagen[${PYTHON_USEDEP}] + media-sound/sox[flac] +" + +PATCHES=( + "${FILESDIR}/${P}-cdparanoia-name-fix.patch" + "${FILESDIR}/${P}-src-Makefile-respect-CFLAGS.patch" +) + +src_prepare() { + # accurip test totally depends on network access + rm "${PN}"/test/test_common_accurip.py || die + + distutils-r1_src_prepare +} + +src_compile() { + distutils-r1_src_compile + emake -C src CC="$(tc-getCC)" +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" -C src install +} diff --git a/media-sound/whipper/whipper-0.7.0.ebuild b/media-sound/whipper/whipper-0.7.0.ebuild deleted file mode 100644 index 0806473cc347..000000000000 --- a/media-sound/whipper/whipper-0.7.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -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" -IUSE="test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - media-libs/libsndfile - test? ( dev-python/twisted[${PYTHON_USEDEP}] ) -" -RDEPEND=" - app-cdr/cdrdao - dev-libs/gobject-introspection[${PYTHON_USEDEP}] - >=dev-libs/libcdio-paranoia-0.94_p2 - dev-python/cddb-py[${PYTHON_USEDEP}] - dev-python/pycdio[${PYTHON_USEDEP}] - dev-python/pygobject:2=[${PYTHON_USEDEP}] - dev-python/python-musicbrainz-ngs[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - media-libs/flac - media-libs/libsndfile - media-libs/mutagen[${PYTHON_USEDEP}] - media-sound/sox[flac] -" - -PATCHES=( - "${FILESDIR}/${P}-cdparanoia-name-fix.patch" - "${FILESDIR}/${P}-src-Makefile-respect-CFLAGS.patch" -) - -src_prepare() { - # accurip test totally depends on network access - rm "${PN}"/test/test_common_accurip.py || die - - distutils-r1_src_prepare -} - -src_compile() { - distutils-r1_src_compile - emake -C src CC="$(tc-getCC)" -} - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_install() { - distutils-r1_src_install - emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" -C src install -} -- cgit v1.2.3-65-gdbad