Skip to content

Commit edd95bc

Browse files
committed
Add support for LuaRocks 3.0.2 but set 2.4.4 as stable again
1 parent dca47dc commit edd95bc

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
### New features and improvements
66

7-
* Added support for LuaRocks 3.0.0 and 3.0.1. `latest` and `^` aliases now point
8-
to 3.0.1.
7+
* Added support for LuaRocks 3.0.0 - 3.0.2. `latest` and `^` aliases still
8+
point to `2.4.4`.
99
* `--show` can now be used when installing programs; all programs present
1010
in the given location are listed after installation is complete.
1111

hererocks.py

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ class LuaRocks(Program):
16231623
"2.2.0", "2.2.1", "2.2.2",
16241624
"2.3.0",
16251625
"2.4.0", "2.4.1", "2.4.2", "2.4.3", "2.4.4",
1626-
"3.0.0", "3.0.1"
1626+
"3.0.0", "3.0.1", "3.0.2"
16271627
]
16281628
translations = {
16291629
"2": "2.4.4",
@@ -1632,10 +1632,10 @@ class LuaRocks(Program):
16321632
"2.2": "2.2.2",
16331633
"2.3": "2.3.0",
16341634
"2.4": "2.4.4",
1635-
"3": "3.0.1",
1636-
"3.0": "3.0.1",
1637-
"^": "3.0.1",
1638-
"latest": "3.0.1"
1635+
"3": "3.0.2",
1636+
"3.0": "3.0.2",
1637+
"^": "2.4.4",
1638+
"latest": "2.4.4"
16391639
}
16401640
checksums = {
16411641
"luarocks-2.0.10.tar.gz" : "11731dfe6e210a962cb2a857b8b2f14a9ab1043e13af09a1b9455b486401b46e",
@@ -1678,6 +1678,8 @@ class LuaRocks(Program):
16781678
"luarocks-3.0.0-win32.zip" : "f5c6070f49f78ef61a2e5d6de353b34ef691ad4a6b45e065d5c85701a4a3a981",
16791679
"luarocks-3.0.1.tar.gz" : "b989c4b60d6c9edcd65169e5e42fcffbd39cdbebe6b138fa5aea45102f8d9ec0",
16801680
"luarocks-3.0.1-win32.zip" : "af54263b8f71406d79556c880f3e2674e6690934a69cefbbdfd18710f05eeeaf",
1681+
"luarocks-3.0.2.tar.gz" : "3836267eff2f85fb552234e966602b1e649c58f81f47c7de3785e071c8127f5a",
1682+
"luarocks-3.0.2-win32.zip" : "c9e93d7198f9ae7add331675d3d84fa1b61feb851814ee2a89b9930bd651bfb9",
16811683
}
16821684

16831685
def get_download_name(self):
@@ -2055,8 +2057,8 @@ def main(argv=None):
20552057
parser.add_argument(
20562058
"-l", "--lua", help="Version of standard PUC-Rio Lua to install. "
20572059
"Version can be specified as a version number, e.g. 5.2 or 5.3.1. "
2058-
"Versions 5.1.0 - 5.3.5 are supported, as well as 5.4.0-work1 and 5.4.0-work2. "
2059-
"'^' or 'latest' can be used to install the latest stable version. "
2060+
"Versions 5.1.0 - 5.3.5 and 5.4.0-work1 - 5.4.0-work2 are supported. "
2061+
"'latest' and '^' are aliases for 5.3.5. "
20602062
"If the argument contains '@', sources will be downloaded "
20612063
"from a git repo using URI before '@' and using part after '@' as git reference "
20622064
"to checkout, 'master' by default. "
@@ -2068,12 +2070,14 @@ def main(argv=None):
20682070
"-j", "--luajit", help="Version of LuaJIT to install. "
20692071
"Version can be specified in the same way as for standard Lua. "
20702072
"Versions 2.0.0 - 2.1.0-beta3 are supported. "
2071-
"When installing from the LuaJIT main git repo its URI can be left out, "
2072-
"so that '@458a40b' installs from a commit and '@' installs from the master branch.")
2073+
"'latest' and '^' are aliases for to 2.0.5. "
2074+
"Default git repo is https://github.com/luajit/luajit. ")
20732075
parser.add_argument(
20742076
"-r", "--luarocks", help="Version of LuaRocks to install. "
2075-
"As with Lua, a version number (in range 2.0.8 - 3.0.1), '^', git URI with reference or "
2076-
"a local path can be used. "
2077+
"Version can be specified in the same way as for standard Lua. "
2078+
"Versions 2.0.8 - 3.0.2 are supported. "
2079+
"'latest' and '^' are aliases for 2.4.4. "
2080+
"Default git repo is https://github.com/luarocks/luarocks. "
20772081
"Note that Lua 5.2 is not supported in LuaRocks 2.0.8, "
20782082
"Lua 5.3 is supported only since LuaRocks 2.2.0, and Lua 5.4 is supported only since "
20792083
"LuaRocks 3.0.0.")

0 commit comments

Comments
 (0)