pkgsrc-WIP-changes archive

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

wip/lua-inspect: import lua52-inspect-3.1.1



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Fri Jan 3 00:01:27 2020 +0800
Changeset:	1e5ab9d21cba03648a3efa0824d895da40b6ee3d

Added Files:
	lua-inspect/DESCR
	lua-inspect/Makefile
	lua-inspect/PLIST
	lua-inspect/distinfo

Log Message:
wip/lua-inspect: import lua52-inspect-3.1.1

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 see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1e5ab9d21cba03648a3efa0824d895da40b6ee3d

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

diffstat:
 lua-inspect/DESCR    |  5 +++++
 lua-inspect/Makefile | 25 +++++++++++++++++++++++++
 lua-inspect/PLIST    |  2 ++
 lua-inspect/distinfo |  6 ++++++
 4 files changed, 38 insertions(+)

diffs:
diff --git a/lua-inspect/DESCR b/lua-inspect/DESCR
new file mode 100644
index 0000000000..fe4c7e5421
--- /dev/null
+++ b/lua-inspect/DESCR
@@ -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 --git a/lua-inspect/Makefile b/lua-inspect/Makefile
new file mode 100644
index 0000000000..44b95fe911
--- /dev/null
+++ b/lua-inspect/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	lua-inspect-3.1.1
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kikito/}
+GITHUB_PROJECT=	inspect.lua
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+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 --git a/lua-inspect/PLIST b/lua-inspect/PLIST
new file mode 100644
index 0000000000..4589fe1d64
--- /dev/null
+++ b/lua-inspect/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_LDIR}/inspect.lua
diff --git a/lua-inspect/distinfo b/lua-inspect/distinfo
new file mode 100644
index 0000000000..2b064d8e6c
--- /dev/null
+++ b/lua-inspect/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn 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