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:           Wed Jul  8 11:13:40 UTC 2020

Modified Files:
        pkgsrc/time: Makefile
Added Files:
        pkgsrc/time/lua-tz: DESCR Makefile PLIST distinfo

Log Message:
time: Add lua-tz

A lua library for time and date manipulation.

Features include:

  - Normalisation of broken down date objects
          - allows for complex time/date manipulation logic, e.g.
            "What day is it in 2 days, 5 hours from now?"
  - Conversion between locations (time zones) using your local
    zoneinfo database.
  - `strftime` style formatting


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 pkgsrc/time/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/time/lua-tz/DESCR pkgsrc/time/lua-tz/Makefile \
    pkgsrc/time/lua-tz/PLIST pkgsrc/time/lua-tz/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/Makefile
diff -u pkgsrc/time/Makefile:1.209 pkgsrc/time/Makefile:1.210
--- pkgsrc/time/Makefile:1.209  Wed Jul  8 11:03:56 2020
+++ pkgsrc/time/Makefile        Wed Jul  8 11:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.209 2020/07/08 11:03:56 nia Exp $
+# $NetBSD: Makefile,v 1.210 2020/07/08 11:13:40 nia Exp $
 #
 
 COMMENT=       Clocks, calendars, daily planners and other time related applications
@@ -51,6 +51,7 @@ SUBDIR+=      libical
 SUBDIR+=       lmclock
 SUBDIR+=       logtime
 SUBDIR+=       lua-date
+SUBDIR+=       lua-tz
 SUBDIR+=       memo
 SUBDIR+=       ntpsec
 SUBDIR+=       ocaml-calendar

Added files:

Index: pkgsrc/time/lua-tz/DESCR
diff -u /dev/null pkgsrc/time/lua-tz/DESCR:1.1
--- /dev/null   Wed Jul  8 11:13:41 2020
+++ pkgsrc/time/lua-tz/DESCR    Wed Jul  8 11:13:40 2020
@@ -0,0 +1,10 @@
+A lua library for time and date manipulation.
+
+Features include:
+
+  - Normalisation of broken down date objects
+         - allows for complex time/date manipulation logic, e.g.
+            "What day is it in 2 days, 5 hours from now?"
+  - Conversion between locations (time zones) using your local
+    zoneinfo database.
+  - `strftime` style formatting
Index: pkgsrc/time/lua-tz/Makefile
diff -u /dev/null pkgsrc/time/lua-tz/Makefile:1.1
--- /dev/null   Wed Jul  8 11:13:41 2020
+++ pkgsrc/time/lua-tz/Makefile Wed Jul  8 11:13:40 2020
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 11:13:40 nia Exp $
+
+DISTNAME=      lua-tz-0.4.1
+PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
+CATEGORIES=    time lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=daurnimator/}
+GITHUB_PROJECT=        luatz
+GITHUB_TAG=    v0.4-1
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://daurnimator.github.io/luatz/
+COMMENT=       Lua library for time and date manipulation
+LICENSE=       mit
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG:S/^v//1}
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/luatz
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/luatz/* \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/luatz
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/lua-tz/PLIST
diff -u /dev/null pkgsrc/time/lua-tz/PLIST:1.1
--- /dev/null   Wed Jul  8 11:13:41 2020
+++ pkgsrc/time/lua-tz/PLIST    Wed Jul  8 11:13:40 2020
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 11:13:40 nia Exp $
+${LUA_LDIR}/luatz/gettime.lua
+${LUA_LDIR}/luatz/init.lua
+${LUA_LDIR}/luatz/parse.lua
+${LUA_LDIR}/luatz/strftime.lua
+${LUA_LDIR}/luatz/timetable.lua
+${LUA_LDIR}/luatz/tzcache.lua
+${LUA_LDIR}/luatz/tzfile.lua
+${LUA_LDIR}/luatz/tzinfo.lua
Index: pkgsrc/time/lua-tz/distinfo
diff -u /dev/null pkgsrc/time/lua-tz/distinfo:1.1
--- /dev/null   Wed Jul  8 11:13:41 2020
+++ pkgsrc/time/lua-tz/distinfo Wed Jul  8 11:13:40 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 11:13:40 nia Exp $
+
+SHA1 (lua-tz-0.4.1.tar.gz) = cec68ed8b22b5d397ce69a6dd5706994fb4cd7ac
+RMD160 (lua-tz-0.4.1.tar.gz) = c97e7c9a0b1471388333581a8cf6fe8253eba982
+SHA512 (lua-tz-0.4.1.tar.gz) = 87e53afa85aa66cc0359d9581eb3dd9974f6ceb11cb57b0bfc6745d9bb1b6dbc90520fb6834e5de85b7fc46ff44c5d35dfd7136547a1973585f8cbf8707b45d1
+Size (lua-tz-0.4.1.tar.gz) = 19297 bytes



Home | Main Index | Thread Index | Old Index