Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gpodder/
Date: Sun, 30 Aug 2020 09:56:05
Message-Id: 1598781312.fed9221df2b6c76fd192011ca900182d54a5c032.fordfrog@gentoo
1 commit: fed9221df2b6c76fd192011ca900182d54a5c032
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 09:55:12 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 09:55:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed9221d
7
8 media-sound/gpodder: bump to 3.10.16
9
10 1) eapi7
11 2) added py3_{8,9}
12 3) switched to xdg
13 4) dropped dev-python/isort
14
15 Closes: https://bugs.gentoo.org/727686
16 Closes: https://bugs.gentoo.org/713064
17 Package-Manager: Portage-3.0.4, Repoman-3.0.1
18 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
19
20 media-sound/gpodder/Manifest | 1 +
21 media-sound/gpodder/gpodder-3.10.16.ebuild | 63 ++++++++++++++++++++++++++++++
22 2 files changed, 64 insertions(+)
23
24 diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest
25 index 0b8299d07f9..3a24904a872 100644
26 --- a/media-sound/gpodder/Manifest
27 +++ b/media-sound/gpodder/Manifest
28 @@ -1 +1,2 @@
29 +DIST gpodder-3.10.16.tar.gz 1058386 BLAKE2B d73bc8a9d9d2cfe642a6c1e7ae3e7811e05db8c1ebf566904e669a5f9d029c6bce73599da737d25f42c4740d23537b1c414e7a23cf15076394fb714a2f33c79c SHA512 ce9525864e5a640dd82fb535021d63e1d1ddeb7785774b00c668ff86a279a45e075ab7488120ec93d1a07a0a943daa0abb786f822d74866e0fd8c6713d7f8531
30 DIST gpodder-3.10.5.tar.gz 1000492 BLAKE2B d3c1381fa613e018c79995a5b5d95958096dab49d4b4d9012e8741efe754f7f9db82e7fc46527e1fb837ce8fbfd3c14d58f8af64f96e51c5750b56402767ddca SHA512 056375d7a21f64e691bd62676d575dfaa8a32e715dc4f7ddf7b0c1cb9e99f07cef5972de812765874afd5a8e8adf220eb7b969afcc8dea1e2e3a76be8886c9cc
31
32 diff --git a/media-sound/gpodder/gpodder-3.10.16.ebuild b/media-sound/gpodder/gpodder-3.10.16.ebuild
33 new file mode 100644
34 index 00000000000..039b8dc0e28
35 --- /dev/null
36 +++ b/media-sound/gpodder/gpodder-3.10.16.ebuild
37 @@ -0,0 +1,63 @@
38 +# Copyright 1999-2020 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +PYTHON_COMPAT=( python3_{6,7,8,9} )
43 +PYTHON_REQ_USE="sqlite"
44 +DISTUTILS_SINGLE_IMPL=1
45 +
46 +inherit distutils-r1 xdg
47 +
48 +DESCRIPTION="A free cross-platform podcast aggregator"
49 +HOMEPAGE="https://gpodder.github.io/"
50 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 +
52 +LICENSE="GPL-3"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
55 +IUSE="+dbus bluetooth kernel_linux mtp test"
56 +RESTRICT="!test? ( test )"
57 +
58 +# As in Fedora: re-enable >=dev-python/eyeD3-0.7[${PYTHON_MULTI_USEDEP}] and
59 +# ipod? ( media-libs/libgpod[python,${PYTHON_MULTI_USEDEP}] ) once they
60 +# support python3
61 +COMMON_DEPEND="
62 + $(python_gen_cond_dep '
63 + dev-python/html5lib[${PYTHON_MULTI_USEDEP}]
64 + dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
65 + >=dev-python/pygobject-3.22.0:3[${PYTHON_MULTI_USEDEP}]
66 + >=dev-python/podcastparser-0.6.0[${PYTHON_MULTI_USEDEP}]
67 + >=dev-python/mygpoclient-1.8[${PYTHON_MULTI_USEDEP}]
68 + dbus? ( dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] )
69 + ')
70 + bluetooth? ( net-wireless/bluez )
71 + mtp? ( >=media-libs/libmtp-1.0.0:= )
72 +"
73 +RDEPEND="${COMMON_DEPEND}
74 + kernel_linux? ( sys-apps/iproute2 )
75 +"
76 +DEPEND="${COMMON_DEPEND}
77 + dev-util/desktop-file-utils
78 + dev-util/intltool
79 + sys-apps/help2man
80 + test? (
81 + dev-python/minimock
82 + dev-python/coverage
83 + )
84 +"
85 +
86 +src_install() {
87 + emake PYTHON=python3 DESTDIR="${D}" install
88 + distutils-r1_src_install
89 +}
90 +
91 +src_test() {
92 + emake releasetest
93 +}
94 +
95 +pkg_postinst() {
96 + elog
97 + elog "If you want to use Youtube-dl extension, you need"
98 + elog "to emerge net-misc/youtube-dl."
99 + elog
100 +}