Skip to content

Commit d173a0b

Browse files
committed
Add support for Lua 5.3.4
1 parent 3ca0d2e commit d173a0b

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

hererocks.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,16 +847,16 @@ class RioLua(Lua):
847847
versions = [
848848
"5.1", "5.1.1", "5.1.2", "5.1.3", "5.1.4", "5.1.5",
849849
"5.2.0", "5.2.1", "5.2.2", "5.2.3", "5.2.4",
850-
"5.3.0", "5.3.1", "5.3.2", "5.3.3"
850+
"5.3.0", "5.3.1", "5.3.2", "5.3.3", "5.3.4"
851851
]
852852
translations = {
853-
"5": "5.3.3",
853+
"5": "5.3.4",
854854
"5.1": "5.1.5",
855855
"5.1.0": "5.1",
856856
"5.2": "5.2.4",
857-
"5.3": "5.3.3",
858-
"^": "5.3.3",
859-
"latest": "5.3.3"
857+
"5.3": "5.3.4",
858+
"^": "5.3.4",
859+
"latest": "5.3.4"
860860
}
861861
checksums = {
862862
"lua-5.1.tar.gz" : "7f5bb9061eb3b9ba1e406a5aa68001a66cb82bac95748839dc02dd10048472c1",
@@ -874,6 +874,7 @@ class RioLua(Lua):
874874
"lua-5.3.1.tar.gz": "072767aad6cc2e62044a66e8562f51770d941e972dc1e4068ba719cd8bffac17",
875875
"lua-5.3.2.tar.gz": "c740c7bb23a936944e1cc63b7c3c5351a8976d7867c5252c8854f7b2af9da68f",
876876
"lua-5.3.3.tar.gz": "5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2",
877+
"lua-5.3.4.tar.gz": "f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c",
877878
}
878879
all_patches = {
879880
"When loading a file, Lua may call the reader function again after it returned end of input": """
@@ -1739,7 +1740,7 @@ def main(argv=None):
17391740
parser.add_argument(
17401741
"-l", "--lua", help="Version of standard PUC-Rio Lua to install. "
17411742
"Version can be specified as a version number, e.g. 5.2 or 5.3.1. "
1742-
"Versions 5.1.0 - 5.3.3 are supported, "
1743+
"Versions 5.1.0 - 5.3.4 are supported, "
17431744
"'^' or 'latest' can be used to install the latest stable version. "
17441745
"If the argument contains '@', sources will be downloaded "
17451746
"from a git repo using URI before '@' and using part after '@' as git reference "

test/cli_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def assertHererocksSuccess(self, args, expected_output_lines=None, location="her
5353
def test_install_latest_lua_with_latest_luarocks(self):
5454
self.assertHererocksSuccess(["--lua", "latest", "--luarocks", "latest"])
5555
self.assertHererocksSuccess(["--show"], ["Programs installed in", "Compat: default"])
56-
self.assertSuccess(["lua", "-v"], ["Lua 5.3.3"])
56+
self.assertSuccess(["lua", "-v"], ["Lua 5.3.4"])
5757
self.assertSuccess(["lua", "-e", "assert(bit32)"])
5858

5959
self.assertSuccess(["luarocks", "--version"])

0 commit comments

Comments
 (0)