summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-08 07:37:14 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:46:29 +0100
commitf792c4a4d791f09ed7f5372053067641d39578a8 (patch)
treea40b00eb5cafc8106bcbc7db44d0d0a48ba3abae /games-board/pysolfc
parentdev-vcs/svnmailer: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-f792c4a4d791f09ed7f5372053067641d39578a8.tar.gz
gentoo-f792c4a4d791f09ed7f5372053067641d39578a8.tar.bz2
gentoo-f792c4a4d791f09ed7f5372053067641d39578a8.zip
games-board/pysolfc: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-board/pysolfc')
-rw-r--r--games-board/pysolfc/pysolfc-2.6.4-r1.ebuild (renamed from games-board/pysolfc/pysolfc-2.6.4.ebuild)20
1 files changed, 11 insertions, 9 deletions
diff --git a/games-board/pysolfc/pysolfc-2.6.4.ebuild b/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