Use lua-any
Enrico Tassi
8 years ago
|
0 |
lua-ldoc (1.4.3-4) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Use lua-any to make it work with both 5.1 and 5.2
|
|
3 |
|
|
4 |
-- Enrico Tassi <gareuselesinge@debian.org> Sat, 22 Aug 2015 17:52:12 +0200
|
|
5 |
|
0 | 6 |
lua-ldoc (1.4.3-3) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Pass -d to txt2man to make the build reproducible
|
10 | 10 |
|
11 | 11 |
Package: lua-ldoc
|
12 | 12 |
Architecture: all
|
13 | |
Depends: ${misc:Depends}, lua5.2, lua5.2-filesystem, lua5.2-penlight
|
14 | |
Suggests: lua5.2-markdown, lua5.2-discount
|
|
13 |
Depends: ${misc:Depends}, lua-any, lua5.1 | lua5.2, lua-filesystem, lua-penlight
|
|
14 |
Suggests: lua-markdown, lua-discount
|
15 | 15 |
XB-Lua-Versions: ${lua:Versions}
|
16 | 16 |
Description: LuaDoc-compatible documentation generation system
|
17 | 17 |
LDoc is a LuaDoc-compatible documentation generation system for Lua source
|
debian/patches/0001-Fix-the-interpreter-to-lua5.2-since-lua-may-be-lua50.patch
less
more
0 | |
From: Enrico Tassi <gares@fettunta.org>
|
1 | |
Date: Mon, 4 Mar 2013 11:27:26 +0100
|
2 | |
Subject: Fix the interpreter to lua5.1 (since lua may be lua50 too)
|
3 | |
|
4 | |
---
|
5 | |
ldoc.lua | 2 +-
|
6 | |
1 file changed, 1 insertion(+), 1 deletion(-)
|
7 | |
|
8 | |
diff --git a/ldoc.lua b/ldoc.lua
|
9 | |
index e32472c..3454bcf 100644
|
10 | |
--- a/ldoc.lua
|
11 | |
+++ b/ldoc.lua
|
12 | |
@@ -1,4 +1,4 @@
|
13 | |
-#!/usr/bin/env lua
|
14 | |
+#!/usr/bin/env lua5.2
|
15 | |
---------------
|
16 | |
-- ## ldoc, a Lua documentation generator.
|
17 | |
--
|
|
0 |
From: Enrico Tassi <gareuselesinge@debian.org>
|
|
1 |
Date: Wed, 19 Aug 2015 19:44:38 +0200
|
|
2 |
Subject: Use lua-any to choose the right interpreter version
|
|
3 |
|
|
4 |
---
|
|
5 |
ldoc.lua | 3 ++-
|
|
6 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
7 |
|
|
8 |
diff --git a/ldoc.lua b/ldoc.lua
|
|
9 |
index e32472c..8ad4df1 100644
|
|
10 |
--- a/ldoc.lua
|
|
11 |
+++ b/ldoc.lua
|
|
12 |
@@ -1,4 +1,5 @@
|
|
13 |
-#!/usr/bin/env lua
|
|
14 |
+#!/usr/bin/env lua-any
|
|
15 |
+-- Lua-Versions: 5.2
|
|
16 |
---------------
|
|
17 |
-- ## ldoc, a Lua documentation generator.
|
|
18 |
--
|
6 | 6 |
1 file changed, 5 insertions(+)
|
7 | 7 |
|
8 | 8 |
diff --git a/ldoc.lua b/ldoc.lua
|
9 | |
index 3454bcf..3af3b2b 100644
|
|
9 |
index 8ad4df1..513752b 100644
|
10 | 10 |
--- a/ldoc.lua
|
11 | 11 |
+++ b/ldoc.lua
|
12 | |
@@ -61,6 +61,7 @@ ldoc, a documentation generator for Lua, vs 1.4.3
|
|
12 |
@@ -62,6 +62,7 @@ ldoc, a documentation generator for Lua, vs 1.4.3
|
13 | 13 |
-M,--merge allow module merging
|
14 | 14 |
-S,--simple no return or params, no summary
|
15 | 15 |
-O,--one one-column output layout
|
|
17 | 17 |
--dump debug output dump
|
18 | 18 |
--filter (default none) filter output as Lua data (e.g pl.pretty.dump)
|
19 | 19 |
--tags (default none) show all references to given tags, comma-separated
|
20 | |
@@ -781,7 +782,11 @@ ldoc.modules = module_list
|
|
20 |
@@ -782,7 +783,11 @@ ldoc.modules = module_list
|
21 | 21 |
ldoc.title = ldoc.title or args.title
|
22 | 22 |
ldoc.project = ldoc.project or args.project
|
23 | 23 |
ldoc.package = args.package:match '%a+' and args.package or nil
|
0 | |
0001-Fix-the-interpreter-to-lua5.2-since-lua-may-be-lua50.patch
|
|
0 |
0001-Use-lua-any-to-choose-the-right-interpreter-version.patch
|
1 | 1 |
0002-Remove-non-existing-one-1.md-from-tests-config.ld.patch
|
2 | 2 |
0003-Fix-broken-template-missing-closing-bracket.patch
|
3 | 3 |
0004-make-system-date-override-able-via-date.patch
|