Support LuaRocks 3.0.0 and alias ^ and latest to it
This commit is contained in:
parent
ca2fd3194c
commit
c1cbbca543
22
hererocks.py
22
hererocks.py
@ -1618,7 +1618,8 @@ class LuaRocks(Program):
|
|||||||
"2.1.0", "2.1.1", "2.1.2",
|
"2.1.0", "2.1.1", "2.1.2",
|
||||||
"2.2.0", "2.2.1", "2.2.2",
|
"2.2.0", "2.2.1", "2.2.2",
|
||||||
"2.3.0",
|
"2.3.0",
|
||||||
"2.4.0", "2.4.1", "2.4.2", "2.4.3", "2.4.4"
|
"2.4.0", "2.4.1", "2.4.2", "2.4.3", "2.4.4",
|
||||||
|
"3.0.0"
|
||||||
]
|
]
|
||||||
translations = {
|
translations = {
|
||||||
"2": "2.4.4",
|
"2": "2.4.4",
|
||||||
@ -1627,9 +1628,10 @@ class LuaRocks(Program):
|
|||||||
"2.2": "2.2.2",
|
"2.2": "2.2.2",
|
||||||
"2.3": "2.3.0",
|
"2.3": "2.3.0",
|
||||||
"2.4": "2.4.4",
|
"2.4": "2.4.4",
|
||||||
"3": "@master",
|
"3": "3.0.0",
|
||||||
"^": "2.4.4",
|
"3.0": "3.0.0",
|
||||||
"latest": "2.4.4"
|
"^": "3.0.0",
|
||||||
|
"latest": "3.0.0"
|
||||||
}
|
}
|
||||||
checksums = {
|
checksums = {
|
||||||
"luarocks-2.0.10.tar.gz" : "11731dfe6e210a962cb2a857b8b2f14a9ab1043e13af09a1b9455b486401b46e",
|
"luarocks-2.0.10.tar.gz" : "11731dfe6e210a962cb2a857b8b2f14a9ab1043e13af09a1b9455b486401b46e",
|
||||||
@ -1668,6 +1670,8 @@ class LuaRocks(Program):
|
|||||||
"luarocks-2.4.3-win32.zip" : "08821ec39e7c3ad20f5b3d3e118ba8f1f5a7db6e6ad22e11eb5e8a2bdc95cbfb",
|
"luarocks-2.4.3-win32.zip" : "08821ec39e7c3ad20f5b3d3e118ba8f1f5a7db6e6ad22e11eb5e8a2bdc95cbfb",
|
||||||
"luarocks-2.4.4.tar.gz" : "3938df33de33752ff2c526e604410af3dceb4b7ff06a770bc4a240de80a1f934",
|
"luarocks-2.4.4.tar.gz" : "3938df33de33752ff2c526e604410af3dceb4b7ff06a770bc4a240de80a1f934",
|
||||||
"luarocks-2.4.4-win32.zip" : "763d2fbe301b5f941dd5ea4aea485fb35e75cbbdceca8cc2f18726b75f9895c1",
|
"luarocks-2.4.4-win32.zip" : "763d2fbe301b5f941dd5ea4aea485fb35e75cbbdceca8cc2f18726b75f9895c1",
|
||||||
|
"luarocks-3.0.0.tar.gz" : "a43fffb997100f11cccb529a3db5456ce8dab18171a5cb3645f948147b6f64a1",
|
||||||
|
"luarocks-3.0.0-win32.zip" : "f5c6070f49f78ef61a2e5d6de353b34ef691ad4a6b45e065d5c85701a4a3a981",
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_download_name(self):
|
def get_download_name(self):
|
||||||
@ -1997,11 +2001,11 @@ def main(argv=None):
|
|||||||
"so that '@458a40b' installs from a commit and '@' installs from the master branch.")
|
"so that '@458a40b' installs from a commit and '@' installs from the master branch.")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-r", "--luarocks", help="Version of LuaRocks to install. "
|
"-r", "--luarocks", help="Version of LuaRocks to install. "
|
||||||
"As with Lua, a version number (in range 2.0.8 - 2.4.4), '^', git URI with reference or "
|
"As with Lua, a version number (in range 2.0.8 - 3.0.0), '^', git URI with reference or "
|
||||||
"a local path can be used. '3' can be used as a version number and installs from "
|
"a local path can be used. "
|
||||||
"the 'master' branch of the standard LuaRocks git repo. "
|
"Note that Lua 5.2 is not supported in LuaRocks 2.0.8, "
|
||||||
"Note that Lua 5.2 is not supported in LuaRocks 2.0.8 "
|
"Lua 5.3 is supported only since LuaRocks 2.2.0, and Lua 5.4 is supported only since "
|
||||||
"and Lua 5.3 is supported only since LuaRocks 2.2.0.")
|
"LuaRocks 3.0.0.")
|
||||||
parser.add_argument("--show", default=False, action="store_true",
|
parser.add_argument("--show", default=False, action="store_true",
|
||||||
help="Instead of installing show programs already present in <location>")
|
help="Instead of installing show programs already present in <location>")
|
||||||
parser.add_argument("-i", "--ignore-installed", default=False, action="store_true",
|
parser.add_argument("-i", "--ignore-installed", default=False, action="store_true",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user