svn commit: r552363 - in head/devel: . lua-argparse

Kyle Evans kevans at FreeBSD.org
Wed Oct 14 23:59:42 UTC 2020


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 at 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


More information about the svn-ports-head mailing list