summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 15:12:26 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:22:05 +0100
commita5121c5d4a471acdc27f56babd07c66feaa6789d (patch)
tree828381bb3cacdd28c7916b6c48166d02f25051c9 /games-strategy
parentgames-strategy/freeorion: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-a5121c5d4a471acdc27f56babd07c66feaa6789d.tar.gz
gentoo-a5121c5d4a471acdc27f56babd07c66feaa6789d.tar.bz2
gentoo-a5121c5d4a471acdc27f56babd07c66feaa6789d.zip
games-strategy/gwp: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/gwp/gwp-0.4.0-r4.ebuild (renamed from games-strategy/gwp/gwp-0.4.0-r3.ebuild)7
1 files 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
index f9a4fa227439..86e8f30a76bb 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 )"