commit: 58d8e82c970b771a90c8ced0660026da551de494 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Tue Mar 30 11:53:27 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Mar 30 11:53:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d8e82c
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 <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> games-strategy/naev/naev-0.8.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/games-strategy/naev/naev-0.8.2.ebuild b/games-strategy/naev/naev-0.8.2.ebuild index ee450e92050..22f730350b0 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