Date: Wed, 14 Oct 2020 23:59:41 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552363 - in head/devel: . lua-argparse Message-ID: <202010142359.09ENxfA0047770@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Wed Oct 14 23:59:40 2020 New Revision: 552363 URL: https://svnweb.freebsd.org/changeset/ports/552363 Log: [NEW PORT] devel/lua-argparse Argparse is a feature-rich command line parser for Lua inspired by argparse for Python. Argparse supports positional arguments, options, flags, optional arguments, subcommands and more. Argparse automatically generates usage, help, and error messages, and can generate shell completion scripts. WWW: https://github.com/luarocks/argparse Added: head/devel/lua-argparse/ head/devel/lua-argparse/Makefile (contents, props changed) head/devel/lua-argparse/distinfo (contents, props changed) head/devel/lua-argparse/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Oct 14 23:56:38 2020 (r552362) +++ head/devel/Makefile Wed Oct 14 23:59:40 2020 (r552363) @@ -1416,6 +1416,7 @@ SUBDIR += love5 SUBDIR += lpc21isp SUBDIR += lrmi + SUBDIR += lua-argparse SUBDIR += lua-bitlib SUBDIR += lua-bitop SUBDIR += lua-cjson Added: head/devel/lua-argparse/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-argparse/Makefile Wed Oct 14 23:59:40 2020 (r552363) @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= argparse +PORTVERSION= 0.7.1 +CATEGORIES= devel +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= kevans@FreeBSD.org +COMMENT= Feature-rich command line parser for Lua + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= lua +NO_ARCH= yes +NO_BUILD= yes + +USE_GITHUB= yes +GH_ACCOUNT= luarocks + +PLIST_FILES= ${LUA_MODSHAREDIR}/argparse.lua + +do-install: + ${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR} + ${INSTALL_DATA} ${WRKSRC}/src/argparse.lua ${STAGEDIR}${LUA_MODSHAREDIR} + +.include <bsd.port.mk> Added: head/devel/lua-argparse/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-argparse/distinfo Wed Oct 14 23:59:40 2020 (r552363) @@ -0,0 +1,3 @@ +TIMESTAMP = 1602515380 +SHA256 (luarocks-argparse-0.7.1_GH0.tar.gz) = d344e49404c3e7b3e7fa4fe6741c106f25909d9b24923cb08dcceda1f9754809 +SIZE (luarocks-argparse-0.7.1_GH0.tar.gz) = 43778 Added: head/devel/lua-argparse/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-argparse/pkg-descr Wed Oct 14 23:59:40 2020 (r552363) @@ -0,0 +1,8 @@ +Argparse is a feature-rich command line parser for Lua inspired by argparse for +Python. + +Argparse supports positional arguments, options, flags, optional arguments, +subcommands and more. Argparse automatically generates usage, help, and error +messages, and can generate shell completion scripts. + +WWW: https://github.com/luarocks/argparse
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010142359.09ENxfA0047770>