Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lua-epnf Add lua-epnf-0.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/215419ca4f89
branches:  trunk
changeset: 436606:215419ca4f89
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 06 22:56:52 2020 +0000

description:
Add lua-epnf-0.3:

The LPeg library is a powerful tool to parse text and extract parts of it
using captures. It even provides grammars, which can be used to parse
non-regular languages, but the complexer the language gets, the more
difficult error handling and keeping track of captured information
becomes. luaepnf enhances usage of LPeg grammars by building an abstract
syntax tree (AST) for the input and providing tools for error reporting,
as well as offering syntax sugar and shortcuts for accessing LPeg's
features.

diffstat:

 devel/lua-epnf/DESCR    |   8 ++++++++
 devel/lua-epnf/Makefile |  24 ++++++++++++++++++++++++
 devel/lua-epnf/PLIST    |   2 ++
 devel/lua-epnf/distinfo |   7 +++++++
 4 files changed, 41 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r 335a324ac356 -r 215419ca4f89 devel/lua-epnf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-epnf/DESCR      Thu Aug 06 22:56:52 2020 +0000
@@ -0,0 +1,8 @@
+The LPeg library is a powerful tool to parse text and extract parts of it
+using captures. It even provides grammars, which can be used to parse
+non-regular languages, but the complexer the language gets, the more
+difficult error handling and keeping track of captured information
+becomes. luaepnf enhances usage of LPeg grammars by building an abstract
+syntax tree (AST) for the input and providing tools for error reporting,
+as well as offering syntax sugar and shortcuts for accessing LPeg's
+features.
diff -r 335a324ac356 -r 215419ca4f89 devel/lua-epnf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-epnf/Makefile   Thu Aug 06 22:56:52 2020 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 22:56:52 joerg Exp $
+
+DISTNAME=      epnf-0.3
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=siffiejoe/}
+GITHUB_PROJECT=        lua-luaepnf
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://siffiejoe.github.io/lua-luaepnf/
+COMMENT=       Abstract Syntax Tree support library for Lua
+LICENSE=       mit
+
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/epnf.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 335a324ac356 -r 215419ca4f89 devel/lua-epnf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-epnf/PLIST      Thu Aug 06 22:56:52 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/06 22:56:52 joerg Exp $
+${LUA_LDIR}/epnf.lua
diff -r 335a324ac356 -r 215419ca4f89 devel/lua-epnf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-epnf/distinfo   Thu Aug 06 22:56:52 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/08/06 22:56:52 joerg Exp $
+
+SHA1 (epnf-0.3.tar.gz) = dae64731a3e44fdb8a815a91a6080f7820569420
+RMD160 (epnf-0.3.tar.gz) = e9eca2a52fd91a9e198be0560be97df690b94b6d
+SHA512 (epnf-0.3.tar.gz) = 45a16c755aa96b920dfd4f581af0913f89c5b802f36e6fcca49b8e98350b3d607faa3685457ed76a25f9f4d6da285edff77036039579ed82ba5d4483ae9d7540
+Size (epnf-0.3.tar.gz) = 8095 bytes
+SHA1 (patch-makefile) = e229f3278a5dde00a4ef6736459caca4deeacea6



Home | Main Index | Thread Index | Old Index