diff options
author | wiz <wiz> | 2015-12-27 20:37:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-12-27 20:37:11 +0000 |
commit | f6206fdbec45e8db248163e8157da7f71bc387f8 (patch) | |
tree | 8294c4f304ee6599600a774af72ef003717a99aa | |
parent | b85c4a056c92e2793f53e88755a1b33418b4e85c (diff) | |
download | pkgsrc-f6206fdbec45e8db248163e8157da7f71bc387f8.tar.gz |
Import go-flags-svent-0.0.20141123 as devel/go-flags-svent.
This library provides similar functionality to the builtin flag
library of go, but provides much more functionality and nicer
formatting. From the documentation:
Package flags provides an extensive command line option parser.
The flags package is similar in functionality to the go builtin
flag package but provides more options and uses reflection to
provide a convenient and succinct way of specifying command line
options.
-rw-r--r-- | devel/go-flags-svent/DESCR | 9 | ||||
-rw-r--r-- | devel/go-flags-svent/Makefile | 24 | ||||
-rw-r--r-- | devel/go-flags-svent/PLIST | 47 | ||||
-rw-r--r-- | devel/go-flags-svent/distinfo | 6 |
4 files changed, 86 insertions, 0 deletions
diff --git a/devel/go-flags-svent/DESCR b/devel/go-flags-svent/DESCR new file mode 100644 index 00000000000..30c35b0f4fb --- /dev/null +++ b/devel/go-flags-svent/DESCR @@ -0,0 +1,9 @@ +This library provides similar functionality to the builtin flag +library of go, but provides much more functionality and nicer +formatting. From the documentation: + +Package flags provides an extensive command line option parser. +The flags package is similar in functionality to the go builtin +flag package but provides more options and uses reflection to +provide a convenient and succinct way of specifying command line +options. diff --git a/devel/go-flags-svent/Makefile b/devel/go-flags-svent/Makefile new file mode 100644 index 00000000000..8b34444a421 --- /dev/null +++ b/devel/go-flags-svent/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2015/12/27 20:37:11 wiz Exp $ + +DISTNAME= go-flags-svent-0.0.20141123 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=svent/} +GITHUB_PROJECT= go-flags +GITHUB_TAG= 4bcbad344f0318adaf7aabc16929701459009aa3 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/svent/go-flags/ +COMMENT= Go command line option parser (svent fork) +LICENSE= modified-bsd + +WRKSRC= ${WRKDIR} +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG} +GO_SRCPATH= github.com/svent/go-flags + +REPLACE_SH= check_crosscompile.sh + +pre-configure: + ${RM} -rf ${WRKSRC}/examples + +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/go-flags-svent/PLIST b/devel/go-flags-svent/PLIST new file mode 100644 index 00000000000..54c3acecc05 --- /dev/null +++ b/devel/go-flags-svent/PLIST @@ -0,0 +1,47 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/27 20:37:11 wiz Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/svent/go-flags.a +gopkg/src/github.com/svent/go-flags/LICENSE +gopkg/src/github.com/svent/go-flags/README.md +gopkg/src/github.com/svent/go-flags/arg.go +gopkg/src/github.com/svent/go-flags/arg_test.go +gopkg/src/github.com/svent/go-flags/assert_test.go +gopkg/src/github.com/svent/go-flags/check_crosscompile.sh +gopkg/src/github.com/svent/go-flags/closest.go +gopkg/src/github.com/svent/go-flags/command.go +gopkg/src/github.com/svent/go-flags/command_private.go +gopkg/src/github.com/svent/go-flags/command_test.go +gopkg/src/github.com/svent/go-flags/completion.go +gopkg/src/github.com/svent/go-flags/completion_test.go +gopkg/src/github.com/svent/go-flags/convert.go +gopkg/src/github.com/svent/go-flags/convert_test.go +gopkg/src/github.com/svent/go-flags/error.go +gopkg/src/github.com/svent/go-flags/example_test.go +gopkg/src/github.com/svent/go-flags/flags.go +gopkg/src/github.com/svent/go-flags/group.go +gopkg/src/github.com/svent/go-flags/group_private.go +gopkg/src/github.com/svent/go-flags/group_test.go +gopkg/src/github.com/svent/go-flags/help.go +gopkg/src/github.com/svent/go-flags/help_test.go +gopkg/src/github.com/svent/go-flags/ini.go +gopkg/src/github.com/svent/go-flags/ini_private.go +gopkg/src/github.com/svent/go-flags/ini_test.go +gopkg/src/github.com/svent/go-flags/long_test.go +gopkg/src/github.com/svent/go-flags/man.go +gopkg/src/github.com/svent/go-flags/marshal_test.go +gopkg/src/github.com/svent/go-flags/multitag.go +gopkg/src/github.com/svent/go-flags/option.go +gopkg/src/github.com/svent/go-flags/option_private.go +gopkg/src/github.com/svent/go-flags/options_test.go +gopkg/src/github.com/svent/go-flags/optstyle.go +gopkg/src/github.com/svent/go-flags/parser.go +gopkg/src/github.com/svent/go-flags/parser_private.go +gopkg/src/github.com/svent/go-flags/parser_test.go +gopkg/src/github.com/svent/go-flags/pointer_test.go +gopkg/src/github.com/svent/go-flags/short_test.go +gopkg/src/github.com/svent/go-flags/tag_test.go +gopkg/src/github.com/svent/go-flags/termsize.go +gopkg/src/github.com/svent/go-flags/termsize_linux.go +gopkg/src/github.com/svent/go-flags/termsize_nosysioctl.go +gopkg/src/github.com/svent/go-flags/termsize_other.go +gopkg/src/github.com/svent/go-flags/termsize_unix.go +gopkg/src/github.com/svent/go-flags/unknown_test.go diff --git a/devel/go-flags-svent/distinfo b/devel/go-flags-svent/distinfo new file mode 100644 index 00000000000..07a339beb20 --- /dev/null +++ b/devel/go-flags-svent/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/12/27 20:37:11 wiz Exp $ + +SHA1 (go-flags-svent-0.0.20141123-4bcbad344f0318adaf7aabc16929701459009aa3.tar.gz) = 5aa9fafa76054ecb6f10f806f5bacc6646838ee0 +RMD160 (go-flags-svent-0.0.20141123-4bcbad344f0318adaf7aabc16929701459009aa3.tar.gz) = ed750109b8abb2d317e726d0e7459298f58c8549 +SHA512 (go-flags-svent-0.0.20141123-4bcbad344f0318adaf7aabc16929701459009aa3.tar.gz) = 43c89dc652c95cfd806987597c02ea9fba9e34e2c9c13b75d9d8a4047f856a8ae8908da4409e8af61e01d20ffec79b4e033cabc87b76b0c096516a77ed4ca284 +Size (go-flags-svent-0.0.20141123-4bcbad344f0318adaf7aabc16929701459009aa3.tar.gz) = 46003 bytes |