pkgsrc-WIP-changes archive

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

wip/lua-busted: import lua52-busted-2.0.0



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Sat Jan 4 00:25:00 2020 +0800
Changeset:	70996a3eeef3cd321e5c0c520accc9fdd3ad9ede

Added Files:
	lua-busted/DESCR
	lua-busted/Makefile
	lua-busted/PLIST
	lua-busted/distinfo

Log Message:
wip/lua-busted: import lua52-busted-2.0.0

An elegant, extensible, testing framework.
    Ships with a large amount of useful asserts,
    plus the ability to write your own. Output
    in pretty or plain terminal format, JSON,
    or TAP for CI integration. Great for TDD
    and unit, integration, and functional tests.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=70996a3eeef3cd321e5c0c520accc9fdd3ad9ede

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-busted/DESCR    |  6 ++++++
 lua-busted/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 lua-busted/PLIST    | 46 +++++++++++++++++++++++++++++++++++++++++++
 lua-busted/distinfo |  6 ++++++
 4 files changed, 114 insertions(+)

diffs:
diff --git a/lua-busted/DESCR b/lua-busted/DESCR
new file mode 100644
index 0000000000..b74710a32e
--- /dev/null
+++ b/lua-busted/DESCR
@@ -0,0 +1,6 @@
+An elegant, extensible, testing framework.
+    Ships with a large amount of useful asserts,
+    plus the ability to write your own. Output
+    in pretty or plain terminal format, JSON,
+    or TAP for CI integration. Great for TDD
+    and unit, integration, and functional tests.
diff --git a/lua-busted/Makefile b/lua-busted/Makefile
new file mode 100644
index 0000000000..ecf453426c
--- /dev/null
+++ b/lua-busted/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD$
+
+DISTNAME=	lua-busted-2.0.0
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Olivine-Labs/}
+GITHUB_PROJECT=	busted
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+HOMEPAGE=	https://github.com/Olivine-Labs/busted
+COMMENT=	Elegant Lua unit testing
+LICENSE=	mit
+
+DEPENDS+=	${LUA_PKGPREFIX}-cliargs-[0-9]*:../../wip/lua-cliargs
+DEPENDS+=	${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+=	${LUA_PKGPREFIX}-system-[0-9]*:../../wip/lua-system
+DEPENDS+=	${LUA_PKGPREFIX}-dkjson-[0-9]*:../../wip/lua-dkjson
+DEPENDS+=	${LUA_PKGPREFIX}-say-[0-9]*:../../wip/lua-say
+DEPENDS+=	${LUA_PKGPREFIX}-luassert-[0-9]*:../../wip/lua-luassert
+DEPENDS+=	${LUA_PKGPREFIX}-term-[0-9]*:../../wip/lua-term
+DEPENDS+=	${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight
+DEPENDS+=	${LUA_PKGPREFIX}-mediator-[0-9]*:../../wip/lua-mediator
+
+NO_BUILD=	yes
+
+INSTALLATION_DIRS+=	${LUA_LDIR} ${PREFIX}/bin
+INSTALLATION_DIRS+=	${LUA_LDIR}/busted
+INSTALLATION_DIRS+=	${LUA_LDIR}/busted/modules
+INSTALLATION_DIRS+=	${LUA_LDIR}/busted/modules/files
+INSTALLATION_DIRS+=	${LUA_LDIR}/busted/outputHandlers
+INSTALLATION_DIRS+=	${LUA_LDIR}/busted/languages
+
+PLIST_SUBST+=	LUADOTVER=${_LUA_DOT_VERSION}
+
+SUBST_CLASSES+=			lua_interp
+SUBST_MESSAGE.lua_interp=	Fixing default lua path
+SUBST_STAGE.lua_interp=		post-extract
+SUBST_FILES.lua_interp=		bin/busted
+SUBST_SED.lua_interp=		-e 's,/usr/bin/env lua,${LUA_INTERPRETER},g'
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/busted/*.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/
+	${INSTALL_DATA} ${WRKSRC}/busted/modules/*.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/modules/
+	${INSTALL_DATA} ${WRKSRC}/busted/modules/files/*.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/modules/files/
+	${INSTALL_DATA} ${WRKSRC}/busted/outputHandlers/*.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/outputHandlers/
+	${INSTALL_DATA} ${WRKSRC}/busted/languages/*.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/busted/languages/
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/busted ${DESTDIR}${PREFIX}/bin/busted${_LUA_DOT_VERSION}
+
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-busted/PLIST b/lua-busted/PLIST
new file mode 100644
index 0000000000..c89439e000
--- /dev/null
+++ b/lua-busted/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD$
+bin/busted${LUADOTVER}
+${LUA_LDIR}/busted/block.lua
+${LUA_LDIR}/busted/compatibility.lua
+${LUA_LDIR}/busted/context.lua
+${LUA_LDIR}/busted/core.lua
+${LUA_LDIR}/busted/done.lua
+${LUA_LDIR}/busted/environment.lua
+${LUA_LDIR}/busted/execute.lua
+${LUA_LDIR}/busted/init.lua
+${LUA_LDIR}/busted/languages/ar.lua
+${LUA_LDIR}/busted/languages/de.lua
+${LUA_LDIR}/busted/languages/en.lua
+${LUA_LDIR}/busted/languages/es.lua
+${LUA_LDIR}/busted/languages/fr.lua
+${LUA_LDIR}/busted/languages/it.lua
+${LUA_LDIR}/busted/languages/ja.lua
+${LUA_LDIR}/busted/languages/nl.lua
+${LUA_LDIR}/busted/languages/pt-BR.lua
+${LUA_LDIR}/busted/languages/ru.lua
+${LUA_LDIR}/busted/languages/th.lua
+${LUA_LDIR}/busted/languages/ua.lua
+${LUA_LDIR}/busted/languages/zh.lua
+${LUA_LDIR}/busted/modules/cli.lua
+${LUA_LDIR}/busted/modules/configuration_loader.lua
+${LUA_LDIR}/busted/modules/files/lua.lua
+${LUA_LDIR}/busted/modules/files/moonscript.lua
+${LUA_LDIR}/busted/modules/files/terra.lua
+${LUA_LDIR}/busted/modules/filter_loader.lua
+${LUA_LDIR}/busted/modules/helper_loader.lua
+${LUA_LDIR}/busted/modules/luacov.lua
+${LUA_LDIR}/busted/modules/output_handler_loader.lua
+${LUA_LDIR}/busted/modules/standalone_loader.lua
+${LUA_LDIR}/busted/modules/test_file_loader.lua
+${LUA_LDIR}/busted/options.lua
+${LUA_LDIR}/busted/outputHandlers/TAP.lua
+${LUA_LDIR}/busted/outputHandlers/base.lua
+${LUA_LDIR}/busted/outputHandlers/gtest.lua
+${LUA_LDIR}/busted/outputHandlers/json.lua
+${LUA_LDIR}/busted/outputHandlers/junit.lua
+${LUA_LDIR}/busted/outputHandlers/plainTerminal.lua
+${LUA_LDIR}/busted/outputHandlers/sound.lua
+${LUA_LDIR}/busted/outputHandlers/utfTerminal.lua
+${LUA_LDIR}/busted/runner.lua
+${LUA_LDIR}/busted/status.lua
+${LUA_LDIR}/busted/utils.lua
diff --git a/lua-busted/distinfo b/lua-busted/distinfo
new file mode 100644
index 0000000000..b6e4079c10
--- /dev/null
+++ b/lua-busted/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-busted-2.0.0.tar.gz) = eb9dbbb7f61df58e00b033de0722372b03f7d924
+RMD160 (lua-busted-2.0.0.tar.gz) = 5c34e6fa4e4a6ab7f2ac32104143e8ed8f0563fa
+SHA512 (lua-busted-2.0.0.tar.gz) = 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf
+Size (lua-busted-2.0.0.tar.gz) = 55002 bytes


Home | Main Index | Thread Index | Old Index