pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel add devel/lua-safer



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61f7c00864f8
branches:  trunk
changeset: 445680:61f7c00864f8
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 27 11:52:21 2021 +0000

description:
add devel/lua-safer

Safer - Paranoid Lua programming

Taking defensive programming to the next level. Use this module to avoid
unexpected globals creeping up in your code, and stopping sub-modules from
fiddling with fields of tables as you pass them around.

diffstat:

 devel/Makefile           |   3 ++-
 devel/lua-safer/DESCR    |   5 +++++
 devel/lua-safer/Makefile |  28 ++++++++++++++++++++++++++++
 devel/lua-safer/PLIST    |   4 ++++
 devel/lua-safer/distinfo |   6 ++++++
 5 files changed, 45 insertions(+), 1 deletions(-)

diffs (76 lines):

diff -r 28f30c22d759 -r 61f7c00864f8 devel/Makefile
--- a/devel/Makefile    Wed Jan 27 11:31:32 2021 +0000
+++ b/devel/Makefile    Wed Jan 27 11:52:21 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3323 2021/01/26 11:20:42 jperkin Exp $
+# $NetBSD: Makefile,v 1.3324 2021/01/27 11:52:21 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -919,6 +919,7 @@
 SUBDIR+=       lua-repl
 SUBDIR+=       lua-rings
 SUBDIR+=       lua-rocks
+SUBDIR+=       lua-safer
 SUBDIR+=       lua-say
 SUBDIR+=       lua-sdl2
 SUBDIR+=       lua-std-_debug
diff -r 28f30c22d759 -r 61f7c00864f8 devel/lua-safer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-safer/DESCR     Wed Jan 27 11:52:21 2021 +0000
@@ -0,0 +1,5 @@
+Safer - Paranoid Lua programming
+
+Taking defensive programming to the next level. Use this module to avoid
+unexpected globals creeping up in your code, and stopping sub-modules from
+fiddling with fields of tables as you pass them around.
diff -r 28f30c22d759 -r 61f7c00864f8 devel/lua-safer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-safer/Makefile  Wed Jan 27 11:52:21 2021 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/01/27 11:52:21 nia Exp $
+
+DISTNAME=      safer-0.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=hishamhm/}
+GITHUB_PROJECT=        safer
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/hishamhm/safer
+COMMENT=       Paranoid Lua programming
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/safer.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/safer.lua
+       ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/LICENSE \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 28f30c22d759 -r 61f7c00864f8 devel/lua-safer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-safer/PLIST     Wed Jan 27 11:52:21 2021 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/27 11:52:21 nia Exp $
+${LUA_DOCDIR}/LICENSE
+${LUA_DOCDIR}/README.md
+${LUA_LDIR}/safer.lua
diff -r 28f30c22d759 -r 61f7c00864f8 devel/lua-safer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-safer/distinfo  Wed Jan 27 11:52:21 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/01/27 11:52:21 nia Exp $
+
+SHA1 (safer-0.2.tar.gz) = 5c5c5ac7a5f563db9c9b49fe32b5a72e923b4b9f
+RMD160 (safer-0.2.tar.gz) = 32e88223c318fbd9aae18aad710b6a073e709cde
+SHA512 (safer-0.2.tar.gz) = 23258f3b0d2cf40ec1753db45436c6b8f2e242a1deb501d75cf5fc515f2bd1a35adb9e43eea27de758289194a55d2ecb175f67a4936f78e2491bc4836f17d306
+Size (safer-0.2.tar.gz) = 2573 bytes



Home | Main Index | Thread Index | Old Index