Package: lua-term
Version: 0.03.20140426.g1ba9a8e-1
Severity: wishlist
Tags: patch

Dear Maintainer,

To be able to run the tests for neovim (tests are written in Lua, they are ran
by 'busted' which a package currently being worked on), we need lua-term to be
able to run on Lua5.1

I included a patch that adds support for lua5.1 and lua5.3 (I tested the small
example that upstream provides, it runs correctly)

Cheers



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.3-jpleau (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lua-term depends on:
ii  libc6  2.21-9

lua-term recommends no packages.

lua-term suggests no packages.
>From f86c3b8fc74202cb06549f3be14adddc86320295 Mon Sep 17 00:00:00 2001
From: Jason Pleau <ja...@jpleau.ca>
Date: Wed, 2 Mar 2016 20:26:19 -0500
Subject: [PATCH] Add support for Lua5.1 and Lua5.3

---
 debian/dh-lua.conf        | 24 ------------------------
 debian/lua5.1.dh-lua.conf | 23 +++++++++++++++++++++++
 debian/lua5.2.dh-lua.conf |  1 +
 debian/lua5.3.dh-lua.conf |  1 +
 4 files changed, 25 insertions(+), 24 deletions(-)
 delete mode 100644 debian/dh-lua.conf
 create mode 100644 debian/lua5.1.dh-lua.conf
 create mode 120000 debian/lua5.2.dh-lua.conf
 create mode 120000 debian/lua5.3.dh-lua.conf

diff --git a/debian/dh-lua.conf b/debian/dh-lua.conf
deleted file mode 100644
index 7864169..0000000
--- a/debian/dh-lua.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-### mandatory fields
-LUA_VERSION=5.2
-PKG_NAME=term
- 
-### things relative to the C library part
-CLIB_CFLAGS=
-CLIB_LDFLAGS=
-CLIB_LDFLAGS_STATIC=
-CLIB_OBJS=core.lo
-LUA_MODNAME_CPART=term.core
- 
-### things relative to the lua library part
-LUA_HEADER=
-LUA_SOURCES=$(wildcard term/*.lua)
-LUA_SOURCES_MANGLER=
-LUA_MODNAME=term
-LUA_TEST=
- 
-### this part is relative to pkg-config
-PKG_VERSION=
-PKG_LIBS_PRIVATE=
-PKG_URL=
-PKG_REQUIRES=
-PKG_CONFLICTS=
diff --git a/debian/lua5.1.dh-lua.conf b/debian/lua5.1.dh-lua.conf
new file mode 100644
index 0000000..0ade434
--- /dev/null
+++ b/debian/lua5.1.dh-lua.conf
@@ -0,0 +1,23 @@
+### mandatory fields
+PKG_NAME=term
+ 
+### things relative to the C library part
+CLIB_CFLAGS=
+CLIB_LDFLAGS=
+CLIB_LDFLAGS_STATIC=
+CLIB_OBJS=core.lo
+LUA_MODNAME_CPART=term.core
+ 
+### things relative to the lua library part
+LUA_HEADER=
+LUA_SOURCES=$(wildcard term/*.lua)
+LUA_SOURCES_MANGLER=
+LUA_MODNAME=term
+LUA_TEST=
+ 
+### this part is relative to pkg-config
+PKG_VERSION=
+PKG_LIBS_PRIVATE=
+PKG_URL=
+PKG_REQUIRES=
+PKG_CONFLICTS=
diff --git a/debian/lua5.2.dh-lua.conf b/debian/lua5.2.dh-lua.conf
new file mode 120000
index 0000000..ba875b6
--- /dev/null
+++ b/debian/lua5.2.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.dh-lua.conf
\ No newline at end of file
diff --git a/debian/lua5.3.dh-lua.conf b/debian/lua5.3.dh-lua.conf
new file mode 120000
index 0000000..ba875b6
--- /dev/null
+++ b/debian/lua5.3.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.dh-lua.conf
\ No newline at end of file
-- 
2.7.0

Reply via email to