pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  2 11:16:18 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-inspect: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3150 -r1.3151 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-inspect/DESCR \
    pkgsrc/devel/lua-inspect/Makefile pkgsrc/devel/lua-inspect/PLIST \
    pkgsrc/devel/lua-inspect/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3150 pkgsrc/devel/Makefile:1.3151
--- pkgsrc/devel/Makefile:1.3150        Thu Jul  2 10:59:24 2020
+++ pkgsrc/devel/Makefile       Thu Jul  2 11:16:18 2020
@@ -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-coxpcall
 SUBDIR+=       lua-cqueues
 SUBDIR+=       lua-filesystem
 SUBDIR+=       lua-gi
+SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall
 SUBDIR+=       lua-lpeg
 SUBDIR+=       lua-lrexlib

Added files:

Index: pkgsrc/devel/lua-inspect/DESCR
diff -u /dev/null pkgsrc/devel/lua-inspect/DESCR:1.1
--- /dev/null   Thu Jul  2 11:16:18 2020
+++ pkgsrc/devel/lua-inspect/DESCR      Thu Jul  2 11:16:18 2020
@@ -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.
Index: pkgsrc/devel/lua-inspect/Makefile
diff -u /dev/null pkgsrc/devel/lua-inspect/Makefile:1.1
--- /dev/null   Thu Jul  2 11:16:18 2020
+++ pkgsrc/devel/lua-inspect/Makefile   Thu Jul  2 11:16:18 2020
@@ -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"
Index: pkgsrc/devel/lua-inspect/PLIST
diff -u /dev/null pkgsrc/devel/lua-inspect/PLIST:1.1
--- /dev/null   Thu Jul  2 11:16:18 2020
+++ pkgsrc/devel/lua-inspect/PLIST      Thu Jul  2 11:16:18 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 11:16:18 nia Exp $
+${LUA_LDIR}/inspect.lua
Index: pkgsrc/devel/lua-inspect/distinfo
diff -u /dev/null pkgsrc/devel/lua-inspect/distinfo:1.1
--- /dev/null   Thu Jul  2 11:16:18 2020
+++ pkgsrc/devel/lua-inspect/distinfo   Thu Jul  2 11:16:18 2020
@@ -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