pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel: Use LUA_USE_BUSTED



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9089e4ffc34
branches:  trunk
changeset: 374333:c9089e4ffc34
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Feb 19 20:43:41 2022 +0000

description:
devel: Use LUA_USE_BUSTED

diffstat:

 devel/lua-basexx/Makefile     |  9 +++------
 devel/lua-binaryheap/Makefile |  9 +++------
 devel/lua-fifo/Makefile       |  9 +++------
 devel/lua-moses/Makefile      |  8 +++-----
 4 files changed, 12 insertions(+), 23 deletions(-)

diffs (129 lines):

diff -r 622494956e94 -r c9089e4ffc34 devel/lua-basexx/Makefile
--- a/devel/lua-basexx/Makefile Sat Feb 19 20:39:58 2022 +0000
+++ b/devel/lua-basexx/Makefile Sat Feb 19 20:43:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/08 16:26:06 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/19 20:43:41 nia Exp $
 
 DISTNAME=      lua-basexx-0.4.1
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-//1}
@@ -12,20 +12,17 @@
 COMMENT=       BaseXX encoding and decoding library for Lua
 LICENSE=       mit
 
-TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
-
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 
+LUA_USE_BUSTED=        yes
+
 INSTALLATION_DIRS+=    ${LUA_LDIR}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/lib/basexx.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/basexx.lua
 
-do-test:
-       cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
-
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 622494956e94 -r c9089e4ffc34 devel/lua-binaryheap/Makefile
--- a/devel/lua-binaryheap/Makefile     Sat Feb 19 20:39:58 2022 +0000
+++ b/devel/lua-binaryheap/Makefile     Sat Feb 19 20:43:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/08 16:28:08 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/19 20:43:41 nia Exp $
 
 DISTNAME=      lua-binaryheap-0.4
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-//1}
@@ -12,20 +12,17 @@
 COMMENT=       Binary heap implementation in Lua
 LICENSE=       mit
 
-TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
-
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 
+LUA_USE_BUSTED=        yes
+
 INSTALLATION_DIRS+=    ${LUA_LDIR}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/src/binaryheap.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/binaryheap.lua
 
-do-test:
-       cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION} --no-coverage
-
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 622494956e94 -r c9089e4ffc34 devel/lua-fifo/Makefile
--- a/devel/lua-fifo/Makefile   Sat Feb 19 20:39:58 2022 +0000
+++ b/devel/lua-fifo/Makefile   Sat Feb 19 20:43:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/08 16:29:43 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/19 20:43:41 nia Exp $
 
 DISTNAME=      lua-fifo-0.2
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -11,20 +11,17 @@
 COMMENT=       FIFO library for Lua
 LICENSE=       mit
 
-TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
-
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 
+LUA_USE_BUSTED=        yes
+
 INSTALLATION_DIRS+=    ${LUA_LDIR}
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/fifo.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/fifo.lua
 
-do-test:
-       cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
-
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 622494956e94 -r c9089e4ffc34 devel/lua-moses/Makefile
--- a/devel/lua-moses/Makefile  Sat Feb 19 20:39:58 2022 +0000
+++ b/devel/lua-moses/Makefile  Sat Feb 19 20:43:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/10 12:08:28 nia Exp $
+# $NetBSD: Makefile,v 1.2 2022/02/19 20:43:41 nia Exp $
 
 DISTNAME=      Moses-2.1.0-1
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:tl:S/-1$//1}
@@ -12,12 +12,13 @@
 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
 
+LUA_USE_BUSTED=        yes
+
 INSTALLATION_DIRS+=    ${LUA_DOCDIR}
 INSTALLATION_DIRS+=    ${LUA_LDIR}
 
@@ -29,8 +30,5 @@
        ${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"



Home | Main Index | Thread Index | Old Index