Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gpodder/
Date: Thu, 10 Jun 2021 03:55:00
Message-Id: 1623297286.c1036ae01b7030aab9b577e7bd14b607ea4420ac.sam@gentoo
1 commit: c1036ae01b7030aab9b577e7bd14b607ea4420ac
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 03:50:58 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 03:54:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1036ae0
7
8 media-sound/gpodder: add 3.10.20
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-sound/gpodder/Manifest | 1 +
13 media-sound/gpodder/gpodder-3.10.20.ebuild | 71 ++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest
17 index 78ef06e18e8..050a5c1c75f 100644
18 --- a/media-sound/gpodder/Manifest
19 +++ b/media-sound/gpodder/Manifest
20 @@ -1 +1,2 @@
21 DIST gpodder-3.10.16.tar.gz 1058386 BLAKE2B d73bc8a9d9d2cfe642a6c1e7ae3e7811e05db8c1ebf566904e669a5f9d029c6bce73599da737d25f42c4740d23537b1c414e7a23cf15076394fb714a2f33c79c SHA512 ce9525864e5a640dd82fb535021d63e1d1ddeb7785774b00c668ff86a279a45e075ab7488120ec93d1a07a0a943daa0abb786f822d74866e0fd8c6713d7f8531
22 +DIST gpodder-3.10.20.tar.gz 1081171 BLAKE2B b2a07a3d5ce02cc46d7dd5999287b6e0bb96149f2fbf613b0d70b8d3b04d4cd29dcd1b78b4584709d1613c9a5478d39c3cb9be35a274358d56aa593f0196e6b2 SHA512 93cae9cc6d7f3a7754e24f7e962d195788f5f344992a4a3f3be9fd9acf419728b94ce009e1a2e14faa64803ebba098e8199a8d43ed33f5f3e02eabde1fe5c3be
23
24 diff --git a/media-sound/gpodder/gpodder-3.10.20.ebuild b/media-sound/gpodder/gpodder-3.10.20.ebuild
25 new file mode 100644
26 index 00000000000..3be14aeb7ee
27 --- /dev/null
28 +++ b/media-sound/gpodder/gpodder-3.10.20.ebuild
29 @@ -0,0 +1,71 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7,8,9} )
36 +PYTHON_REQ_USE="sqlite"
37 +DISTUTILS_SINGLE_IMPL=1
38 +DISTUTILS_USE_SETUPTOOLS=no
39 +
40 +inherit distutils-r1 optfeature xdg
41 +
42 +DESCRIPTION="A free cross-platform podcast aggregator"
43 +HOMEPAGE="https://gpodder.github.io/"
44 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
49 +IUSE="+dbus bluetooth kernel_linux mtp test"
50 +RESTRICT="!test? ( test )"
51 +
52 +# As in Fedora: re-enable >=dev-python/eyeD3-0.7[${PYTHON_USEDEP}] and
53 +# ipod? ( media-libs/libgpod[python,${PYTHON_USEDEP}] ) once they
54 +# support python3
55 +COMMON_DEPEND="
56 + $(python_gen_cond_dep '
57 + dev-python/html5lib[${PYTHON_USEDEP}]
58 + dev-python/pycairo[${PYTHON_USEDEP}]
59 + >=dev-python/pygobject-3.22.0:3[${PYTHON_USEDEP}]
60 + >=dev-python/podcastparser-0.6.0[${PYTHON_USEDEP}]
61 + >=dev-python/mygpoclient-1.8[${PYTHON_USEDEP}]
62 + dev-python/requests[${PYTHON_USEDEP}]
63 + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
64 + ')
65 + bluetooth? ( net-wireless/bluez )
66 + mtp? ( >=media-libs/libmtp-1.0.0:= )
67 +"
68 +RDEPEND="${COMMON_DEPEND}
69 + kernel_linux? ( sys-apps/iproute2 )
70 +"
71 +DEPEND="${COMMON_DEPEND}
72 + dev-util/desktop-file-utils
73 + dev-util/intltool
74 + sys-apps/help2man
75 + test? (
76 + dev-python/minimock
77 + dev-python/pytest-localserver
78 + )
79 +"
80 +
81 +src_prepare() {
82 + default
83 +
84 + sed -i -e 's:--cov=gpodder::' makefile || die
85 +}
86 +
87 +src_test() {
88 + emake releasetest
89 +}
90 +
91 +src_install() {
92 + emake PYTHON=${EPYTHON} DESTDIR="${D}" install
93 + distutils-r1_src_install
94 +}
95 +
96 +pkg_postinst() {
97 + xdg_pkg_postinst
98 +
99 + optfeature "for the youtube-dl extension" net-misc/youtube-dl
100 +}