Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/lua-moses devel: Add lua-moses
details: https://anonhg.NetBSD.org/pkgsrc/rev/1017df77c78b
branches: trunk
changeset: 435619:1017df77c78b
user: nia <nia%pkgsrc.org@localhost>
date: Fri Jul 10 12:08:28 2020 +0000
description:
devel: Add lua-moses
A Lua utility belt library for functional programming.
diffstat:
devel/lua-moses/DESCR | 1 +
devel/lua-moses/Makefile | 36 ++++++++++++++++++++++++++++++++++++
devel/lua-moses/PLIST | 5 +++++
devel/lua-moses/distinfo | 6 ++++++
4 files changed, 48 insertions(+), 0 deletions(-)
diffs (64 lines):
diff -r daf946f2927a -r 1017df77c78b devel/lua-moses/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-moses/DESCR Fri Jul 10 12:08:28 2020 +0000
@@ -0,0 +1,1 @@
+A Lua utility belt library for functional programming.
diff -r daf946f2927a -r 1017df77c78b devel/lua-moses/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-moses/Makefile Fri Jul 10 12:08:28 2020 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/07/10 12:08:28 nia Exp $
+
+DISTNAME= Moses-2.1.0-1
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:tl:S/-1$//1}
+CATEGORIES= devel lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Yonaba/}
+GITHUB_PROJECT= Moses
+GITHUB_TAG= ${DISTNAME}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://yonaba.github.io/Moses/
+COMMENT= Utility library for functional programming in Lua
+LICENSE= mit
+
+TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
+TEST_DEPENDS+= ${LUA_PKGPREFIX}-cov-[0-9]*:../../devel/lua-cov
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= ${LUA_DOCDIR}
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/README.md \
+ ${DESTDIR}${PREFIX}/${LUA_DOCDIR}/README.md
+ ${INSTALL_DATA} ${WRKSRC}/doc/tutorial.md \
+ ${DESTDIR}${PREFIX}/${LUA_DOCDIR}/tutorial.md
+ ${INSTALL_DATA} ${WRKSRC}/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}
+
+do-test:
+ cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r daf946f2927a -r 1017df77c78b devel/lua-moses/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-moses/PLIST Fri Jul 10 12:08:28 2020 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/10 12:08:28 nia Exp $
+${LUA_DOCDIR}/README.md
+${LUA_DOCDIR}/tutorial.md
+${LUA_LDIR}/moses.lua
+${LUA_LDIR}/moses_min.lua
diff -r daf946f2927a -r 1017df77c78b devel/lua-moses/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-moses/distinfo Fri Jul 10 12:08:28 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/10 12:08:28 nia Exp $
+
+SHA1 (Moses-2.1.0-1.tar.gz) = e9200d73112370ec389093cd2da1f2d9ebab4705
+RMD160 (Moses-2.1.0-1.tar.gz) = a8cd462546cae198d128f71600be0ec483660467
+SHA512 (Moses-2.1.0-1.tar.gz) = 523826a3d63c8e80928c1be24180322d7502f6ade8110e7f07d28feee421045fead83c22596f674237637f92666ef6df7803ac5d0ee5c3404790bc039feed16f
+Size (Moses-2.1.0-1.tar.gz) = 117287 bytes
Home |
Main Index |
Thread Index |
Old Index