app-backup/bup: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 08:52:53 +0000 (09:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 09:08:32 +0000 (10:08 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-backup/bup/bup-0.29.2.ebuild

index e42e7328e08fe9291850d3e287b78a54ccc8a8ea..e4d3a98673fa09e6398196d224538b59a7cfb5b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,12 +18,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
        app-arch/par2cmdline
-       dev-python/fuse-python[${PYTHON_USEDEP}]
-       dev-python/pylibacl[${PYTHON_USEDEP}]
-       dev-python/pyxattr[${PYTHON_USEDEP}]
-       web? ( www-servers/tornado[${PYTHON_USEDEP}] )
        sys-libs/readline:0
-       dev-vcs/git"
+       dev-vcs/git
+       $(python_gen_cond_dep '
+               dev-python/fuse-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pylibacl[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyxattr[${PYTHON_MULTI_USEDEP}]
+               web? ( www-servers/tornado[${PYTHON_MULTI_USEDEP}] )
+       ')"
 DEPEND="${RDEPEND}
        test? (
                dev-lang/perl