dev-util/diffuse: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 13:00:30 +0000 (14:00 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:21:31 +0000 (17:21 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/diffuse/diffuse-0.4.8-r1.ebuild [moved from dev-util/diffuse/diffuse-0.4.8.ebuild with 91% similarity]
dev-util/diffuse/diffuse-0.5.0_alpha7-r1.ebuild [moved from dev-util/diffuse/diffuse-0.5.0_alpha7.ebuild with 94% similarity]

similarity index 91%
rename from dev-util/diffuse/diffuse-0.4.8.ebuild
rename to dev-util/diffuse/diffuse-0.4.8-r1.ebuild
index 93a43809a4d21008580f5d586064906f01400324..5a0d5a3968a4706a316e005446dde96ab775507d 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
@@ -18,7 +18,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}"
 RDEPEND="${DEPEND}
-       dev-python/pygtk[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
+       ')"
 # file collision, bug #279018
 DEPEND="${DEPEND}
        !sci-chemistry/tinker"
similarity index 94%
rename from dev-util/diffuse/diffuse-0.5.0_alpha7.ebuild
rename to dev-util/diffuse/diffuse-0.5.0_alpha7-r1.ebuild
index a9ff6d831b6cbb53931901ce5dbb4885e0055305..1cb786be52c5357a90053e8c20224dab17bfba07 100644 (file)
@@ -18,7 +18,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="${PYTHON_DEPS}"
 RDEPEND="${DEPEND}
-       dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP},cairo]
+       ')
        x11-libs/gtk+:3[introspection]"
 # file collision, bug #279018
 DEPEND="${DEPEND}