commit:     4f696c6bdc8770d5238f75a360d658cc912eb030
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 06:58:42 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:46:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f696c6b

sys-fs/traydevice: Switch to PYTHON_MULTI_USEDEP API

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

 ...{traydevice-1.6.2-r1.ebuild => traydevice-1.6.2-r2.ebuild} | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-fs/traydevice/traydevice-1.6.2-r1.ebuild 
b/sys-fs/traydevice/traydevice-1.6.2-r2.ebuild
similarity index 77%
rename from sys-fs/traydevice/traydevice-1.6.2-r1.ebuild
rename to sys-fs/traydevice/traydevice-1.6.2-r2.ebuild
index da259161112..43f07a7fa70 100644
--- a/sys-fs/traydevice/traydevice-1.6.2-r1.ebuild
+++ b/sys-fs/traydevice/traydevice-1.6.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,9 +15,12 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/lxml[${PYTHON_USEDEP}]
-       dev-python/pyxdg[${PYTHON_USEDEP}]
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/lxml[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyxdg[${PYTHON_MULTI_USEDEP}]
+       ')
        sys-fs/udisks:2"
 DEPEND="app-text/docbook2X"
 

Reply via email to