pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time lua: Use LUA_USE_BUSTED



details:   https://anonhg.NetBSD.org/pkgsrc/rev/732bea2aa684
branches:  trunk
changeset: 374334:732bea2aa684
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Feb 19 20:47:21 2022 +0000

description:
lua: Use LUA_USE_BUSTED

diffstat:

 time/lua-date/Makefile |   8 +++-----
 time/lua-tz/Makefile   |  10 ++++------
 2 files changed, 7 insertions(+), 11 deletions(-)

diffs (66 lines):

diff -r c9089e4ffc34 -r 732bea2aa684 time/lua-date/Makefile
--- a/time/lua-date/Makefile    Sat Feb 19 20:43:41 2022 +0000
+++ b/time/lua-date/Makefile    Sat Feb 19 20:47:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/12/10 13:08:46 nia Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/19 20:47:21 nia Exp $
 
 DISTNAME=      lua-date-2.2
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -12,21 +12,19 @@
 COMMENT=       Date and Time module for Lua 5.x
 LICENSE=       mit
 
-TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
 TEST_DEPENDS+= ${LUA_PKGPREFIX}-cov-[0-9]*:../../devel/lua-cov
 
 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/date.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/date.lua
 
-do-test:
-       cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
-
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c9089e4ffc34 -r 732bea2aa684 time/lua-tz/Makefile
--- a/time/lua-tz/Makefile      Sat Feb 19 20:43:41 2022 +0000
+++ b/time/lua-tz/Makefile      Sat Feb 19 20:47:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/08 16:40:55 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/19 20:47:21 nia Exp $
 
 DISTNAME=      lua-tz-0.4.1
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -12,20 +12,18 @@
 COMMENT=       Lua library for time and date manipulation
 LICENSE=       mit
 
-TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
-
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG:S/^v//1}
 USE_LANGUAGES= # none
 NO_BUILD=      yes
 
+LUA_USE_BUSTED=        yes
+TEST_ENV+=     TZ=GMT
+
 INSTALLATION_DIRS+=    ${LUA_LDIR}/luatz
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/luatz/* \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/luatz
 
-do-test:
-       cd ${WRKSRC} && TZ=GMT ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
-
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index