games-simulation/singularity: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:10:45 +0000 (15:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:22:02 +0000 (17:22 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
games-simulation/singularity/singularity-1.0_alpha1-r1.ebuild [moved from games-simulation/singularity/singularity-1.0_alpha1.ebuild with 84% similarity]

similarity index 84%
rename from games-simulation/singularity/singularity-1.0_alpha1.ebuild
rename to games-simulation/singularity/singularity-1.0_alpha1-r1.ebuild
index d54f147ac48deca686c4e5869f431bbf01e63d32..644b755a6c2986d68545d4adba90e1cd6b6799cb 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
@@ -18,9 +18,11 @@ KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/pygame[${PYTHON_USEDEP}]
-       dev-python/polib[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygame[${PYTHON_MULTI_USEDEP}]
+               dev-python/polib[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 DEPEND="${RDEPEND}"
 BDEPEND="app-arch/unzip"