games-strategy/gwp: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:12:26 +0000 (15:12 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:22:05 +0000 (17:22 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-strategy/gwp/gwp-0.4.0-r4.ebuild [moved from games-strategy/gwp/gwp-0.4.0-r3.ebuild with 91% similarity]

similarity index 91%
rename from games-strategy/gwp/gwp-0.4.0-r3.ebuild
rename to games-strategy/gwp/gwp-0.4.0-r4.ebuild
index f9a4fa2274392f2611090bdc643ddf0a94e9a8fa..86e8f30a76bb1b86f16ad952801b845514dced15 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
@@ -25,7 +25,10 @@ RDEPEND="x11-libs/gtk+:2
        nls? ( virtual/libintl )
        opengl? ( x11-libs/gtkglext )
        python? ( ${PYTHON_DEPS}
-               dev-python/pygtk[${PYTHON_USEDEP}] )"
+               $(python_gen_cond_dep '
+                       dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
+               ')
+       )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
        nls? ( sys-devel/gettext )"