Skip to content

Commit

Permalink
games-roguelike/stone-soup: Properly specify pyyaml dep
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Mackdanz <[email protected]>
Closes: https://bugs.gentoo.org/693012
Package-Manager: Portage-3.0.9, Repoman-3.0.2
  • Loading branch information
Erik Mackdanz committed Nov 16, 2020
1 parent e7d61f2 commit b17c24c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
10 changes: 7 additions & 3 deletions games-roguelike/stone-soup/stone-soup-0.25.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# - attempt +test, linked bug claims to be fixed

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8,9} )
VIRTUALX_REQUIRED="manual"
inherit desktop eutils xdg-utils toolchain-funcs
inherit desktop distutils-r1 eutils xdg-utils toolchain-funcs

MY_P="stone_soup-${PV}"
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
Expand Down Expand Up @@ -50,10 +52,12 @@ RDEPEND="
)"
DEPEND="${RDEPEND}
dev-lang/perl
dev-python/pyyaml
dev-python/pyyaml[${PYTHON_USEDEP}]
sys-devel/flex
tiles? (
sys-libs/ncurses:0
app-arch/advancecomp
media-gfx/pngcrush
sys-libs/ncurses:0
)
virtual/pkgconfig
virtual/yacc
Expand Down
6 changes: 4 additions & 2 deletions games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# - attempt +test, linked bug claims to be fixed

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8,9} )
VIRTUALX_REQUIRED="manual"
inherit desktop eutils xdg-utils toolchain-funcs
inherit desktop distutils-r1 eutils xdg-utils toolchain-funcs

MY_P="stone_soup-${PV}"
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
Expand Down Expand Up @@ -50,7 +52,7 @@ RDEPEND="
)"
DEPEND="${RDEPEND}
dev-lang/perl
dev-python/pyyaml
dev-python/pyyaml[${PYTHON_USEDEP}]
sys-devel/flex
tiles? (
app-arch/advancecomp
Expand Down
12 changes: 4 additions & 8 deletions games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

EAPI=7

LUA_COMPAT=( lua5-1 )
LUA_COMPAT=( lua5-{1..3} )
PYTHON_COMPAT=( python3_{6,7,8,9} )
VIRTUALX_REQUIRED="manual"
inherit desktop eutils lua-single xdg-utils toolchain-funcs
inherit desktop distutils-r1 eutils lua-single xdg-utils toolchain-funcs

MY_P="stone_soup-${PV}"
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
Expand All @@ -31,8 +32,6 @@ IUSE="debug ncurses sound test +tiles"
# see https://crawl.develz.org/mantis/view.php?id=6121
RESTRICT="test"

REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="
${LUA_DEPS}
dev-db/sqlite:3
Expand All @@ -54,11 +53,9 @@ RDEPEND="
)"
DEPEND="${RDEPEND}
dev-lang/perl
dev-python/pyyaml
dev-python/pyyaml[${PYTHON_USEDEP}]
sys-devel/flex
tiles? (
app-arch/advancecomp
media-gfx/pngcrush
sys-libs/ncurses:0
)
virtual/pkgconfig
Expand All @@ -73,7 +70,6 @@ PATCHES=(
)

pkg_setup() {
lua-single_pkg_setup

if use !ncurses && use !tiles ; then
ewarn "Neither ncurses nor tiles frontend"
Expand Down
6 changes: 4 additions & 2 deletions games-roguelike/stone-soup/stone-soup-0.25.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# - attempt +test, linked bug claims to be fixed

EAPI=7

PYTHON_COMPAT=( python3_{6,7,8,9} )
VIRTUALX_REQUIRED="manual"
inherit desktop eutils xdg-utils toolchain-funcs
inherit desktop distutils-r1 eutils xdg-utils toolchain-funcs

MY_P="stone_soup-${PV}"
DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
Expand Down Expand Up @@ -50,7 +52,7 @@ RDEPEND="
)"
DEPEND="${RDEPEND}
dev-lang/perl
dev-python/pyyaml
dev-python/pyyaml[${PYTHON_USEDEP}]
sys-devel/flex
tiles? (
sys-libs/ncurses:0
Expand Down

0 comments on commit b17c24c

Please sign in to comment.