games-strategy/lightyears: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:12:40 +0000 (15:12 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:22:07 +0000 (17:22 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-strategy/lightyears/lightyears-1.4-r3.ebuild

index 4d4cfa964e45a2a4db5279ef23424c662ffdf7db..e0e5bb0741d9ee8a150894aa6965ff8910c123e9 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
@@ -16,7 +16,9 @@ KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/pygame[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygame[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 DEPEND="${RDEPEND}"