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:           Sat Jul 11 12:56:17 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.3171 -r1.3172 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-fun/DESCR \
    pkgsrc/devel/lua-fun/Makefile pkgsrc/devel/lua-fun/PLIST \
    pkgsrc/devel/lua-fun/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.3171 pkgsrc/devel/Makefile:1.3172
--- pkgsrc/devel/Makefile:1.3171        Sat Jul 11 12:37:25 2020
+++ pkgsrc/devel/Makefile       Sat Jul 11 12:56:17 2020
@@ -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-cqueues
 SUBDIR+=       lua-event
 SUBDIR+=       lua-fifo
 SUBDIR+=       lua-filesystem
+SUBDIR+=       lua-fun
 SUBDIR+=       lua-gi
 SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall

Added files:

Index: pkgsrc/devel/lua-fun/DESCR
diff -u /dev/null pkgsrc/devel/lua-fun/DESCR:1.1
--- /dev/null   Sat Jul 11 12:56:17 2020
+++ pkgsrc/devel/lua-fun/DESCR  Sat Jul 11 12:56:17 2020
@@ -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.
Index: pkgsrc/devel/lua-fun/Makefile
diff -u /dev/null pkgsrc/devel/lua-fun/Makefile:1.1
--- /dev/null   Sat Jul 11 12:56:17 2020
+++ pkgsrc/devel/lua-fun/Makefile       Sat Jul 11 12:56:17 2020
@@ -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"
Index: pkgsrc/devel/lua-fun/PLIST
diff -u /dev/null pkgsrc/devel/lua-fun/PLIST:1.1
--- /dev/null   Sat Jul 11 12:56:17 2020
+++ pkgsrc/devel/lua-fun/PLIST  Sat Jul 11 12:56:17 2020
@@ -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
Index: pkgsrc/devel/lua-fun/distinfo
diff -u /dev/null pkgsrc/devel/lua-fun/distinfo:1.1
--- /dev/null   Sat Jul 11 12:56:17 2020
+++ pkgsrc/devel/lua-fun/distinfo       Sat Jul 11 12:56:17 2020
@@ -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