Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/whipper/
Date: Thu, 10 Jan 2019 21:54:42
Message-Id: 1547157249.348b03bf919970a7da51e1249963c8f29ec06169.asturm@gentoo
1 commit: 348b03bf919970a7da51e1249963c8f29ec06169
2 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
3 AuthorDate: Sun Dec 16 22:45:14 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 10 21:54:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348b03bf
7
8 media-sound/whipper: bump version to 0.7.3
9
10 Bug: https://bugs.gentoo.org/673294
11 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 media-sound/whipper/Manifest | 1 +
16 media-sound/whipper/whipper-0.7.3.ebuild | 63 ++++++++++++++++++++++++++++++++
17 2 files changed, 64 insertions(+)
18
19 diff --git a/media-sound/whipper/Manifest b/media-sound/whipper/Manifest
20 index f17bc7ecf08..78e669ce51c 100644
21 --- a/media-sound/whipper/Manifest
22 +++ b/media-sound/whipper/Manifest
23 @@ -1 +1,2 @@
24 DIST whipper-0.7.0.tar.gz 160649 BLAKE2B 8e14b6dda00b3c8be7ba0fabb25d1cbca536edc785373986f857bafbc2e54d358f18b27140ffda74384c4e815e68ee466c8fc5e4e5d17aa80c8237fda389ba2b SHA512 b4bf4ca64521d8600288addecec6cbd8e43d1ff9a6b9a60872eff1bd5a2b6966af036d6467ba09273ac78aa01d8cac3be29a0e2c4e6600829b9988a74ef8cd88
25 +DIST whipper-0.7.3.tar.gz 168393 BLAKE2B b34151ede7c867dbbca34fcec3d8ef81cb50d66abc760fa54bec880f8f1186faf3e0f5298c2890501b9bd2f586b80d2cdc45a0755b6fe12fc1a2215e9ea9ecbb SHA512 ac96393471a6b4c40f5870f6e3183b65d43229314e2a1eacbf065c51ac61cbc772f2de3bde9f20ee1f7ffec427cd03c31f27df60eb6c621a699927646080c0ab
26
27 diff --git a/media-sound/whipper/whipper-0.7.3.ebuild b/media-sound/whipper/whipper-0.7.3.ebuild
28 new file mode 100644
29 index 00000000000..f7f2f40ca58
30 --- /dev/null
31 +++ b/media-sound/whipper/whipper-0.7.3.ebuild
32 @@ -0,0 +1,63 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A Python CD-DA ripper preferring accuracy over speed (forked from morituri)"
43 +HOMEPAGE="https://github.com/whipper-team/whipper"
44 +SRC_URI="https://github.com/whipper-team/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + media-libs/libsndfile
54 + test? ( dev-python/twisted[${PYTHON_USEDEP}] )
55 +"
56 +RDEPEND="
57 + app-cdr/cdrdao
58 + dev-libs/gobject-introspection[${PYTHON_USEDEP}]
59 + >=dev-libs/libcdio-paranoia-0.94_p2
60 + dev-python/pycdio[${PYTHON_USEDEP}]
61 + dev-python/pygobject:2=[${PYTHON_USEDEP}]
62 + dev-python/python-musicbrainz-ngs[${PYTHON_USEDEP}]
63 + dev-python/requests[${PYTHON_USEDEP}]
64 + dev-python/setuptools[${PYTHON_USEDEP}]
65 + media-libs/flac
66 + media-libs/libsndfile
67 + media-libs/mutagen[${PYTHON_USEDEP}]
68 + media-sound/sox[flac]
69 +"
70 +
71 +PATCHES=(
72 + "${FILESDIR}/${PN}-0.7.0-cdparanoia-name-fix.patch"
73 + "${FILESDIR}/${PN}-0.7.0-src-Makefile-respect-CFLAGS.patch"
74 +)
75 +
76 +src_prepare() {
77 + # accurip test totally depends on network access
78 + rm "${PN}"/test/test_common_accurip.py || die
79 +
80 + distutils-r1_src_prepare
81 +}
82 +
83 +src_compile() {
84 + distutils-r1_src_compile
85 + emake -C src CC="$(tc-getCC)"
86 +}
87 +
88 +python_test() {
89 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
90 +}
91 +
92 +src_install() {
93 + distutils-r1_src_install
94 + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" -C src install
95 +}