Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc textproc: Add lua-inifile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d43d21120029
branches:  trunk
changeset: 435565:d43d21120029
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 09 11:14:00 2020 +0000

description:
textproc: Add lua-inifile

Inifile is a lua library for parsing and writing ini files.

It supports multiple backends, these are:

- io: The lua i/o library backend, the default.
- memory: The memory backend uses the filename as input, and returns
  the output on write.
- love: Uses LOVE's love.filesystem, this is the default when LOVE
  is detected.

diffstat:

 textproc/Makefile             |   3 ++-
 textproc/lua-inifile/DESCR    |   9 +++++++++
 textproc/lua-inifile/Makefile |  25 +++++++++++++++++++++++++
 textproc/lua-inifile/PLIST    |   2 ++
 textproc/lua-inifile/distinfo |   6 ++++++
 5 files changed, 44 insertions(+), 1 deletions(-)

diffs (75 lines):

diff -r 89a27baa7855 -r d43d21120029 textproc/Makefile
--- a/textproc/Makefile Thu Jul 09 10:56:54 2020 +0000
+++ b/textproc/Makefile Thu Jul 09 11:14:00 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1157 2020/07/08 17:00:03 nia Exp $
+# $NetBSD: Makefile,v 1.1158 2020/07/09 11:14:00 nia Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -463,6 +463,7 @@
 SUBDIR+=       lua-dkjson
 SUBDIR+=       lua-etlua
 SUBDIR+=       lua-expat
+SUBDIR+=       lua-inifile
 SUBDIR+=       lua-lustache
 SUBDIR+=       lua-markdown
 SUBDIR+=       lua-rapidjson
diff -r 89a27baa7855 -r d43d21120029 textproc/lua-inifile/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-inifile/DESCR        Thu Jul 09 11:14:00 2020 +0000
@@ -0,0 +1,9 @@
+Inifile is a lua library for parsing and writing ini files.
+
+It supports multiple backends, these are:
+
+- io: The lua i/o library backend, the default.
+- memory: The memory backend uses the filename as input, and returns
+  the output on write.
+- love: Uses LOVE's love.filesystem, this is the default when LOVE
+  is detected.
diff -r 89a27baa7855 -r d43d21120029 textproc/lua-inifile/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-inifile/Makefile     Thu Jul 09 11:14:00 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/07/09 11:14:01 nia Exp $
+
+DISTNAME=      lua-inifile-1.0
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
+CATEGORIES=    textproc lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bartbes/}
+GITHUB_PROJECT=        inifile
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      http://docs.bartbes.com/inifile
+COMMENT=       Lua library for parsing and writing .ini files
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/inifile.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/inifile.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 89a27baa7855 -r d43d21120029 textproc/lua-inifile/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-inifile/PLIST        Thu Jul 09 11:14:00 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/09 11:14:01 nia Exp $
+${LUA_LDIR}/inifile.lua
diff -r 89a27baa7855 -r d43d21120029 textproc/lua-inifile/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lua-inifile/distinfo     Thu Jul 09 11:14:00 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/09 11:14:01 nia Exp $
+
+SHA1 (lua-inifile-1.0.tar.gz) = 98078b044100af1f630bb6c9070b56d22ded30f0
+RMD160 (lua-inifile-1.0.tar.gz) = ccd28690805643b45cf629f9dbde50f4567952f2
+SHA512 (lua-inifile-1.0.tar.gz) = d0a9aa825cd5cf4a3b0b562853f3593141f537388c3e3a4334317b2536aa2dd695bdea37058d3d907aad10162bb71ef5b324c769e65cbd18e4526e37275cb970
+Size (lua-inifile-1.0.tar.gz) = 2611 bytes



Home | Main Index | Thread Index | Old Index