pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-repl
Module Name: pkgsrc
Committed By: joerg
Date: Thu Aug 6 23:08:29 UTC 2020
Added Files:
pkgsrc/devel/lua-repl: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
Add lua-repl-0.9:
REPL.lua provides a reusable Read-Execute-Print loop for Lua. It can be
used as alternative to the standalone interpreter included with Lua, one
that supports things like plugins, tab completion, and automatic
insertion of return in front of expressions.
It can also provide a REPL library you may embed in your application, to
provide all of the niceties of the standalone interpreter included with
Lua and then some.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-repl/ALTERNATIVES \
pkgsrc/devel/lua-repl/DESCR pkgsrc/devel/lua-repl/Makefile \
pkgsrc/devel/lua-repl/PLIST pkgsrc/devel/lua-repl/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/lua-repl/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/lua-repl/ALTERNATIVES:1.1
--- /dev/null Thu Aug 6 23:08:29 2020
+++ pkgsrc/devel/lua-repl/ALTERNATIVES Thu Aug 6 23:08:29 2020
@@ -0,0 +1 @@
+bin/luarep @PREFIX@/bin/luarep-@LUADOTVER@
Index: pkgsrc/devel/lua-repl/DESCR
diff -u /dev/null pkgsrc/devel/lua-repl/DESCR:1.1
--- /dev/null Thu Aug 6 23:08:29 2020
+++ pkgsrc/devel/lua-repl/DESCR Thu Aug 6 23:08:29 2020
@@ -0,0 +1,8 @@
+REPL.lua provides a reusable Read-Execute-Print loop for Lua. It can be
+used as alternative to the standalone interpreter included with Lua, one
+that supports things like plugins, tab completion, and automatic
+insertion of return in front of expressions.
+
+It can also provide a REPL library you may embed in your application, to
+provide all of the niceties of the standalone interpreter included with
+Lua and then some.
Index: pkgsrc/devel/lua-repl/Makefile
diff -u /dev/null pkgsrc/devel/lua-repl/Makefile:1.1
--- /dev/null Thu Aug 6 23:08:29 2020
+++ pkgsrc/devel/lua-repl/Makefile Thu Aug 6 23:08:29 2020
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 23:08:29 joerg Exp $
+
+DISTNAME= repl-0.9
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hoelzro/}
+GITHUB_PROJECT= lua-repl
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/hoelzro/lua-linenoise/
+COMMENT= REPL library for Lua
+LICENSE= mit
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= bin ${LUA_LDIR}/repl/plugins
+
+PLIST_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
+
+REPLACE_LUA+= rep.lua
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rep.lua ${DESTDIR}${PREFIX}/bin/luarep-${_LUA_DOT_VERSION}
+ ${INSTALL_DATA} ${WRKSRC}/repl/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/repl
+ ${INSTALL_DATA} ${WRKSRC}/repl/plugins/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/repl/plugins
+
+.include "../../lang/lua/application.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-repl/PLIST
diff -u /dev/null pkgsrc/devel/lua-repl/PLIST:1.1
--- /dev/null Thu Aug 6 23:08:29 2020
+++ pkgsrc/devel/lua-repl/PLIST Thu Aug 6 23:08:29 2020
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/06 23:08:29 joerg Exp $
+bin/luarep-${LUADOTVER}
+${LUA_LDIR}/repl/compat.lua
+${LUA_LDIR}/repl/console.lua
+${LUA_LDIR}/repl/init.lua
+${LUA_LDIR}/repl/plugins/autoreturn.lua
+${LUA_LDIR}/repl/plugins/completion.lua
+${LUA_LDIR}/repl/plugins/example.lua
+${LUA_LDIR}/repl/plugins/filename_completion.lua
+${LUA_LDIR}/repl/plugins/history.lua
+${LUA_LDIR}/repl/plugins/keep_last_eval.lua
+${LUA_LDIR}/repl/plugins/linenoise.lua
+${LUA_LDIR}/repl/plugins/pretty_print.lua
+${LUA_LDIR}/repl/plugins/rcfile.lua
+${LUA_LDIR}/repl/plugins/rlwrap.lua
+${LUA_LDIR}/repl/plugins/semicolon_suppress_output.lua
+${LUA_LDIR}/repl/sync.lua
+${LUA_LDIR}/repl/utils.lua
Index: pkgsrc/devel/lua-repl/distinfo
diff -u /dev/null pkgsrc/devel/lua-repl/distinfo:1.1
--- /dev/null Thu Aug 6 23:08:29 2020
+++ pkgsrc/devel/lua-repl/distinfo Thu Aug 6 23:08:29 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/06 23:08:29 joerg Exp $
+
+SHA1 (repl-0.9.tar.gz) = b2059211bc1e791523ac5c35ba9a50cf89102563
+RMD160 (repl-0.9.tar.gz) = 42265fc90e64f3382a02af03e053be5813ec75a9
+SHA512 (repl-0.9.tar.gz) = 7fdc4a70e149be11f14b59a3143b825fb1a35fc1595039380b13c5e56e9211107629cf33444f2fce5518c92ee02009ca98a8317c50265d102450e720164a355b
+Size (repl-0.9.tar.gz) = 23524 bytes
Home |
Main Index |
Thread Index |
Old Index