Wed Jul 8 16:23:23 2020 UTC ()
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.
(nia)
diff -r1.3164 -r1.3165 pkgsrc/devel/Makefile
diff -r0 -r1.1 pkgsrc/devel/lua-busted/DESCR
diff -r0 -r1.1 pkgsrc/devel/lua-busted/Makefile
diff -r0 -r1.1 pkgsrc/devel/lua-busted/PLIST
diff -r0 -r1.1 pkgsrc/devel/lua-busted/distinfo
--- pkgsrc/devel/Makefile 2020/07/08 15:46:36 1.3164
+++ pkgsrc/devel/Makefile 2020/07/08 16:23:23 1.3165
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.3164 2020/07/08 15:46:36 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.3165 2020/07/08 16:23:23 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Development utilities | | 4 | COMMENT= Development utilities |
5 | | | 5 | |
6 | SUBDIR+= ETL | | 6 | SUBDIR+= ETL |
7 | SUBDIR+= ExmanIDE | | 7 | SUBDIR+= ExmanIDE |
8 | SUBDIR+= GConf | | 8 | SUBDIR+= GConf |
9 | SUBDIR+= GConf-ui | | 9 | SUBDIR+= GConf-ui |
10 | SUBDIR+= Gorm | | 10 | SUBDIR+= Gorm |
11 | SUBDIR+= MoarVM | | 11 | SUBDIR+= MoarVM |
12 | SUBDIR+= ObjectiveLib | | 12 | SUBDIR+= ObjectiveLib |
13 | SUBDIR+= ProjectCenter | | 13 | SUBDIR+= ProjectCenter |
14 | SUBDIR+= R-BH | | 14 | SUBDIR+= R-BH |
| @@ -842,26 +842,27 @@ SUBDIR+= lmdbg | | | @@ -842,26 +842,27 @@ SUBDIR+= lmdbg |
842 | SUBDIR+= locktests | | 842 | SUBDIR+= locktests |
843 | SUBDIR+= log4cplus | | 843 | SUBDIR+= log4cplus |
844 | SUBDIR+= log4cxx | | 844 | SUBDIR+= log4cxx |
845 | SUBDIR+= log4shib | | 845 | SUBDIR+= log4shib |
846 | SUBDIR+= lokalize | | 846 | SUBDIR+= lokalize |
847 | SUBDIR+= ltsa | | 847 | SUBDIR+= ltsa |
848 | SUBDIR+= lua-BitOp | | 848 | SUBDIR+= lua-BitOp |
849 | SUBDIR+= lua-alt-getopt | | 849 | SUBDIR+= lua-alt-getopt |
850 | SUBDIR+= lua-ansicolors | | 850 | SUBDIR+= lua-ansicolors |
851 | SUBDIR+= lua-argparse | | 851 | SUBDIR+= lua-argparse |
852 | SUBDIR+= lua-basexx | | 852 | SUBDIR+= lua-basexx |
853 | SUBDIR+= lua-binaryheap | | 853 | SUBDIR+= lua-binaryheap |
854 | SUBDIR+= lua-bitlib | | 854 | SUBDIR+= lua-bitlib |
| | | 855 | SUBDIR+= lua-busted |
855 | SUBDIR+= lua-cliargs | | 856 | SUBDIR+= lua-cliargs |
856 | SUBDIR+= lua-compat53 | | 857 | SUBDIR+= lua-compat53 |
857 | SUBDIR+= lua-coxpcall | | 858 | SUBDIR+= lua-coxpcall |
858 | SUBDIR+= lua-cqueues | | 859 | SUBDIR+= lua-cqueues |
859 | SUBDIR+= lua-fifo | | 860 | SUBDIR+= lua-fifo |
860 | SUBDIR+= lua-filesystem | | 861 | SUBDIR+= lua-filesystem |
861 | SUBDIR+= lua-gi | | 862 | SUBDIR+= lua-gi |
862 | SUBDIR+= lua-inspect | | 863 | SUBDIR+= lua-inspect |
863 | SUBDIR+= lua-ljsyscall | | 864 | SUBDIR+= lua-ljsyscall |
864 | SUBDIR+= lua-lpeg | | 865 | SUBDIR+= lua-lpeg |
865 | SUBDIR+= lua-lpeg-patterns | | 866 | SUBDIR+= lua-lpeg-patterns |
866 | SUBDIR+= lua-lrexlib | | 867 | SUBDIR+= lua-lrexlib |
867 | SUBDIR+= lua-lrexlib-onig | | 868 | SUBDIR+= lua-lrexlib-onig |
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.
# $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
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"
@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
$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