Update to luarocks 3.11.1
Fix url to advanced readline patch.
Switch to using $version/$version.major_minor in pc files to save
on churn in future updates.
Drop the dylib patch, at the time, issue was specific to 10.6 but
was unable to recreate it using the reproducer in the ticket on
10.4 -> 10.6.
luarocks configs are versioned so there's no need to suffix with
lua version. A subdirectory called luarocks is created anyway.
Installing Lua 5.2.4 produces (quite confusingly) `liblua.5.2.3.dylib`.
This updates the inline patch to be in sync with the formula version.
Closes#42092.
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This PR ‘pythonises’ the Lua setup. There have been requests for us to
do this for a while, and it’s a good idea - It’s just taken me a while
to finish ironing out.
The individual luarocks formula dies entirely, in favour of luarocks
being vendored into the two Lua formulae in Homebrew/homebrew with
versioned trees.
This provides roughly the same experience we deliver with pip
and co from Python.
Luajit is not yet supported, because it’s being a pain, but Luajit
support will land in the semi-near future, as will support for Lua53
in Versions. All 4 installations can sit side-by-side with no non-binary
conflict. Binary conflict is handled roughly the same way Python
handles it sadly, which is regrettable but presently unavoidable.
1) Fixes the :universal build.
2) Includes the completion patch that we previously killed.
3) Includes the sigaction patch that Lua52 never carried but we carried
for Lua51, so presumably want to here as well.
4) Closes#32437Closes#32437.
Closes#32460.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Merges Lua52 into the Master branch as the new ‘Lua’ whilst
transitioning the old Lua formula to ‘Lua51’, running the two
side-by-side in a non-conflicting way.
Lua can be patched to provide better readline support.[1] On OSX the patch
will use libedit.
I am new to Lua, so I can't say how popular this patch is, but it builds
cleanly and easily with Homebrew, and I'm already finding that it makes
Lua's REPL much more friendly.
[1] See http://lua-users.org/wiki/LuaPowerPatches, under 'Advanced readline
support'.
Closes#9255.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>