dev-lua/lua-cjson: add lua5-4 support

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2021-02-21 22:21:25 +01:00
parent 9278d6637d
commit 1f3c547faf
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LUA_COMPAT=( lua5-{1..3} luajit )
LUA_COMPAT=( lua5-{1..4} luajit )
inherit lua toolchain-funcs
@@ -61,7 +61,7 @@ src_compile() {
}
lua_src_test() {
if ! [[ ${ELUA} == "lua5.3" ]]; then
if ! [[ ${ELUA} == "lua5.3" || ${ELUA} == "lua5.4" ]]; then
pushd "${BUILD_DIR}" || die
cd tests || die