pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-moses



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul 10 12:08:28 UTC 2020

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

Log Message:
devel: Add lua-moses

A Lua utility belt library for functional programming.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-moses/DESCR \
    pkgsrc/devel/lua-moses/Makefile pkgsrc/devel/lua-moses/PLIST \
    pkgsrc/devel/lua-moses/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-moses/DESCR
diff -u /dev/null pkgsrc/devel/lua-moses/DESCR:1.1
--- /dev/null   Fri Jul 10 12:08:28 2020
+++ pkgsrc/devel/lua-moses/DESCR        Fri Jul 10 12:08:28 2020
@@ -0,0 +1 @@
+A Lua utility belt library for functional programming.
Index: pkgsrc/devel/lua-moses/Makefile
diff -u /dev/null pkgsrc/devel/lua-moses/Makefile:1.1
--- /dev/null   Fri Jul 10 12:08:28 2020
+++ pkgsrc/devel/lua-moses/Makefile     Fri Jul 10 12:08:28 2020
@@ -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"
Index: pkgsrc/devel/lua-moses/PLIST
diff -u /dev/null pkgsrc/devel/lua-moses/PLIST:1.1
--- /dev/null   Fri Jul 10 12:08:28 2020
+++ pkgsrc/devel/lua-moses/PLIST        Fri Jul 10 12:08:28 2020
@@ -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
Index: pkgsrc/devel/lua-moses/distinfo
diff -u /dev/null pkgsrc/devel/lua-moses/distinfo:1.1
--- /dev/null   Fri Jul 10 12:08:28 2020
+++ pkgsrc/devel/lua-moses/distinfo     Fri Jul 10 12:08:28 2020
@@ -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