dev-util/xesam-tools: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:33:51 +0000 (07:33 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:24 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/xesam-tools/xesam-tools-0.7.0-r2.ebuild [moved from dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild with 76% similarity]

similarity index 76%
rename from dev-util/xesam-tools/xesam-tools-0.7.0-r1.ebuild
rename to dev-util/xesam-tools/xesam-tools-0.7.0-r2.ebuild
index a32e8c07ccd75b2180ff535506a6300cfad7d4f8..676f69b8e2bdb9133db940d7c7243233d0695467 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=5
@@ -19,9 +19,12 @@ KEYWORDS="~amd64 ~x86"
 IUSE="examples"
 
 DEPEND=""
-RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pygobject:2[${PYTHON_USEDEP}]
-       dev-python/pygtk[${PYTHON_USEDEP}]"
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 pkg_setup() {
        python-single-r1_pkg_setup