Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time time: Add lua-date
details: https://anonhg.NetBSD.org/pkgsrc/rev/607000683496
branches: trunk
changeset: 435467:607000683496
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jul 08 11:03:56 2020 +0000
description:
time: Add lua-date
Date and Time module for Lua 5.x.
Features:
* Date and Time string parsing.
* Time addition and subtraction.
* Time span calculation.
* Support ISO 8601 Dates.
* Local time support.
* Lua module (not binary).
* Formats Date and Time like strftime.
diffstat:
time/Makefile | 3 ++-
time/lua-date/DESCR | 11 +++++++++++
time/lua-date/Makefile | 26 ++++++++++++++++++++++++++
time/lua-date/PLIST | 2 ++
time/lua-date/distinfo | 6 ++++++
5 files changed, 47 insertions(+), 1 deletions(-)
diffs (78 lines):
diff -r 7695d02ec046 -r 607000683496 time/Makefile
--- a/time/Makefile Wed Jul 08 09:29:03 2020 +0000
+++ b/time/Makefile Wed Jul 08 11:03:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.208 2020/07/01 15:57:35 adam Exp $
+# $NetBSD: Makefile,v 1.209 2020/07/08 11:03:56 nia Exp $
#
COMMENT= Clocks, calendars, daily planners and other time related applications
@@ -50,6 +50,7 @@
SUBDIR+= libical
SUBDIR+= lmclock
SUBDIR+= logtime
+SUBDIR+= lua-date
SUBDIR+= memo
SUBDIR+= ntpsec
SUBDIR+= ocaml-calendar
diff -r 7695d02ec046 -r 607000683496 time/lua-date/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/lua-date/DESCR Wed Jul 08 11:03:56 2020 +0000
@@ -0,0 +1,11 @@
+Date and Time module for Lua 5.x.
+
+Features:
+
+* Date and Time string parsing.
+* Time addition and subtraction.
+* Time span calculation.
+* Support ISO 8601 Dates.
+* Local time support.
+* Lua module (not binary).
+* Formats Date and Time like strftime.
diff -r 7695d02ec046 -r 607000683496 time/lua-date/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/lua-date/Makefile Wed Jul 08 11:03:56 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 11:03:57 nia Exp $
+
+DISTNAME= lua-date-2.1.2
+PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
+CATEGORIES= time lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Tieske/}
+GITHUB_PROJECT= date
+GITHUB_TAG= version_${PKGVERSION_NOREV}
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://tieske.github.io/date/
+COMMENT= Date and Time module for Lua 5.x
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/date.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/date.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7695d02ec046 -r 607000683496 time/lua-date/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/lua-date/PLIST Wed Jul 08 11:03:56 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 11:03:57 nia Exp $
+${LUA_LDIR}/date.lua
diff -r 7695d02ec046 -r 607000683496 time/lua-date/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/lua-date/distinfo Wed Jul 08 11:03:56 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 11:03:57 nia Exp $
+
+SHA1 (lua-date-2.1.2.tar.gz) = ac449681948f739e1c12eb3b946ed075efcf7929
+RMD160 (lua-date-2.1.2.tar.gz) = db032c48cbc9ae51dab5199e6955aa29403edf62
+SHA512 (lua-date-2.1.2.tar.gz) = 78b85b05e2d3b41af024baae83b29f4deadbf2501d6a8c50017f9bc4125c53c83c821e415536b4b9f35b6025051af3d8e24eb93e47b0f36eeec62444c03ed364
+Size (lua-date-2.1.2.tar.gz) = 31018 bytes
Home |
Main Index |
Thread Index |
Old Index