commit:     8afcc5d490e16caf7b884ff8bd00397a926302b4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 17:31:35 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:34:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afcc5d4

net-nntp/sabnzbd: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{sabnzbd-2.3.9.ebuild => sabnzbd-2.3.9-r1.ebuild}  | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-nntp/sabnzbd/sabnzbd-2.3.9.ebuild 
b/net-nntp/sabnzbd/sabnzbd-2.3.9-r1.ebuild
similarity index 90%
rename from net-nntp/sabnzbd/sabnzbd-2.3.9.ebuild
rename to net-nntp/sabnzbd/sabnzbd-2.3.9-r1.ebuild
index 3c897b62e6e..725ecf31daf 100644
--- a/net-nntp/sabnzbd/sabnzbd-2.3.9.ebuild
+++ b/net-nntp/sabnzbd/sabnzbd-2.3.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -40,13 +40,15 @@ IUSE="+7za +rar unzip"
 RDEPEND="
        ${PYTHON_DEPS}
        >=app-arch/par2cmdline-0.4
-       >=dev-python/cheetah-2.0.1[${PYTHON_USEDEP}]
-       dev-python/configobj[${PYTHON_USEDEP}]
-       dev-python/cryptography[${PYTHON_USEDEP}]
-       dev-python/feedparser[${PYTHON_USEDEP}]
-       dev-python/gntp[${PYTHON_USEDEP}]
-       dev-python/pythonutils[${PYTHON_USEDEP}]
-       >=dev-python/sabyenc-3.3.1[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/cheetah-2.0.1[${PYTHON_MULTI_USEDEP}]
+               dev-python/configobj[${PYTHON_MULTI_USEDEP}]
+               dev-python/cryptography[${PYTHON_MULTI_USEDEP}]
+               dev-python/feedparser[${PYTHON_MULTI_USEDEP}]
+               dev-python/gntp[${PYTHON_MULTI_USEDEP}]
+               dev-python/pythonutils[${PYTHON_MULTI_USEDEP}]
+               >=dev-python/sabyenc-3.3.1[${PYTHON_MULTI_USEDEP}]
+       ')
        net-misc/wget
        7za? ( app-arch/p7zip )
        rar? ( || ( app-arch/unrar app-arch/rar ) )

Reply via email to