diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-03-30 13:53:27 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-30 13:53:27 +0200 |
commit | 58d8e82c970b771a90c8ced0660026da551de494 (patch) | |
tree | 364e0025577d65b227b1b6d12be0433a709b4c86 /games-strategy | |
parent | sys-apps/sg3_utils: Fixed tarball checksum (diff) | |
download | gentoo-58d8e82c970b771a90c8ced0660026da551de494.tar.gz gentoo-58d8e82c970b771a90c8ced0660026da551de494.tar.bz2 gentoo-58d8e82c970b771a90c8ced0660026da551de494.zip |
games-strategy/naev: inherit python-any-r1.eclass
Closes: https://github.com/gentoo/gentoo/pull/20198
Closes: https://bugs.gentoo.org/771114
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/naev/naev-0.8.2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games-strategy/naev/naev-0.8.2.ebuild b/games-strategy/naev/naev-0.8.2.ebuild index ee450e92050f..22f730350b05 100644 --- a/games-strategy/naev/naev-0.8.2.ebuild +++ b/games-strategy/naev/naev-0.8.2.ebuild @@ -4,7 +4,8 @@ EAPI=7 LUA_COMPAT=( lua5-1 luajit ) -inherit lua-single meson virtualx xdg +PYTHON_COMPAT=( python3_{7..9} ) +inherit lua-single meson python-any-r1 virtualx xdg DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity" HOMEPAGE="https://naev.org/ https://github.com/naev/naev" @@ -34,12 +35,18 @@ RDEPEND=" )" DEPEND="${RDEPEND}" BDEPEND=" + ${PYTHON_DEPS} doc? ( app-doc/doxygen dev-lua/ldoc ) nls? ( sys-devel/gettext )" +pkg_setup() { + lua-single_pkg_setup + python-any-r1_pkg_setup +} + src_prepare() { default sed -i -e "s:lua51:lua5.1:g" meson.build || die |