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

sys-apps/tuned: Switch to PYTHON_MULTI_USEDEP API

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

 .../tuned/{tuned-2.13.0.ebuild => tuned-2.13.0-r1.ebuild}  | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.13.0.ebuild 
b/sys-apps/tuned/tuned-2.13.0-r1.ebuild
similarity index 75%
rename from sys-apps/tuned/tuned-2.13.0.ebuild
rename to sys-apps/tuned/tuned-2.13.0-r1.ebuild
index fe231367c6c..89a8dadb552 100644
--- a/sys-apps/tuned/tuned-2.13.0.ebuild
+++ b/sys-apps/tuned/tuned-2.13.0-r1.ebuild
@@ -19,12 +19,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
        ${PYTHON_DEPS}
-       dev-python/configobj[${PYTHON_USEDEP}]
-       dev-python/decorator[${PYTHON_USEDEP}]
-       dev-python/pyudev[${PYTHON_USEDEP}]
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/configobj[${PYTHON_MULTI_USEDEP}]
+               dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 RDEPEND="
        ${DEPEND}

Reply via email to