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:           Thu Jul  2 11:36:36 UTC 2020

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

Log Message:
devel: Add lua-argparse. Based on work by Jonathan Buschmann in wip.

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.


To generate a diff of this commit:
cvs rdiff -u -r1.3151 -r1.3152 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-argparse/DESCR \
    pkgsrc/devel/lua-argparse/Makefile pkgsrc/devel/lua-argparse/PLIST \
    pkgsrc/devel/lua-argparse/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.3151 pkgsrc/devel/Makefile:1.3152
--- pkgsrc/devel/Makefile:1.3151        Thu Jul  2 11:16:18 2020
+++ pkgsrc/devel/Makefile       Thu Jul  2 11:36:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3151 2020/07/02 11:16:18 nia Exp $
+# $NetBSD: Makefile,v 1.3152 2020/07/02 11:36:36 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -846,6 +846,7 @@ SUBDIR+=    lokalize
 SUBDIR+=       ltsa
 SUBDIR+=       lua-BitOp
 SUBDIR+=       lua-alt-getopt
+SUBDIR+=       lua-argparse
 SUBDIR+=       lua-bitlib
 SUBDIR+=       lua-coxpcall
 SUBDIR+=       lua-cqueues

Added files:

Index: pkgsrc/devel/lua-argparse/DESCR
diff -u /dev/null pkgsrc/devel/lua-argparse/DESCR:1.1
--- /dev/null   Thu Jul  2 11:36:36 2020
+++ pkgsrc/devel/lua-argparse/DESCR     Thu Jul  2 11:36:36 2020
@@ -0,0 +1,6 @@
+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.
Index: pkgsrc/devel/lua-argparse/Makefile
diff -u /dev/null pkgsrc/devel/lua-argparse/Makefile:1.1
--- /dev/null   Thu Jul  2 11:36:36 2020
+++ pkgsrc/devel/lua-argparse/Makefile  Thu Jul  2 11:36:36 2020
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/07/02 11:36:36 nia Exp $
+
+DISTNAME=      lua-argparse-0.7.0
+PKGNAME=       ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=luarocks/}
+GITHUB_PROJECT=        argparse
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/luarocks/argparse
+COMMENT=       Feature-rich command-line argument parser for Lua
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+NO_CONFIGURE=  yes
+
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/lua-//}
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/*.lua \
+                ${DESTDIR}${PREFIX}/${LUA_LDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-argparse/PLIST
diff -u /dev/null pkgsrc/devel/lua-argparse/PLIST:1.1
--- /dev/null   Thu Jul  2 11:36:36 2020
+++ pkgsrc/devel/lua-argparse/PLIST     Thu Jul  2 11:36:36 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 11:36:36 nia Exp $
+${LUA_LDIR}/argparse.lua
Index: pkgsrc/devel/lua-argparse/distinfo
diff -u /dev/null pkgsrc/devel/lua-argparse/distinfo:1.1
--- /dev/null   Thu Jul  2 11:36:36 2020
+++ pkgsrc/devel/lua-argparse/distinfo  Thu Jul  2 11:36:36 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/02 11:36:36 nia Exp $
+
+SHA1 (lua-argparse-0.7.0.tar.gz) = d826e9eb73c27a55a1e17a2f368f6b3fd6f13d9d
+RMD160 (lua-argparse-0.7.0.tar.gz) = f1f2ed1035e2fcd4f8d29802c3ea179437768dc4
+SHA512 (lua-argparse-0.7.0.tar.gz) = 81aa94a7f522fcee9cefc5fd86d845bc375308e01c3cc90023ec9a0f42e0ce382c6708acb4269e0a8b200d1f13f394fb11acc97bfbb3253f0779966c5b2a36bf
+Size (lua-argparse-0.7.0.tar.gz) = 43433 bytes



Home | Main Index | Thread Index | Old Index