Skip to content

Commit 555a267

Browse files
committed
Add support for Lua 5.5.0
note: at this time, not supported by luarocks 3
1 parent 39479ed commit 555a267

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Lua and LuaJIT have some flags that add compatibility with other Lua versions. L
101101
Installing standard PUC-Rio Lua
102102
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103103

104-
Available versions: 5.1 - 5.1.5, 5.2.0 - 5.2.4, 5.3.0 - 5.3.6, 5.4.0 - 5.4.8, 5.5.0-rc4 (5.5 and 5.5.0 are aliases for 5.5.0-rc4). ``latest`` and ``^`` version aliases point to ``5.4.8``.
104+
Available versions: 5.1 - 5.1.5, 5.2.0 - 5.2.4, 5.3.0 - 5.3.6, 5.4.0 - 5.4.8, 5.5.0. ``latest`` and ``^`` version aliases point to ``5.5.0``.
105105

106106
Use ``5.1.0`` to install Lua ``5.1`` which was released without patch version for some reason.
107107

hererocks.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -913,19 +913,18 @@ class RioLua(Lua):
913913
"5.2.0", "5.2.1", "5.2.2", "5.2.3", "5.2.4",
914914
"5.3.0", "5.3.1", "5.3.2", "5.3.3", "5.3.4", "5.3.5", "5.3.6",
915915
"5.4.0", "5.4.1", "5.4.2", "5.4.3", "5.4.4", "5.4.5", "5.4.6", "5.4.7", "5.4.8",
916-
"5.5.0-rc4"
916+
"5.5.0"
917917
]
918918
translations = {
919-
"5": "5.4.8",
919+
"5": "5.5.0",
920920
"5.1": "5.1.5",
921921
"5.1.0": "5.1",
922922
"5.2": "5.2.4",
923923
"5.3": "5.3.6",
924924
"5.4": "5.4.8",
925-
"5.5": "5.5.0-rc4",
926-
"5.5.0": "5.5.0-rc4",
927-
"^": "5.4.8",
928-
"latest": "5.4.8"
925+
"5.5": "5.5.0",
926+
"^": "5.5.0",
927+
"latest": "5.5.0"
929928
}
930929
checksums = {
931930
"lua-5.1.tar.gz" : "7f5bb9061eb3b9ba1e406a5aa68001a66cb82bac95748839dc02dd10048472c1",
@@ -955,7 +954,7 @@ class RioLua(Lua):
955954
"lua-5.4.6.tar.gz" : "7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88",
956955
"lua-5.4.7.tar.gz" : "9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30",
957956
"lua-5.4.8.tar.gz" : "4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae",
958-
"lua-5.5.0-rc4.tar.gz" : "57ccc32bbbd005cab75bcc52444052535af691789dba2b9016d5c50640d68b3d",
957+
"lua-5.5.0.tar.gz" : "57ccc32bbbd005cab75bcc52444052535af691789dba2b9016d5c50640d68b3d",
959958
}
960959
all_patches = {
961960
"When loading a file, Lua may call the reader function again after it returned end of input": """
@@ -3156,8 +3155,8 @@ def main(argv=None):
31563155
parser.add_argument(
31573156
"-l", "--lua", help="Version of standard PUC-Rio Lua to install. "
31583157
"Version can be specified as a version number, e.g. 5.2 or 5.3.1. "
3159-
"Versions 5.1.0 - 5.4.8 and 5.5.0-rc4 are supported. "
3160-
"'latest' and '^' are aliases for 5.4.8. "
3158+
"Versions 5.1.0 - 5.5.0 are supported. "
3159+
"'latest' and '^' are aliases for 5.5.0. "
31613160
"If the argument contains '@', sources will be downloaded "
31623161
"from a git repo using URI before '@' and using part after '@' as git reference "
31633162
"to checkout, 'master' by default. "

0 commit comments

Comments
 (0)