diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-02-19 09:14:51 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-02-19 09:15:16 +0100 |
commit | aedd5510a1c29209b2bec6c959d6a647d5b4592c (patch) | |
tree | 97b7102286d385769c97d26786c7cf23807916bf /media-sound | |
parent | dev-ruby/fast_gettext: add 2.3.0 (diff) | |
download | gentoo-aedd5510a1c29209b2bec6c959d6a647d5b4592c.tar.gz gentoo-aedd5510a1c29209b2bec6c959d6a647d5b4592c.tar.bz2 gentoo-aedd5510a1c29209b2bec6c959d6a647d5b4592c.zip |
media-sound/gpodder: bump to 3.11.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/gpodder/Manifest | 1 | ||||
-rw-r--r-- | media-sound/gpodder/gpodder-3.11.1.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest index b1eb6ee18b13..ae9928e2e67a 100644 --- a/media-sound/gpodder/Manifest +++ b/media-sound/gpodder/Manifest @@ -1 +1,2 @@ DIST gpodder-3.11.0.tar.gz 1155120 BLAKE2B b2e46a5ea5ceec7df632f888b00e9c25a0ec1c4597540228b50cb75bd4bd6acfc7566cfffe5c9d133e8ec29e1ffc2f4551e2fd289237d1b93d2e80f6b49db0c1 SHA512 90e33e04a8afcdafa0899f25714417ce61699c641ce3df93b3a3728224bdb0be5205c064e7263d1be1f4641e61932b945741e9848726b602633a94eb754fa937 +DIST gpodder-3.11.1.tar.gz 1174163 BLAKE2B 703b545b576c8f119427e336e71e45301d4336fc82bca6ec6c4a0866591c8742866308da680564ff1543a5a65e2407295c46b3c5831d1e2d7335c5806d4cce5a SHA512 7570a4f0ac0c974fab58e30bb5bceb998cd7260ab91140a9801cf4fda1af3549ddf1ec4930081025215ecefd920a93c16252594915778e8ecb7524d3d7d3011b diff --git a/media-sound/gpodder/gpodder-3.11.1.ebuild b/media-sound/gpodder/gpodder-3.11.1.ebuild new file mode 100644 index 000000000000..d6e67e460c88 --- /dev/null +++ b/media-sound/gpodder/gpodder-3.11.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 optfeature xdg + +DESCRIPTION="A free cross-platform podcast aggregator" +HOMEPAGE="https://gpodder.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dbus bluetooth mtp" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/podcastparser[${PYTHON_USEDEP}] + dev-python/mygpoclient[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + ') + bluetooth? ( net-wireless/bluez ) + mtp? ( media-libs/libmtp:= ) + kernel_linux? ( sys-apps/iproute2 ) +" +BDEPEND=" + dev-util/desktop-file-utils + dev-util/intltool + sys-apps/help2man + test? ( + $(python_gen_cond_dep ' + dev-python/minimock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ') + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + sed -i -e 's:--cov=gpodder::' makefile || die +} + +python_test() { + # These are pulled out from the Makefile to give us more control + # See bug #795165 + # Previously, we used 'emake releasetest' in src_test + LC_ALL=C epytest --ignore=tests --ignore=src/gpodder/utilwin32ctypes.py --doctest-modules src/gpodder/util.py src/gpodder/jsonconfig.py \ + -p no:localserver + LC_ALL=C epytest tests --ignore=src/gpodder/utilwin32ctypes.py --ignore=src/mygpoclient \ + -p no:localserver +} + +src_install() { + emake PYTHON="${EPYTHON}" DESTDIR="${D}" install + + distutils-r1_src_install + + touch "${ED}"/usr/share/gpodder/no-update-check || die +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "track length detection for device sync (only one package is needed)" media-video/mplayer dev-python/eyeD3 + optfeature "for the YouTube extension" net-misc/yt-dlp + optfeature "iPod sync support" media-libs/libgpod +} |