From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 41E8C158089 for ; Thu, 9 Nov 2023 03:11:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB9442BC033; Thu, 9 Nov 2023 03:11:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C02412BC033 for ; Thu, 9 Nov 2023 03:11:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96D26335D79 for ; Thu, 9 Nov 2023 03:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E01C4134C for ; Thu, 9 Nov 2023 03:11:32 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1699370014.0a167c4551f527625f3073370a51cdf3dede5184.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/yewtube/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/yewtube/yewtube-2.10.5.ebuild media-sound/yewtube/yewtube-9999.ebuild X-VCS-Directories: media-sound/yewtube/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 0a167c4551f527625f3073370a51cdf3dede5184 X-VCS-Branch: master Date: Thu, 9 Nov 2023 03:11:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97390a17-ab87-4d17-8a74-476b5e97d5dc X-Archives-Hash: 4368021ae6435f76f5e76259d9d5855c commit: 0a167c4551f527625f3073370a51cdf3dede5184 Author: Gonçalo Duarte gmail com> AuthorDate: Tue Nov 7 15:04:25 2023 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Tue Nov 7 15:13:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a167c45 media-sound/yewtube: add dbus-python to test dependencies Closes: https://bugs.gentoo.org/916984 Signed-off-by: Gonçalo Duarte gmail.com> media-sound/yewtube/yewtube-2.10.5.ebuild | 20 ++++++++++++++------ media-sound/yewtube/yewtube-9999.ebuild | 20 ++++++++++++++------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/media-sound/yewtube/yewtube-2.10.5.ebuild b/media-sound/yewtube/yewtube-2.10.5.ebuild index 12dfdd453a..22f0815734 100644 --- a/media-sound/yewtube/yewtube-2.10.5.ebuild +++ b/media-sound/yewtube/yewtube-2.10.5.ebuild @@ -14,21 +14,29 @@ else KEYWORDS="~amd64" fi +IUSE="test" +RESTRICT="!test? ( test )" + DESCRIPTION="Terminal-based YouTube player and downloader" HOMEPAGE="https://github.com/mps-youtube/yewtube https://pypi.org/project/yewtube/" LICENSE="GPL-3" SLOT="0" -RDEPEND="${DEPEND} +RDEPEND=" media-video/ffmpeg - dev-python/requests - dev-python/pyperclip + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] net-misc/yt-dlp dev-python/youtube-search-python - dev-python/pylast - dev-python/pip - || ( media-video/mplayer media-video/mpv )" + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + || ( media-video/mplayer media-video/mpv ) +" + +DEPEND=" + test? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) +" distutils_enable_tests pytest diff --git a/media-sound/yewtube/yewtube-9999.ebuild b/media-sound/yewtube/yewtube-9999.ebuild index 12dfdd453a..22f0815734 100644 --- a/media-sound/yewtube/yewtube-9999.ebuild +++ b/media-sound/yewtube/yewtube-9999.ebuild @@ -14,21 +14,29 @@ else KEYWORDS="~amd64" fi +IUSE="test" +RESTRICT="!test? ( test )" + DESCRIPTION="Terminal-based YouTube player and downloader" HOMEPAGE="https://github.com/mps-youtube/yewtube https://pypi.org/project/yewtube/" LICENSE="GPL-3" SLOT="0" -RDEPEND="${DEPEND} +RDEPEND=" media-video/ffmpeg - dev-python/requests - dev-python/pyperclip + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] net-misc/yt-dlp dev-python/youtube-search-python - dev-python/pylast - dev-python/pip - || ( media-video/mplayer media-video/mpv )" + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + || ( media-video/mplayer media-video/mpv ) +" + +DEPEND=" + test? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) +" distutils_enable_tests pytest