pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/lua-date
Module Name: pkgsrc
Committed By: nia
Date: Wed Jul 8 16:36:04 UTC 2020
Modified Files:
pkgsrc/time/lua-date: Makefile
Log Message:
lua-date: Support for testing
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/lua-date/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.1 pkgsrc/time/lua-date/Makefile:1.2
--- pkgsrc/time/lua-date/Makefile:1.1 Wed Jul 8 11:03:57 2020
+++ pkgsrc/time/lua-date/Makefile Wed Jul 8 16:36:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/08 11:03:57 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/08 16:36:04 nia Exp $
DISTNAME= lua-date-2.1.2
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -12,6 +12,8 @@ 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
+
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
USE_LANGUAGES= # none
NO_BUILD= yes
@@ -22,5 +24,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/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"
Home |
Main Index |
Thread Index |
Old Index