From 1f3c547fafb4c20f152ef86ad9155e1c5947fbe6 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sun, 21 Feb 2021 22:17:02 +0100 Subject: dev-lua/lua-cjson: add lua5-4 support Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki --- dev-lua/lua-cjson/lua-cjson-2.1.0.8-r100.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev-lua/lua-cjson') diff --git a/dev-lua/lua-cjson/lua-cjson-2.1.0.8-r100.ebuild b/dev-lua/lua-cjson/lua-cjson-2.1.0.8-r100.ebuild index c7ff3172c0be..c6ca85c83961 100644 --- a/dev-lua/lua-cjson/lua-cjson-2.1.0.8-r100.ebuild +++ b/dev-lua/lua-cjson/lua-cjson-2.1.0.8-r100.ebuild @@ -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 -- cgit v1.2.3-65-gdbad