From f792c4a4d791f09ed7f5372053067641d39578a8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:37:14 +0100 Subject: [PATCH] games-board/pysolfc: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...c-2.6.4.ebuild => pysolfc-2.6.4-r1.ebuild} | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) rename games-board/pysolfc/{pysolfc-2.6.4.ebuild => pysolfc-2.6.4-r1.ebuild} (87%) diff --git a/games-board/pysolfc/pysolfc-2.6.4.ebuild b/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild similarity index 87% rename from games-board/pysolfc/pysolfc-2.6.4.ebuild rename to games-board/pysolfc/pysolfc-2.6.4-r1.ebuild index 1eb2a374992b..1ecc1b59d1e2 100644 --- a/games-board/pysolfc/pysolfc-2.6.4.ebuild +++ b/games-board/pysolfc/pysolfc-2.6.4-r1.ebuild @@ -29,15 +29,17 @@ IUSE="extra-cardsets minimal +sound" S="${WORKDIR}/${MY_PN}-${P}" RDEPEND=" - dev-python/random2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - !minimal? ( - dev-python/pillow[tk,${PYTHON_USEDEP}] - dev-tcltk/tktable - ) - sound? ( - dev-python/pygame[${PYTHON_USEDEP}] - )" + $(python_gen_cond_dep ' + dev-python/random2[${PYTHON_MULTI_USEDEP}] + dev-python/six[${PYTHON_MULTI_USEDEP}] + !minimal? ( + dev-python/pillow[tk,${PYTHON_MULTI_USEDEP}] + dev-tcltk/tktable + ) + sound? ( + dev-python/pygame[${PYTHON_MULTI_USEDEP}] + ) + ')" PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" #591904 -- 2.26.2