commit:     a1da3fcdbb063fcdbcdcada1204a2186c01e77b6
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Mon Feb 27 09:11:17 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 12:31:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1da3fcd

net-nntp/sabnzbd: make test deps conditional again.

Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/29824
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 f9a876c654e3..53c0115cfa85 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}

Reply via email to