Received: by mail.netbsd.org (Postfix, from userid 605) id 3629E84DA6; Wed, 8 Jul 2020 11:13:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B062A84D61 for ; Wed, 8 Jul 2020 11:13:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id dhh1-B0hcKV7 for ; Wed, 8 Jul 2020 11:13:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 1F86A84D2C for ; Wed, 8 Jul 2020 11:13:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 13686FB28; Wed, 8 Jul 2020 11:13:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159420682150890" MIME-Version: 1.0 Date: Wed, 8 Jul 2020 11:13:41 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/time To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200708111341.13686FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159420682150890 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_159420682150890 Content-Disposition: inline Content-Length: 3149 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_159420682150890--