pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time
Module Name: pkgsrc
Committed By: nia
Date: Sat Feb 19 20:47:21 UTC 2022
Modified Files:
pkgsrc/time/lua-date: Makefile
pkgsrc/time/lua-tz: Makefile
Log Message:
lua: Use LUA_USE_BUSTED
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/time/lua-date/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/lua-tz/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/lua-date/Makefile
diff -u pkgsrc/time/lua-date/Makefile:1.4 pkgsrc/time/lua-date/Makefile:1.5
--- pkgsrc/time/lua-date/Makefile:1.4 Fri Dec 10 13:08:46 2021
+++ pkgsrc/time/lua-date/Makefile Sat Feb 19 20:47:21 2022
@@ -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 @@ HOMEPAGE= https://tieske.github.io/date/
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"
Index: pkgsrc/time/lua-tz/Makefile
diff -u pkgsrc/time/lua-tz/Makefile:1.2 pkgsrc/time/lua-tz/Makefile:1.3
--- pkgsrc/time/lua-tz/Makefile:1.2 Wed Jul 8 16:40:55 2020
+++ pkgsrc/time/lua-tz/Makefile Sat Feb 19 20:47:21 2022
@@ -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 @@ HOMEPAGE= https://daurnimator.github.io/
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