diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 11:42:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-01 11:42:50 +0100 |
commit | b447ac3a6d1bb09ddb6a5686620670e223b37642 (patch) | |
tree | 4d6d1ca6d418b0dc7c50e0e94cef5038f5fb2483 /media-sound/gpodder | |
parent | 9a92076d428b51966bd8d699427341e5500b3a8a (diff) |
gentoo auto-resync : 01:10:2023 - 11:42:49
Diffstat (limited to 'media-sound/gpodder')
-rw-r--r-- | media-sound/gpodder/Manifest | 2 | ||||
-rw-r--r-- | media-sound/gpodder/gpodder-3.11.3.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-sound/gpodder/Manifest b/media-sound/gpodder/Manifest index 9843970f3593..3f16863d4bbe 100644 --- a/media-sound/gpodder/Manifest +++ b/media-sound/gpodder/Manifest @@ -1,3 +1,5 @@ DIST gpodder-3.11.2.tar.gz 1177302 BLAKE2B de66191dd50f5041b10f52c18be31e059f6547c12f7e81f036939b3fdf1a9de5e18d6a25dac9db9487e3efa907c9967e220f41386929b9053fe1e5670b6babe7 SHA512 367c1e0eba7a5973b681e7b91463624b4e9ef2ad75ce1697f5d2e5937958c417bc3e6b1b34a54344f66ebb047479ab16a35dd913e54050f71ac54af05e62b30a +DIST gpodder-3.11.3.tar.gz 1183434 BLAKE2B 553642b17beaadc686c2a2b01971436ca44e84029269f776423905bbac1c2448878d4fb8f3d9f8a1776da5c0417b5df425a884bb2b4d2a80c19e952ceb922a92 SHA512 643097fe209cc69a7674fd265a64099c9b34cc9b2dcee4cc09004113559334822db1dea5359f302956e15b74d3f9c5e1ce8727b89e02f067e7ee6b8261c53ca6 EBUILD gpodder-3.11.2.ebuild 2119 BLAKE2B e383de02cb4211b2b0ae1c6ba6365dc634a255082f69e703cda33fc9a3799ecbbc75ca8a65c6a6c01a32345ce7a358b0bf4269d24a38b397a6c5e6538d8a0bf3 SHA512 e1c488309668e0fd14bcc9dce93d5c950e940b5db442e6b1d2dc1fe13fdd00934d49b7c1204f46f072b8fe9bdf18324757815972978feee279b2e30a4a362dff +EBUILD gpodder-3.11.3.ebuild 2121 BLAKE2B d4e7319b707acc6660d181a87ecc01c77a36cdab2857eb2f653cc30e99109ab8f7d516f52607d85e8b52b0c75f1d6bd313e2904dfcf881295f569b89e3ac685d SHA512 8eebc09d6d853dc46b78ef96bc5849e796ba190a09fcac36c4ed98d142421760f0c82a9ec9d6e2af3896f869f014d2dfa064835a67ad6e32f214c8f24823a6fc MISC metadata.xml 358 BLAKE2B 272a71d2d7d519dca74a2d1dbbd25d0c48b55b265eca16962967f57dc29edfeca9d454100a84a7dd505f5bab7778778ff45b89f2ddaca152b562733e8c0dcce8 SHA512 31b12848c3f24a103f2bfa39bec4b2c4e3251ed70de194d569acfbe2b7df3f8ea28dd5ba274b4add0fbc1b55d998cf13f5b8f7bf89bb4a95fd1e60e988bce6f6 diff --git a/media-sound/gpodder/gpodder-3.11.3.ebuild b/media-sound/gpodder/gpodder-3.11.3.ebuild new file mode 100644 index 000000000000..d6e67e460c88 --- /dev/null +++ b/media-sound/gpodder/gpodder-3.11.3.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 +} |