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-fun
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d239065bcbd
branches: trunk
changeset: 435657:3d239065bcbd
user: nia <nia%pkgsrc.org@localhost>
date: Sat Jul 11 12:56:17 2020 +0000
description:
devel: Add lua-fun
Lua Fun is a high-performance functional programming library for Lua
designed with LuaJIT's trace compiler in mind.
Lua Fun provides a set of more than 50 programming primitives typically
found in languages like Standard ML, Haskell, Erlang, JavaScript, Python and
even Lisp. High-order functions such as map, filter, reduce, zip, etc.,
make it easy to write simple and efficient functional code.
diffstat:
devel/Makefile | 3 ++-
devel/lua-fun/DESCR | 7 +++++++
devel/lua-fun/Makefile | 31 +++++++++++++++++++++++++++++++
devel/lua-fun/PLIST | 3 +++
devel/lua-fun/distinfo | 6 ++++++
5 files changed, 49 insertions(+), 1 deletions(-)
diffs (80 lines):
diff -r 9f1f3b0babe1 -r 3d239065bcbd devel/Makefile
--- a/devel/Makefile Sat Jul 11 12:37:38 2020 +0000
+++ b/devel/Makefile Sat Jul 11 12:56:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3171 2020/07/11 12:37:25 nia Exp $
+# $NetBSD: Makefile,v 1.3172 2020/07/11 12:56:17 nia Exp $
#
COMMENT= Development utilities
@@ -861,6 +861,7 @@
SUBDIR+= lua-event
SUBDIR+= lua-fifo
SUBDIR+= lua-filesystem
+SUBDIR+= lua-fun
SUBDIR+= lua-gi
SUBDIR+= lua-inspect
SUBDIR+= lua-ljsyscall
diff -r 9f1f3b0babe1 -r 3d239065bcbd devel/lua-fun/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-fun/DESCR Sat Jul 11 12:56:17 2020 +0000
@@ -0,0 +1,7 @@
+Lua Fun is a high-performance functional programming library for Lua
+designed with LuaJIT's trace compiler in mind.
+
+Lua Fun provides a set of more than 50 programming primitives typically
+found in languages like Standard ML, Haskell, Erlang, JavaScript, Python and
+even Lisp. High-order functions such as map, filter, reduce, zip, etc.,
+make it easy to write simple and efficient functional code.
diff -r 9f1f3b0babe1 -r 3d239065bcbd devel/lua-fun/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-fun/Makefile Sat Jul 11 12:56:17 2020 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/07/11 12:56:17 nia Exp $
+
+DISTNAME= luafun-0.1.3
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
+CATEGORIES= devel lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=luafun/}
+GITHUB_PROJECT= luafun
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/luafun/luafun
+COMMENT= Functional programming library for Lua
+LICENSE= mit
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= ${LUA_DOCDIR}
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/fun.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/fun.lua
+ ${INSTALL_DATA} ${WRKSRC}/README.md \
+ ${DESTDIR}${PREFIX}/${LUA_DOCDIR}/README.md
+
+do-test:
+ cd ${WRKSRC}/tests && ${LUA_INTERPRETER} ./runtest *.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f1f3b0babe1 -r 3d239065bcbd devel/lua-fun/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-fun/PLIST Sat Jul 11 12:56:17 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/11 12:56:17 nia Exp $
+${LUA_DOCDIR}/README.md
+${LUA_LDIR}/fun.lua
diff -r 9f1f3b0babe1 -r 3d239065bcbd devel/lua-fun/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-fun/distinfo Sat Jul 11 12:56:17 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/11 12:56:17 nia Exp $
+
+SHA1 (luafun-0.1.3.tar.gz) = 6d56c2cb7e78cd52a874b6a3ab9b0b04a35738a3
+RMD160 (luafun-0.1.3.tar.gz) = a9ff013dd4a410ba7978d87422ac75eb3c494e82
+SHA512 (luafun-0.1.3.tar.gz) = 1959c22453a6f431e4f4ee1ca1e6001c126f8857e00b128e5303049fd574150a68b71490503356f11fefcbd0ef7fbac7b0ae7c182a395ad0c92d2047dfac0662
+Size (luafun-0.1.3.tar.gz) = 66651 bytes
Home |
Main Index |
Thread Index |
Old Index