Received: by mail.netbsd.org (Postfix, from userid 605) id 707A384D55; Thu, 6 Aug 2020 22:31:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ECA7B84D04 for ; Thu, 6 Aug 2020 22:31:15 +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 ZbMcA0JnBDoi for ; Thu, 6 Aug 2020 22:31:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4E68A84CE9 for ; Thu, 6 Aug 2020 22:31:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 42D03FB28; Thu, 6 Aug 2020 22:31:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1596753075290110" MIME-Version: 1.0 Date: Thu, 6 Aug 2020 22:31:15 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: pkgsrc/textproc/lua-cosmo To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org X-Mailer: log_accum Message-Id: <20200806223115.42D03FB28@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. --_----------=_1596753075290110 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: joerg Date: Thu Aug 6 22:31:15 UTC 2020 Added Files: pkgsrc/textproc/lua-cosmo: DESCR Makefile PLIST distinfo Log Message: Add lua-cosmoso-16.06.04: Cosmo is a "safe templates" engine. It allows you to fill nested templates, providing many of the advantages of Turing-complete template engines, without without the downside of allowing arbitrary code in the templates. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/lua-cosmo/DESCR \ pkgsrc/textproc/lua-cosmo/Makefile pkgsrc/textproc/lua-cosmo/PLIST \ pkgsrc/textproc/lua-cosmo/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1596753075290110 Content-Disposition: inline Content-Length: 2467 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/textproc/lua-cosmo/DESCR diff -u /dev/null pkgsrc/textproc/lua-cosmo/DESCR:1.1 --- /dev/null Thu Aug 6 22:31:15 2020 +++ pkgsrc/textproc/lua-cosmo/DESCR Thu Aug 6 22:31:15 2020 @@ -0,0 +1,4 @@ +Cosmo is a "safe templates" engine. It allows you to fill nested +templates, providing many of the advantages of Turing-complete template +engines, without without the downside of allowing arbitrary code in the +templates. Index: pkgsrc/textproc/lua-cosmo/Makefile diff -u /dev/null pkgsrc/textproc/lua-cosmo/Makefile:1.1 --- /dev/null Thu Aug 6 22:31:15 2020 +++ pkgsrc/textproc/lua-cosmo/Makefile Thu Aug 6 22:31:15 2020 @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2020/08/06 22:31:15 joerg Exp $ + +DISTNAME= lua-cosmoso-16.06.04 +PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1} +CATEGORIES= textproc lua +MASTER_SITES= ${MASTER_SITE_GITHUB:=mascarenhas/} +GITHUB_PROJECT= cosmo +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/mascarenhas/cosmo/ +COMMENT= Lua template engine +LICENSE= mit + +USE_TOOLS+= gmake + +INSTALLATION_DIRS+= ${LUA_LDIR}/cosmo + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/cosmo.lua ${DESTDIR}${PREFIX}/${LUA_LDIR} + ${INSTALL_DATA} ${WRKSRC}/src/cosmo/*.lua \ + ${DESTDIR}${PREFIX}/${LUA_LDIR}/cosmo + +do-test: + cd ${WRKSRC}/tests && ${LUA_INTERPRETER} test_cosmo.lua + +.include "../../lang/lua/module.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/lua-cosmo/PLIST diff -u /dev/null pkgsrc/textproc/lua-cosmo/PLIST:1.1 --- /dev/null Thu Aug 6 22:31:15 2020 +++ pkgsrc/textproc/lua-cosmo/PLIST Thu Aug 6 22:31:15 2020 @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2020/08/06 22:31:15 joerg Exp $ +${LUA_LDIR}/cosmo.lua +${LUA_LDIR}/cosmo/fill.lua +${LUA_LDIR}/cosmo/grammar.lua Index: pkgsrc/textproc/lua-cosmo/distinfo diff -u /dev/null pkgsrc/textproc/lua-cosmo/distinfo:1.1 --- /dev/null Thu Aug 6 22:31:15 2020 +++ pkgsrc/textproc/lua-cosmo/distinfo Thu Aug 6 22:31:15 2020 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/08/06 22:31:15 joerg Exp $ + +SHA1 (lua-cosmoso-16.06.04.tar.gz) = eb00692ae22542eccfb608f69a9d9fb6c1f1c51c +RMD160 (lua-cosmoso-16.06.04.tar.gz) = 0ca12a5faa1ea22a074a2e380f25c1ec132a205a +SHA512 (lua-cosmoso-16.06.04.tar.gz) = 3bd67d48693c46038f2e644b0ae380a169b8811ca72b03d99847bef7911812f6e447c2edec3440dc93f9ac505397938a57af4a683a7745e48692625398bbe585 +Size (lua-cosmoso-16.06.04.tar.gz) = 25798 bytes --_----------=_1596753075290110--