x11-misc/revelation: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 20:29:19 +0000 (21:29 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:37:15 +0000 (17:37 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
x11-misc/revelation/revelation-0.4.14-r4.ebuild [moved from x11-misc/revelation/revelation-0.4.14-r3.ebuild with 72% similarity]

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 8c636fe6e57d4732783207faac30bb854d3d4062..704d9967b80e3456082f3365011cc6fdf258f5c4 100644 (file)
@@ -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}"