From d565d3c807ea093cc4faacd6877f4705f5df5fe9 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 7 Dec 2020 12:26:09 -0600 Subject: dev-lang/luajit: move to EAPI 7 Closes: https://bugs.gentoo.org/758854 Signed-off-by: William Hubbs --- dev-lang/luajit/luajit-2.0.5-r2.ebuild | 8 ++++---- dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'dev-lang/luajit') diff --git a/dev-lang/luajit/luajit-2.0.5-r2.ebuild b/dev-lang/luajit/luajit-2.0.5-r2.ebuild index d9fa1d7fbc36..74a6f65701db 100644 --- a/dev-lang/luajit/luajit-2.0.5-r2.ebuild +++ b/dev-lang/luajit/luajit-2.0.5-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit pax-utils toolchain-funcs versionator +inherit pax-utils toolchain-funcs -MY_PV="$(get_version_component_range 1-3)" +MY_PV="$(ver_cut 1-3)" MY_P="LuaJIT-${MY_PV}" -if [[ -n $(get_version_component_range 4) ]]; then +if [[ -n $(ver_cut 4) ]]; then HOTFIX="v${PV}" HOTFIX="${HOTFIX/_p/_hotfix}.patch" fi diff --git a/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild b/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild index 104a81af7aae..ff9432e778cd 100644 --- a/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild +++ b/dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit pax-utils toolchain-funcs versionator +inherit pax-utils toolchain-funcs -MY_PV="$(get_version_component_range 1-4)" +MY_PV="$(ver_cut 1-4)" MY_PV="${MY_PV/_beta/-beta}" MY_P="LuaJIT-${MY_PV}" -- cgit v1.2.3-65-gdbad