Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel: Add lua-inspect. Based on work by Jonatha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1cbe3ef0151
branches:  trunk
changeset: 435208:b1cbe3ef0151
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 02 11:16:18 2020 +0000

description:
devel: Add lua-inspect. Based on work by Jonathan Buschmann in wip.

This library transforms any Lua value into a human-readable representation.
It is especially useful for debugging errors in tables.

The objective here is human understanding (i.e. for debugging),
not serialization or compactness.

diffstat:

 devel/Makefile             |   3 ++-
 devel/lua-inspect/DESCR    |   5 +++++
 devel/lua-inspect/Makefile |  25 +++++++++++++++++++++++++
 devel/lua-inspect/PLIST    |   2 ++
 devel/lua-inspect/distinfo |   6 ++++++
 5 files changed, 40 insertions(+), 1 deletions(-)

diffs (71 lines):

diff -r 4013d92de948 -r b1cbe3ef0151 devel/Makefile
--- a/devel/Makefile    Thu Jul 02 11:00:29 2020 +0000
+++ b/devel/Makefile    Thu Jul 02 11:16:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3150 2020/07/02 10:59:24 nia Exp $
+# $NetBSD: Makefile,v 1.3151 2020/07/02 11:16:18 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -851,6 +851,7 @@
 SUBDIR+=       lua-cqueues
 SUBDIR+=       lua-filesystem
 SUBDIR+=       lua-gi
+SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall
 SUBDIR+=       lua-lpeg
 SUBDIR+=       lua-lrexlib
diff -r 4013d92de948 -r b1cbe3ef0151 devel/lua-inspect/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-inspect/DESCR   Thu Jul 02 11:16:18 2020 +0000
@@ -0,0 +1,5 @@
+This library transforms any Lua value into a human-readable representation.
+It is especially useful for debugging errors in tables.
+
+The objective here is human understanding (i.e. for debugging),
+not serialization or compactness.
diff -r 4013d92de948 -r b1cbe3ef0151 devel/lua-inspect/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-inspect/Makefile        Thu Jul 02 11:16:18 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/07/02 11:16:18 nia Exp $
+
+DISTNAME=      lua-inspect-3.1.1
+PKGNAME=       ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kikito/}
+GITHUB_PROJECT=        inspect.lua
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kikito/inspect.lua
+COMMENT=       Human-readable representation of Lua tables
+LICENSE=       mit
+
+NO_BUILD=      yes
+NO_CONFIGURE=  yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/inspect.lua \
+                       ${DESTDIR}${PREFIX}/${LUA_LDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4013d92de948 -r b1cbe3ef0151 devel/lua-inspect/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-inspect/PLIST   Thu Jul 02 11:16:18 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 11:16:18 nia Exp $
+${LUA_LDIR}/inspect.lua
diff -r 4013d92de948 -r b1cbe3ef0151 devel/lua-inspect/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-inspect/distinfo        Thu Jul 02 11:16:18 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/02 11:16:18 nia Exp $
+
+SHA1 (lua-inspect-3.1.1.tar.gz) = bf78eca8dea4f0fd0dfb68b63e3c01b82618e00a
+RMD160 (lua-inspect-3.1.1.tar.gz) = 9c623b38a0b83f8b6baf771625f5a17d708c7cea
+SHA512 (lua-inspect-3.1.1.tar.gz) = d9e6f605033b43ac07f6ab731b1c10f59ebd0a64bb3d6449cef39b2fc43d9ad0eb062a000f76bc9b25222a52a3b344ab3a8af7b6bfe3d92a52447faf5dfbcbbd
+Size (lua-inspect-3.1.1.tar.gz) = 11221 bytes



Home | Main Index | Thread Index | Old Index