pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Initial import of go-flags, version 1.3.0.



Module Name:	pkgsrc-wip
Committed By:	Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By:	alnsn
Date:		Sun Aug 27 15:59:32 2017 +0100
Changeset:	510a44c3b0487e35683eefada17685f337f3b81a

Added Files:
	go-flags/DESCR
	go-flags/Makefile
	go-flags/PLIST
	go-flags/distinfo

Log Message:
Initial import of go-flags, version 1.3.0.

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=510a44c3b0487e35683eefada17685f337f3b81a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 go-flags/DESCR    |  9 +++++++++
 go-flags/Makefile | 23 +++++++++++++++++++++++
 go-flags/PLIST    | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 go-flags/distinfo |  6 ++++++
 4 files changed, 86 insertions(+)

diffs:
diff --git a/go-flags/DESCR b/go-flags/DESCR
new file mode 100644
index 0000000000..f206384304
--- /dev/null
+++ b/go-flags/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/go-flags/Makefile b/go-flags/Makefile
new file mode 100644
index 0000000000..463cc0b74e
--- /dev/null
+++ b/go-flags/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+GITHUB_TAG=	v1.3.0
+DISTNAME=	${GITHUB_TAG}
+DIST_SUBDIR=	go-flags
+PKGNAME=	${DIST_SUBDIR}-${GITHUB_TAG:S/v//}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jessevdk/}
+GITHUB_PROJECT=	go-flags
+
+MAINTAINER=	alnsn%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/jessevdk/go-flags
+COMMENT=	Go command line option parser
+LICENSE=	modified-bsd
+
+REPLACE_BASH+=	check_crosscompile.sh
+
+WRKSRC=		${WRKDIR}
+GO_DIST_BASE=	go-flags-${GITHUB_TAG:S/v//}
+GO_SRCPATH=	github.com/jessevdk/go-flags
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-flags/PLIST b/go-flags/PLIST
new file mode 100644
index 0000000000..090e9bd407
--- /dev/null
+++ b/go-flags/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD$
+bin/examples
+gopkg/pkg/${GO_PLATFORM}/github.com/jessevdk/go-flags.a
+gopkg/src/github.com/jessevdk/go-flags/LICENSE
+gopkg/src/github.com/jessevdk/go-flags/README.md
+gopkg/src/github.com/jessevdk/go-flags/arg.go
+gopkg/src/github.com/jessevdk/go-flags/arg_test.go
+gopkg/src/github.com/jessevdk/go-flags/assert_test.go
+gopkg/src/github.com/jessevdk/go-flags/check_crosscompile.sh
+gopkg/src/github.com/jessevdk/go-flags/closest.go
+gopkg/src/github.com/jessevdk/go-flags/command.go
+gopkg/src/github.com/jessevdk/go-flags/command_test.go
+gopkg/src/github.com/jessevdk/go-flags/completion.go
+gopkg/src/github.com/jessevdk/go-flags/completion_test.go
+gopkg/src/github.com/jessevdk/go-flags/convert.go
+gopkg/src/github.com/jessevdk/go-flags/convert_test.go
+gopkg/src/github.com/jessevdk/go-flags/error.go
+gopkg/src/github.com/jessevdk/go-flags/example_test.go
+gopkg/src/github.com/jessevdk/go-flags/examples/add.go
+gopkg/src/github.com/jessevdk/go-flags/examples/bash-completion
+gopkg/src/github.com/jessevdk/go-flags/examples/main.go
+gopkg/src/github.com/jessevdk/go-flags/examples/rm.go
+gopkg/src/github.com/jessevdk/go-flags/flags.go
+gopkg/src/github.com/jessevdk/go-flags/group.go
+gopkg/src/github.com/jessevdk/go-flags/group_test.go
+gopkg/src/github.com/jessevdk/go-flags/help.go
+gopkg/src/github.com/jessevdk/go-flags/help_test.go
+gopkg/src/github.com/jessevdk/go-flags/ini.go
+gopkg/src/github.com/jessevdk/go-flags/ini_test.go
+gopkg/src/github.com/jessevdk/go-flags/long_test.go
+gopkg/src/github.com/jessevdk/go-flags/man.go
+gopkg/src/github.com/jessevdk/go-flags/marshal_test.go
+gopkg/src/github.com/jessevdk/go-flags/multitag.go
+gopkg/src/github.com/jessevdk/go-flags/option.go
+gopkg/src/github.com/jessevdk/go-flags/options_test.go
+gopkg/src/github.com/jessevdk/go-flags/optstyle_other.go
+gopkg/src/github.com/jessevdk/go-flags/optstyle_windows.go
+gopkg/src/github.com/jessevdk/go-flags/parser.go
+gopkg/src/github.com/jessevdk/go-flags/parser_test.go
+gopkg/src/github.com/jessevdk/go-flags/pointer_test.go
+gopkg/src/github.com/jessevdk/go-flags/short_test.go
+gopkg/src/github.com/jessevdk/go-flags/tag_test.go
+gopkg/src/github.com/jessevdk/go-flags/termsize.go
+gopkg/src/github.com/jessevdk/go-flags/termsize_linux.go
+gopkg/src/github.com/jessevdk/go-flags/termsize_nosysioctl.go
+gopkg/src/github.com/jessevdk/go-flags/termsize_other.go
+gopkg/src/github.com/jessevdk/go-flags/termsize_unix.go
+gopkg/src/github.com/jessevdk/go-flags/unknown_test.go
diff --git a/go-flags/distinfo b/go-flags/distinfo
new file mode 100644
index 0000000000..58f9e4c58f
--- /dev/null
+++ b/go-flags/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-flags/v1.3.0.tar.gz) = fa6c82a6948e406e3cd1fddbe64aa95bffc55678
+RMD160 (go-flags/v1.3.0.tar.gz) = 242b25da9fe8b3e368a0139643c629e258366b50
+SHA512 (go-flags/v1.3.0.tar.gz) = cfa9ff712abdb32a63c999079b9aee090902aeb333caf1cf01642585d638756d339bc1ad2abd6cf7f75ec6485bb6a0941f2d3f3d630de5b37ca727231b5a0c6b
+Size (go-flags/v1.3.0.tar.gz) = 55446 bytes


Home | Main Index | Thread Index | Old Index