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:03:57 UTC 2020

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 pkgsrc/time/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/time/lua-date/DESCR \
    pkgsrc/time/lua-date/Makefile pkgsrc/time/lua-date/PLIST \
    pkgsrc/time/lua-date/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.208 pkgsrc/time/Makefile:1.209
--- pkgsrc/time/Makefile:1.208  Wed Jul  1 15:57:35 2020
+++ pkgsrc/time/Makefile        Wed Jul  8 11:03:56 2020
@@ -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+=      leapsunpack
 SUBDIR+=       libical
 SUBDIR+=       lmclock
 SUBDIR+=       logtime
+SUBDIR+=       lua-date
 SUBDIR+=       memo
 SUBDIR+=       ntpsec
 SUBDIR+=       ocaml-calendar

Added files:

Index: pkgsrc/time/lua-date/DESCR
diff -u /dev/null pkgsrc/time/lua-date/DESCR:1.1
--- /dev/null   Wed Jul  8 11:03:57 2020
+++ pkgsrc/time/lua-date/DESCR  Wed Jul  8 11:03:57 2020
@@ -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.
Index: pkgsrc/time/lua-date/Makefile
diff -u /dev/null pkgsrc/time/lua-date/Makefile:1.1
--- /dev/null   Wed Jul  8 11:03:57 2020
+++ pkgsrc/time/lua-date/Makefile       Wed Jul  8 11:03:57 2020
@@ -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"
Index: pkgsrc/time/lua-date/PLIST
diff -u /dev/null pkgsrc/time/lua-date/PLIST:1.1
--- /dev/null   Wed Jul  8 11:03:57 2020
+++ pkgsrc/time/lua-date/PLIST  Wed Jul  8 11:03:57 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 11:03:57 nia Exp $
+${LUA_LDIR}/date.lua
Index: pkgsrc/time/lua-date/distinfo
diff -u /dev/null pkgsrc/time/lua-date/distinfo:1.1
--- /dev/null   Wed Jul  8 11:03:57 2020
+++ pkgsrc/time/lua-date/distinfo       Wed Jul  8 11:03:57 2020
@@ -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