From a1da3fcdbb063fcdbcdcada1204a2186c01e77b6 Mon Sep 17 00:00:00 2001 From: Joe Kappus Date: Mon, 27 Feb 2023 04:11:17 -0500 Subject: [PATCH] net-nntp/sabnzbd: make test deps conditional again. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joe Kappus Closes: https://github.com/gentoo/gentoo/pull/29824 Signed-off-by: Michał Górny --- net-nntp/sabnzbd/sabnzbd-3.7.2.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-nntp/sabnzbd/sabnzbd-3.7.2.ebuild b/net-nntp/sabnzbd/sabnzbd-3.7.2.ebuild index f9a876c654e32..53c0115cfa850 100644 --- a/net-nntp/sabnzbd/sabnzbd-3.7.2.ebuild +++ b/net-nntp/sabnzbd/sabnzbd-3.7.2.ebuild @@ -42,9 +42,13 @@ DEPEND=" dev-python/portend[${PYTHON_USEDEP}] dev-python/puremagic[${PYTHON_USEDEP}] ~dev-python/sabyenc-5.4.4[${PYTHON_USEDEP}] - dev-python/tavalidate[${PYTHON_USEDEP}] - >=dev-python/tavern-2[${PYTHON_USEDEP}] ') + test? ( + $(python_gen_cond_dep ' + dev-python/tavalidate[${PYTHON_USEDEP}] + >=dev-python/tavern-2[${PYTHON_USEDEP}] + ') + ) " RDEPEND=" ${DEPEND}