commit:     a5121c5d4a471acdc27f56babd07c66feaa6789d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 14:12:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:22:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5121c5d

games-strategy/gwp: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-strategy/gwp/{gwp-0.4.0-r3.ebuild => gwp-0.4.0-r4.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-strategy/gwp/gwp-0.4.0-r3.ebuild 
b/games-strategy/gwp/gwp-0.4.0-r4.ebuild
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 f9a4fa22743..86e8f30a76b 100644
--- a/games-strategy/gwp/gwp-0.4.0-r3.ebuild
+++ b/games-strategy/gwp/gwp-0.4.0-r4.ebuild
@@ -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 )"

Reply via email to