pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/lua-luassert: import lua52-luassert-1.7.11
Module Name: pkgsrc-wip
Committed By: Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By: jonthn
Date: Sat Jan 4 00:01:06 2020 +0800
Changeset: feae6cbc3b4d59cfe4030da2899981c71352b0da
Added Files:
lua-luassert/DESCR
lua-luassert/Makefile
lua-luassert/PLIST
lua-luassert/distinfo
Log Message:
wip/lua-luassert: import lua52-luassert-1.7.11
luassert extends Lua's built-in assertions to provide additional tests
and the ability to create your own.
You can modify chains of assertions with not.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=feae6cbc3b4d59cfe4030da2899981c71352b0da
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lua-luassert/DESCR | 3 +++
lua-luassert/Makefile | 33 +++++++++++++++++++++++++++++++++
lua-luassert/PLIST | 28 ++++++++++++++++++++++++++++
lua-luassert/distinfo | 6 ++++++
4 files changed, 70 insertions(+)
diffs:
diff --git a/lua-luassert/DESCR b/lua-luassert/DESCR
new file mode 100644
index 0000000000..eef058393b
--- /dev/null
+++ b/lua-luassert/DESCR
@@ -0,0 +1,3 @@
+luassert extends Lua's built-in assertions to provide additional tests
+and the ability to create your own.
+You can modify chains of assertions with not.
diff --git a/lua-luassert/Makefile b/lua-luassert/Makefile
new file mode 100644
index 0000000000..60ea8f26f4
--- /dev/null
+++ b/lua-luassert/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+DISTNAME= lua-luassert-1.7.11
+PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Olivine-Labs/}
+GITHUB_PROJECT= luassert
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+HOMEPAGE= https://github.com/Olivine-Labs/luassert
+COMMENT= Lua Assertions Extension library
+LICENSE= mit
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= ${LUA_LDIR}
+INSTALLATION_DIRS+= ${LUA_LDIR}/luassert
+INSTALLATION_DIRS+= ${LUA_LDIR}/luassert/matchers
+INSTALLATION_DIRS+= ${LUA_LDIR}/luassert/formatters
+INSTALLATION_DIRS+= ${LUA_LDIR}/luassert/languages
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/luassert/
+ ${INSTALL_DATA} ${WRKSRC}/src/matchers/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/luassert/matchers/
+ ${INSTALL_DATA} ${WRKSRC}/src/formatters/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/luassert/formatters/
+ ${INSTALL_DATA} ${WRKSRC}/src/languages/*.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/luassert/languages/
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-luassert/PLIST b/lua-luassert/PLIST
new file mode 100644
index 0000000000..5882af5df9
--- /dev/null
+++ b/lua-luassert/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD$
+${LUA_LDIR}/luassert/array.lua
+${LUA_LDIR}/luassert/assert.lua
+${LUA_LDIR}/luassert/assertions.lua
+${LUA_LDIR}/luassert/compatibility.lua
+${LUA_LDIR}/luassert/formatters/binarystring.lua
+${LUA_LDIR}/luassert/formatters/init.lua
+${LUA_LDIR}/luassert/init.lua
+${LUA_LDIR}/luassert/languages/ar.lua
+${LUA_LDIR}/luassert/languages/de.lua
+${LUA_LDIR}/luassert/languages/en.lua
+${LUA_LDIR}/luassert/languages/fr.lua
+${LUA_LDIR}/luassert/languages/ja.lua
+${LUA_LDIR}/luassert/languages/nl.lua
+${LUA_LDIR}/luassert/languages/ru.lua
+${LUA_LDIR}/luassert/languages/ua.lua
+${LUA_LDIR}/luassert/languages/zh.lua
+${LUA_LDIR}/luassert/match.lua
+${LUA_LDIR}/luassert/matchers/composite.lua
+${LUA_LDIR}/luassert/matchers/core.lua
+${LUA_LDIR}/luassert/matchers/init.lua
+${LUA_LDIR}/luassert/mock.lua
+${LUA_LDIR}/luassert/modifiers.lua
+${LUA_LDIR}/luassert/namespaces.lua
+${LUA_LDIR}/luassert/spy.lua
+${LUA_LDIR}/luassert/state.lua
+${LUA_LDIR}/luassert/stub.lua
+${LUA_LDIR}/luassert/util.lua
diff --git a/lua-luassert/distinfo b/lua-luassert/distinfo
new file mode 100644
index 0000000000..f7bbfe5411
--- /dev/null
+++ b/lua-luassert/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-luassert-1.7.11.tar.gz) = b053d570286e01e1ddce8229c92f226c0d44f5cf
+RMD160 (lua-luassert-1.7.11.tar.gz) = 7e621578eb7584f141297efb54872c325b1e1d38
+SHA512 (lua-luassert-1.7.11.tar.gz) = 8c8e6a23f875e47babafcc3c70f256fc524f2bdc31d2f7fd73187ebb9a10c6ae445fc56c2cfd44f75145ac1344b6f6593667a50e1fa62385c691de5875805140
+Size (lua-luassert-1.7.11.tar.gz) = 38556 bytes
Home |
Main Index |
Thread Index |
Old Index