sys-fs/traydevice: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:58:42 +0000 (07:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:50 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-fs/traydevice/traydevice-1.6.2-r2.ebuild [moved from sys-fs/traydevice/traydevice-1.6.2-r1.ebuild with 77% similarity]

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 da259161112dbc5a427a38689fe29227e9a93e03..43f07a7fa705822cb571a5f57e399d0add2eccc5 100644 (file)
@@ -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"