Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 1/2] lua-utils.eclass: new eclass variable _LUA_HISTORICAL_IMPLS
Date: Fri, 23 Jul 2021 23:21:25
Message-Id: 20210723232045.193479-2-marecki@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/2] Lua eclasses: prepare for dropping lua5-2 support by Marek Szuba
1 Similarly to _PYTHON_HISTORICAL_IMPLS, it will hold names of Lua
2 implementations which used to be supported but no longer are.
3
4 Signed-off-by: Marek Szuba <marecki@g.o>
5 ---
6 eclass/lua-utils.eclass | 7 +++++++
7 1 file changed, 7 insertions(+)
8
9 diff --git a/eclass/lua-utils.eclass b/eclass/lua-utils.eclass
10 index 278bbca58a3..12067928002 100644
11 --- a/eclass/lua-utils.eclass
12 +++ b/eclass/lua-utils.eclass
13 @@ -40,6 +40,13 @@ _LUA_ALL_IMPLS=(
14 )
15 readonly _LUA_ALL_IMPLS
16
17 +# @ECLASS-VARIABLE: _LUA_HISTORICAL_IMPLS
18 +# @INTERNAL
19 +# @DESCRIPTION:
20 +# All historical Lua implementations that are no longer supported.
21 +_LUA_HISTORICAL_IMPLS=()
22 +readonly _LUA_HISTORICAL_IMPLS
23 +
24 # @FUNCTION: _lua_set_impls
25 # @INTERNAL
26 # @DESCRIPTION:
27 --
28 2.31.1