commit:     ae0dc8b65a8bad635d242ecf49976d634141662a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 20:29:19 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:37:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0dc8b6

x11-misc/revelation: Switch to PYTHON_MULTI_USEDEP API

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

 ...lation-0.4.14-r3.ebuild => revelation-0.4.14-r4.ebuild} | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/x11-misc/revelation/revelation-0.4.14-r3.ebuild 
b/x11-misc/revelation/revelation-0.4.14-r4.ebuild
similarity index 72%
rename from x11-misc/revelation/revelation-0.4.14-r3.ebuild
rename to x11-misc/revelation/revelation-0.4.14-r4.ebuild
index 8c636fe6e57..704d9967b80 100644
--- a/x11-misc/revelation/revelation-0.4.14-r3.ebuild
+++ b/x11-misc/revelation/revelation-0.4.14-r4.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
@@ -20,11 +20,13 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="test"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/pygtk[${PYTHON_USEDEP}]
-       dev-python/pycryptodome[${PYTHON_USEDEP}]
-       dev-python/gconf-python[${PYTHON_USEDEP}]
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       sys-libs/cracklib[python,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
+               dev-python/pycryptodome[${PYTHON_MULTI_USEDEP}]
+               dev-python/gconf-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               sys-libs/cracklib[python,${PYTHON_MULTI_USEDEP}]
+       ')
 "
 
 DEPEND="${RDEPEND}"

Reply via email to