summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-12-07 12:26:09 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-12-07 12:28:09 -0600
commitd565d3c807ea093cc4faacd6877f4705f5df5fe9 (patch)
tree48ca7dc4b363e6ef8b89eda40e53ba250cea5a90 /dev-lang/luajit
parentdev-libs/simdjson-0.7.0-r3: avoid harmless warning (bug #758764) (diff)
downloadgentoo-d565d3c807ea093cc4faacd6877f4705f5df5fe9.tar.gz
gentoo-d565d3c807ea093cc4faacd6877f4705f5df5fe9.tar.bz2
gentoo-d565d3c807ea093cc4faacd6877f4705f5df5fe9.zip
dev-lang/luajit: move to EAPI 7
Closes: https://bugs.gentoo.org/758854 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang/luajit')
-rw-r--r--dev-lang/luajit/luajit-2.0.5-r2.ebuild8
-rw-r--r--dev-lang/luajit/luajit-2.1.0_beta3-r1.ebuild6
2 files changed, 7 insertions, 7 deletions
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}"