Re: [gentoo-dev] [PATCH 1/2] eclass: Add first version of lua.eclass

2020-09-06 Thread Azamat Hackimov
Hello! Some notes from me. чт, 3 сент. 2020 г. в 16:37, Marek Szuba : > +# @ECLASS-VARIABLE: LUA > +# @DEFAULT_UNSET > +# @DESCRIPTION: > +# The absolute path to the current Lua interpreter. This variable is set > +# automatically in functions called by lua_foreach_impl(). > +# > +# Example valu

Re: [gentoo-dev] [PATCH 1/2] eclass: Add first version of lua.eclass

2020-09-04 Thread Marek Szuba
On 2020-09-03 15:37, Marek Szuba wrote: For the record, some mostly-cosmetic issues that have already been identified. Will include them in the next revision: > +if [[ ! ${_LUA_R0} ]]; then > + > +inherit multibuild toolchain-funcs > + > +BDEPEND="virtual/pkgconfig" There should be no BDEPEND in

[gentoo-dev] [PATCH 1/2] eclass: Add first version of lua.eclass

2020-09-03 Thread Marek Szuba
This eclass should be to Lua what python-r1 is to Python. Indeed, most of the plumbing has been shamelessly stolen from that eclass. What works: - support for slotted dev-lang/lua - building and installing Lua modules, for multiple Lua implementations - dependencies on other Lua modules What d