pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/lua-argparse: import lua52-argparse-0.6.0
Module Name: pkgsrc-wip
Committed By: Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By: jonthn
Date: Thu Jan 2 23:39:28 2020 +0800
Changeset: 7c4400d686f2c578147499ee0361f1918312a941
Added Files:
lua-argparse/DESCR
lua-argparse/Makefile
lua-argparse/PLIST
lua-argparse/distinfo
Log Message:
wip/lua-argparse: import lua52-argparse-0.6.0
Argparse supports positional arguments, options, flags, optional arguments,
subcommands and more.
Argparse automatically generates usage, help and error messages.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7c4400d686f2c578147499ee0361f1918312a941
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lua-argparse/DESCR | 3 +++
lua-argparse/Makefile | 25 +++++++++++++++++++++++++
lua-argparse/PLIST | 2 ++
lua-argparse/distinfo | 6 ++++++
4 files changed, 36 insertions(+)
diffs:
diff --git a/lua-argparse/DESCR b/lua-argparse/DESCR
new file mode 100644
index 0000000000..d22088dec0
--- /dev/null
+++ b/lua-argparse/DESCR
@@ -0,0 +1,3 @@
+Argparse supports positional arguments, options, flags, optional arguments,
+subcommands and more.
+Argparse automatically generates usage, help and error messages.
diff --git a/lua-argparse/Makefile b/lua-argparse/Makefile
new file mode 100644
index 0000000000..e9cc20a28a
--- /dev/null
+++ b/lua-argparse/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME= lua-argparse-0.6.0
+PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mpeterv/}
+GITHUB_PROJECT= argparse
+
+HOMEPAGE= https://github.com/mpeterv/argparse
+COMMENT= Feature-rich command-line argument parser
+LICENSE= mit
+
+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"
diff --git a/lua-argparse/PLIST b/lua-argparse/PLIST
new file mode 100644
index 0000000000..6c9ce2b927
--- /dev/null
+++ b/lua-argparse/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_LDIR}/argparse.lua
diff --git a/lua-argparse/distinfo b/lua-argparse/distinfo
new file mode 100644
index 0000000000..fad54a7f8e
--- /dev/null
+++ b/lua-argparse/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-argparse-0.6.0.tar.gz) = 48dcb52e67179c01ea07de11af447c56d757de65
+RMD160 (lua-argparse-0.6.0.tar.gz) = 2697efb559fb1fd685f6a344e6a7c18680cef934
+SHA512 (lua-argparse-0.6.0.tar.gz) = 7efdfab8ec563a9e7eddc7aff760fd4d3605df2896939af3f2c80e5ed4d4e5ba45a7815057e15446d242351a6fd139d6b8da802fe318d4a4bcd69918fece53d1
+Size (lua-argparse-0.6.0.tar.gz) = 36712 bytes
Home |
Main Index |
Thread Index |
Old Index