app-text/cherrytree: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:26:34 +0000 (07:26 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:15 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-text/cherrytree/cherrytree-0.37.0-r1.ebuild
app-text/cherrytree/cherrytree-0.38.9-r1.ebuild [moved from app-text/cherrytree/cherrytree-0.38.9.ebuild with 76% similarity]

index b7c0b37e37f2bdd3fc38e4ba743c92796b84644b..1e0aa58e0412cdeb2e683111bd0125f3eddbd10d 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=7
@@ -19,10 +19,12 @@ SLOT="0"
 IUSE="nls"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pyenchant[${PYTHON_USEDEP}]
-       dev-python/pygtk:2[${PYTHON_USEDEP}]
-       dev-python/pygtksourceview:2[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtksourceview:2[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 DEPEND="${RDEPEND}"
 BDEPEND="nls? ( sys-devel/gettext )"
similarity index 76%
rename from app-text/cherrytree/cherrytree-0.38.9.ebuild
rename to app-text/cherrytree/cherrytree-0.38.9-r1.ebuild
index 80af20d9208c1b1620cf2a5ccc53dfa7a4a5e564..3451ffc2b7e64128b0826d47180136b514f6ce70 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=7
@@ -19,11 +19,13 @@ SLOT="0"
 IUSE="nls"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/pyenchant[${PYTHON_USEDEP}]
-       dev-python/pygtk:2[${PYTHON_USEDEP}]
-       dev-python/pygtksourceview:2[${PYTHON_USEDEP}]
-       dev-python/lxml[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygtksourceview:2[${PYTHON_MULTI_USEDEP}]
+               dev-python/lxml[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 DEPEND="${RDEPEND}"
 BDEPEND="nls? ( sys-devel/gettext )"