pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  8 15:36:22 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-cliargs: DESCR Makefile PLIST distinfo

Log Message:
devel: Add lua-cliargs, based on work by Jonathan Buschmann in wip

cliargs is a command-line argument parser for Lua.
It supports several types of arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.3162 -r1.3163 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-cliargs/DESCR \
    pkgsrc/devel/lua-cliargs/Makefile pkgsrc/devel/lua-cliargs/PLIST \
    pkgsrc/devel/lua-cliargs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3162 pkgsrc/devel/Makefile:1.3163
--- pkgsrc/devel/Makefile:1.3162        Wed Jul  8 15:22:32 2020
+++ pkgsrc/devel/Makefile       Wed Jul  8 15:36:21 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3162 2020/07/08 15:22:32 nia Exp $
+# $NetBSD: Makefile,v 1.3163 2020/07/08 15:36:21 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -852,6 +852,7 @@ SUBDIR+=    lua-argparse
 SUBDIR+=       lua-basexx
 SUBDIR+=       lua-binaryheap
 SUBDIR+=       lua-bitlib
+SUBDIR+=       lua-cliargs
 SUBDIR+=       lua-compat53
 SUBDIR+=       lua-coxpcall
 SUBDIR+=       lua-cqueues

Added files:

Index: pkgsrc/devel/lua-cliargs/DESCR
diff -u /dev/null pkgsrc/devel/lua-cliargs/DESCR:1.1
--- /dev/null   Wed Jul  8 15:36:22 2020
+++ pkgsrc/devel/lua-cliargs/DESCR      Wed Jul  8 15:36:21 2020
@@ -0,0 +1,2 @@
+cliargs is a command-line argument parser for Lua.
+It supports several types of arguments.
Index: pkgsrc/devel/lua-cliargs/Makefile
diff -u /dev/null pkgsrc/devel/lua-cliargs/Makefile:1.1
--- /dev/null   Wed Jul  8 15:36:22 2020
+++ pkgsrc/devel/lua-cliargs/Makefile   Wed Jul  8 15:36:21 2020
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 15:36:21 nia Exp $
+
+DISTNAME=      lua_cliargs-3.0.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua_//1}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=amireh/}
+GITHUB_PROJECT=        lua_cliargs
+GITHUB_TAG=    v3.0-2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/amireh/lua_cliargs
+COMMENT=       Command-line argument parsing module for Lua
+LICENSE=       mit
+
+NO_BUILD=      yes
+NO_CONFIGURE=  yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+INSTALLATION_DIRS+=    ${LUA_LDIR}/cliargs
+INSTALLATION_DIRS+=    ${LUA_LDIR}/cliargs/utils
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/cliargs.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/cliargs/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cliargs
+       ${INSTALL_DATA} ${WRKSRC}/src/cliargs/utils/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cliargs/utils
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-cliargs/PLIST
diff -u /dev/null pkgsrc/devel/lua-cliargs/PLIST:1.1
--- /dev/null   Wed Jul  8 15:36:22 2020
+++ pkgsrc/devel/lua-cliargs/PLIST      Wed Jul  8 15:36:21 2020
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 15:36:21 nia Exp $
+${LUA_LDIR}/cliargs.lua
+${LUA_LDIR}/cliargs/config_loader.lua
+${LUA_LDIR}/cliargs/constants.lua
+${LUA_LDIR}/cliargs/core.lua
+${LUA_LDIR}/cliargs/parser.lua
+${LUA_LDIR}/cliargs/printer.lua
+${LUA_LDIR}/cliargs/utils/disect.lua
+${LUA_LDIR}/cliargs/utils/disect_argument.lua
+${LUA_LDIR}/cliargs/utils/filter.lua
+${LUA_LDIR}/cliargs/utils/lookup.lua
+${LUA_LDIR}/cliargs/utils/shallow_copy.lua
+${LUA_LDIR}/cliargs/utils/split.lua
+${LUA_LDIR}/cliargs/utils/trim.lua
+${LUA_LDIR}/cliargs/utils/wordwrap.lua
Index: pkgsrc/devel/lua-cliargs/distinfo
diff -u /dev/null pkgsrc/devel/lua-cliargs/distinfo:1.1
--- /dev/null   Wed Jul  8 15:36:22 2020
+++ pkgsrc/devel/lua-cliargs/distinfo   Wed Jul  8 15:36:21 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 15:36:21 nia Exp $
+
+SHA1 (lua_cliargs-3.0.2.tar.gz) = 54744bfe6a3b2d59966637927bcfa7320f94dc0c
+RMD160 (lua_cliargs-3.0.2.tar.gz) = 41404ebec2631486faaaa3b13803622233ba3ccb
+SHA512 (lua_cliargs-3.0.2.tar.gz) = e7a475f1d41249b0a35f021a6ccca46078f5b689c1927a4dd4cab80b2e4d291babaab35cf7d64fad3ebf68d871fb5177f030c7a2b28d9f55fbeb4dd26021d024
+Size (lua_cliargs-3.0.2.tar.gz) = 30435 bytes



Home | Main Index | Thread Index | Old Index