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: Wed Jul 8 16:23:23 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/lua-busted: DESCR Makefile PLIST distinfo
Log Message:
devel: Add lua-busted, based on work by Jonathan Buschmann in wip
busted is a Lua unit testing framework with a focus on being easy to use.
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3164 -r1.3165 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-busted/DESCR \
pkgsrc/devel/lua-busted/Makefile pkgsrc/devel/lua-busted/PLIST \
pkgsrc/devel/lua-busted/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.3164 pkgsrc/devel/Makefile:1.3165
--- pkgsrc/devel/Makefile:1.3164 Wed Jul 8 15:46:36 2020
+++ pkgsrc/devel/Makefile Wed Jul 8 16:23:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3164 2020/07/08 15:46:36 nia Exp $
+# $NetBSD: Makefile,v 1.3165 2020/07/08 16:23:23 nia Exp $
#
COMMENT= Development utilities
@@ -852,6 +852,7 @@ SUBDIR+= lua-argparse
SUBDIR+= lua-basexx
SUBDIR+= lua-binaryheap
SUBDIR+= lua-bitlib
+SUBDIR+= lua-busted
SUBDIR+= lua-cliargs
SUBDIR+= lua-compat53
SUBDIR+= lua-coxpcall
Added files:
Index: pkgsrc/devel/lua-busted/DESCR
diff -u /dev/null pkgsrc/devel/lua-busted/DESCR:1.1
--- /dev/null Wed Jul 8 16:23:23 2020
+++ pkgsrc/devel/lua-busted/DESCR Wed Jul 8 16:23:23 2020
@@ -0,0 +1,4 @@
+busted is a Lua unit testing framework with a focus on being easy to use.
+
+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.
Index: pkgsrc/devel/lua-busted/Makefile
diff -u /dev/null pkgsrc/devel/lua-busted/Makefile:1.1
--- /dev/null Wed Jul 8 16:23:23 2020
+++ pkgsrc/devel/lua-busted/Makefile Wed Jul 8 16:23:23 2020
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 16:23:23 nia Exp $
+
+DISTNAME= busted-2.0.0
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Olivine-Labs/}
+GITHUB_PROJECT= busted
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Olivine-Labs/busted
+COMMENT= Elegant Lua unit testing
+LICENSE= mit
+
+DEPENDS+= ${LUA_PKGPREFIX}-cliargs-[0-9]*:../../devel/lua-cliargs
+DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+= ${LUA_PKGPREFIX}-system-[0-9]*:../../devel/lua-system
+DEPENDS+= ${LUA_PKGPREFIX}-dkjson-[0-9]*:../../textproc/lua-dkjson
+DEPENDS+= ${LUA_PKGPREFIX}-say-[0-9]*:../../devel/lua-say
+DEPENDS+= ${LUA_PKGPREFIX}-luassert-[0-9]*:../../devel/lua-luassert
+DEPENDS+= ${LUA_PKGPREFIX}-term-[0-9]*:../../devel/lua-term
+DEPENDS+= ${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight
+DEPENDS+= ${LUA_PKGPREFIX}-mediator-[0-9]*:../../devel/lua-mediator
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+PLIST_SUBST+= LUADOTVER=${_LUA_DOT_VERSION}
+
+INSTALLATION_DIRS+= 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
+
+SUBST_CLASSES+= lua
+SUBST_MESSAGE.lua= Fixing Lua interpreter path
+SUBST_STAGE.lua= pre-configure
+SUBST_FILES.lua= bin/busted
+SUBST_SED.lua= -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"
Index: pkgsrc/devel/lua-busted/PLIST
diff -u /dev/null pkgsrc/devel/lua-busted/PLIST:1.1
--- /dev/null Wed Jul 8 16:23:23 2020
+++ pkgsrc/devel/lua-busted/PLIST Wed Jul 8 16:23:23 2020
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 16:23:23 nia Exp $
+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
Index: pkgsrc/devel/lua-busted/distinfo
diff -u /dev/null pkgsrc/devel/lua-busted/distinfo:1.1
--- /dev/null Wed Jul 8 16:23:23 2020
+++ pkgsrc/devel/lua-busted/distinfo Wed Jul 8 16:23:23 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 16:23:23 nia Exp $
+
+SHA1 (busted-2.0.0.tar.gz) = eb9dbbb7f61df58e00b033de0722372b03f7d924
+RMD160 (busted-2.0.0.tar.gz) = 5c34e6fa4e4a6ab7f2ac32104143e8ed8f0563fa
+SHA512 (busted-2.0.0.tar.gz) = 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf
+Size (busted-2.0.0.tar.gz) = 55002 bytes
Home |
Main Index |
Thread Index |
Old Index