1 |
commit: f97a8292e83be185dbf9d0efdda56729f23bc80f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 07:57:20 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 08:25:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97a8292 |
7 |
|
8 |
media-sound/gpodder: add 3.11.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/862480 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-sound/gpodder/Manifest | 1 + |
14 |
media-sound/gpodder/gpodder-3.11.0.ebuild | 80 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 81 insertions(+) |
16 |
|
17 |
diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest |
18 |
index de0874b81b5b..39dfc8eab3a5 100644 |
19 |
--- a/media-sound/gpodder/Manifest |
20 |
+++ b/media-sound/gpodder/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gpodder-3.10.21.tar.gz 1105520 BLAKE2B c17905951c14a718e48d1bbded3abc41d62088bb517cda053e9fa71e3a952bb97ac57077d428cd58c3a048ae0cc18ef9385af97dcf8b460f3860674ecdb85c1c SHA512 5311a92469f605e489553e91586b788a8d07812e41c20d1ad0717c09ab6db6da22c356d5c1942293d1e27e25afe24caf3c14c15720250d8f230f2d7738206fec |
23 |
+DIST gpodder-3.11.0.tar.gz 1155120 BLAKE2B b2e46a5ea5ceec7df632f888b00e9c25a0ec1c4597540228b50cb75bd4bd6acfc7566cfffe5c9d133e8ec29e1ffc2f4551e2fd289237d1b93d2e80f6b49db0c1 SHA512 90e33e04a8afcdafa0899f25714417ce61699c641ce3df93b3a3728224bdb0be5205c064e7263d1be1f4641e61932b945741e9848726b602633a94eb754fa937 |
24 |
|
25 |
diff --git a/media-sound/gpodder/gpodder-3.11.0.ebuild b/media-sound/gpodder/gpodder-3.11.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..9e17af003d11 |
28 |
--- /dev/null |
29 |
+++ b/media-sound/gpodder/gpodder-3.11.0.ebuild |
30 |
@@ -0,0 +1,80 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_SINGLE_IMPL=1 |
37 |
+DISTUTILS_USE_SETUPTOOLS=no |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+PYTHON_REQ_USE="sqlite" |
40 |
+ |
41 |
+inherit distutils-r1 optfeature xdg |
42 |
+ |
43 |
+DESCRIPTION="A free cross-platform podcast aggregator" |
44 |
+HOMEPAGE="https://gpodder.github.io/" |
45 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="amd64 x86" |
50 |
+IUSE="+dbus bluetooth mtp" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ $(python_gen_cond_dep ' |
54 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
55 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pygobject-3.22.0:3[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/podcastparser-0.6.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/mygpoclient-1.8[${PYTHON_USEDEP}] |
59 |
+ dev-python/requests[${PYTHON_USEDEP}] |
60 |
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) |
61 |
+ ') |
62 |
+ bluetooth? ( net-wireless/bluez ) |
63 |
+ mtp? ( >=media-libs/libmtp-1.0.0:= ) |
64 |
+ kernel_linux? ( sys-apps/iproute2 ) |
65 |
+" |
66 |
+BDEPEND=" |
67 |
+ dev-util/desktop-file-utils |
68 |
+ dev-util/intltool |
69 |
+ sys-apps/help2man |
70 |
+ test? ( |
71 |
+ $(python_gen_cond_dep ' |
72 |
+ dev-python/minimock[${PYTHON_USEDEP}] |
73 |
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}] |
74 |
+ ') |
75 |
+ ) |
76 |
+" |
77 |
+ |
78 |
+distutils_enable_tests pytest |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ sed -i -e 's:--cov=gpodder::' makefile || die |
84 |
+} |
85 |
+ |
86 |
+python_test() { |
87 |
+ # These are pulled out from the Makefile to give us more control |
88 |
+ # See bug #795165 |
89 |
+ # Previously, we used 'emake releasetest' in src_test |
90 |
+ LC_ALL=C epytest --ignore=tests --ignore=src/gpodder/utilwin32ctypes.py --doctest-modules src/gpodder/util.py src/gpodder/jsonconfig.py \ |
91 |
+ -p no:localserver |
92 |
+ LC_ALL=C epytest tests --ignore=src/gpodder/utilwin32ctypes.py --ignore=src/mygpoclient \ |
93 |
+ -p no:localserver |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ emake PYTHON="${EPYTHON}" DESTDIR="${D}" install |
98 |
+ |
99 |
+ distutils-r1_src_install |
100 |
+ |
101 |
+ touch "${ED}"/usr/share/gpodder/no-update-check || die |
102 |
+} |
103 |
+ |
104 |
+pkg_postinst() { |
105 |
+ xdg_pkg_postinst |
106 |
+ |
107 |
+ optfeature "track length detection for device sync (only one package is needed)" media-video/mplayer dev-python/eyeD3 |
108 |
+ optfeature "for the youtube-dl extension" net-misc/youtube-dl |
109 |
+ optfeature "iPod sync support" media-libs/libgpod |
110 |
+} |