Opened 2 years ago

Last modified 22 months ago

#66089 new update

Lua: either update to 5.4 or add a separate lua54 port (or both?)

Reported by: cooljeanius (Eric Gallager) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: harens (Haren S)
Port: lua

Description (last modified by cooljeanius (Eric Gallager))

$ port -v livecheck lua
lua seems to have been updated (port version: 5.3.5, new version: 5.4.4)
$ port search lua54
No match for lua54 found

The current version of Battle for Wesnoth (1.16) uses Lua 5.4: https://wiki.wesnoth.org/LuaAPI ...and I would like to be able to use certain lua-related tools from MacPorts to work with lua-related code from it (e.g. luacheck), except with the most recent version of Lua (by doing sudo port select --set luacheck lua54-luacheck, for instance).

Change History (4)

comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)

Description: modified (diff)

comment:2 Changed 2 years ago by harens (Haren S)

Cc: harens added

comment:3 Changed 2 years ago by harens (Haren S)

This is also required to update the lite-xl port, which requires lua 5.4.

comment:4 Changed 22 months ago by harens <12570877+harens@…>

In 556cb8fcddd7176ca4d10d654cb2ecf4bf3b5188/macports-ports (master):

lua: add lua53 and lua54 subports

This doesn’t update the main port, since it will break many dependents.

For now, this simply adds a lua54 subport. A lua53 subport is provided to migrate ports that don’t support lua54.

See: #66089

Note: See TracTickets for help on using tickets.