pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel New package, go-mow-cli.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54899d66d202
branches:  trunk
changeset: 349842:54899d66d202
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 16 13:03:42 2016 +0000

description:
New package, go-mow-cli.

A framework to build command line applications in Go with most of the burden of
arguments parsing and validation placed on the framework instead of the
developer.

diffstat:

 devel/Makefile                 |   3 ++-
 devel/go-mow-cli/DESCR         |   3 +++
 devel/go-mow-cli/Makefile      |  19 +++++++++++++++++++
 devel/go-mow-cli/PLIST         |  28 ++++++++++++++++++++++++++++
 devel/go-mow-cli/buildlink3.mk |  15 +++++++++++++++
 devel/go-mow-cli/distinfo      |   6 ++++++
 6 files changed, 73 insertions(+), 1 deletions(-)

diffs (108 lines):

diff -r b3eb9ec459cd -r 54899d66d202 devel/Makefile
--- a/devel/Makefile    Sat Jul 16 12:51:46 2016 +0000
+++ b/devel/Makefile    Sat Jul 16 13:03:42 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2283 2016/07/15 19:35:01 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2284 2016/07/16 13:03:42 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -294,6 +294,7 @@
 SUBDIR+=       gnustep-objc-lf2
 SUBDIR+=       go-check
 SUBDIR+=       go-flags-svent
+SUBDIR+=       go-mow-cli
 SUBDIR+=       go-nbreader
 SUBDIR+=       go-ratelimit
 SUBDIR+=       go-review
diff -r b3eb9ec459cd -r 54899d66d202 devel/go-mow-cli/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-mow-cli/DESCR    Sat Jul 16 13:03:42 2016 +0000
@@ -0,0 +1,3 @@
+A framework to build command line applications in Go with most of the burden of
+arguments parsing and validation placed on the framework instead of the
+developer.
diff -r b3eb9ec459cd -r 54899d66d202 devel/go-mow-cli/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-mow-cli/Makefile Sat Jul 16 13:03:42 2016 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/07/16 13:03:42 bsiegert Exp $
+
+DISTNAME=      go-mow-cli-0.0.20160221
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=jawher/}
+GITHUB_PROJECT=        mow.cli
+GITHUB_TAG=    772320464101e904cd51198160eb4d489be9cc49
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jawher/mow.cli
+COMMENT=       versatile library for building CLI applications in Go
+LICENSE=       mit
+
+WRKSRC=                ${WRKDIR}
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/jawher/mow.cli
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b3eb9ec459cd -r 54899d66d202 devel/go-mow-cli/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-mow-cli/PLIST    Sat Jul 16 13:03:42 2016 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/16 13:03:42 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/jawher/mow.cli.a
+gopkg/src/github.com/jawher/mow.cli/LICENSE
+gopkg/src/github.com/jawher/mow.cli/README.md
+gopkg/src/github.com/jawher/mow.cli/args.go
+gopkg/src/github.com/jawher/mow.cli/args_test.go
+gopkg/src/github.com/jawher/mow.cli/cli.go
+gopkg/src/github.com/jawher/mow.cli/cli_test.go
+gopkg/src/github.com/jawher/mow.cli/commands.go
+gopkg/src/github.com/jawher/mow.cli/doc.go
+gopkg/src/github.com/jawher/mow.cli/examples_test.go
+gopkg/src/github.com/jawher/mow.cli/flow.go
+gopkg/src/github.com/jawher/mow.cli/flow_test.go
+gopkg/src/github.com/jawher/mow.cli/formatter_test.go
+gopkg/src/github.com/jawher/mow.cli/formatters.go
+gopkg/src/github.com/jawher/mow.cli/fsm.go
+gopkg/src/github.com/jawher/mow.cli/helper_test.go
+gopkg/src/github.com/jawher/mow.cli/matchers.go
+gopkg/src/github.com/jawher/mow.cli/matchers_test.go
+gopkg/src/github.com/jawher/mow.cli/options.go
+gopkg/src/github.com/jawher/mow.cli/options_test.go
+gopkg/src/github.com/jawher/mow.cli/reflect.go
+gopkg/src/github.com/jawher/mow.cli/reflect_test.go
+gopkg/src/github.com/jawher/mow.cli/spec_n_parse_test.go
+gopkg/src/github.com/jawher/mow.cli/spec_parser.go
+gopkg/src/github.com/jawher/mow.cli/spec_tk.go
+gopkg/src/github.com/jawher/mow.cli/spec_tk_test.go
+@pkgdir bin
diff -r b3eb9ec459cd -r 54899d66d202 devel/go-mow-cli/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-mow-cli/buildlink3.mk    Sat Jul 16 13:03:42 2016 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/16 13:03:42 bsiegert Exp $
+
+BUILDLINK_TREE+=       go-mow-cli
+
+.if !defined(GO_MOW_CLI_BUILDLINK3_MK)
+GO_MOW_CLI_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mow-cli=  ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mow-cli?=               build
+
+BUILDLINK_API_DEPENDS.go-mow-cli+=     go-mow-cli>=0.0.20160221
+BUILDLINK_PKGSRCDIR.go-mow-cli?=       ../../devel/go-mow-cli
+.endif # GO_MOW_CLI_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-mow-cli
diff -r b3eb9ec459cd -r 54899d66d202 devel/go-mow-cli/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-mow-cli/distinfo Sat Jul 16 13:03:42 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/16 13:03:42 bsiegert Exp $
+
+SHA1 (go-mow-cli-0.0.20160221-772320464101e904cd51198160eb4d489be9cc49.tar.gz) = 81389c5cf5207686a205cf0e7be6b73481e54c7a
+RMD160 (go-mow-cli-0.0.20160221-772320464101e904cd51198160eb4d489be9cc49.tar.gz) = 2a0bb7bb439bf2e877bd434a02a6923374d1e762
+SHA512 (go-mow-cli-0.0.20160221-772320464101e904cd51198160eb4d489be9cc49.tar.gz) = 
9590043bdd5342aaff7bc746bb0e144c64e64580e43d057e8901d918570933ca2def0b88ae89acd2fc3a371ce612aaa939fb23255f0cdd4657f925d074726268
+Size (go-mow-cli-0.0.20160221-772320464101e904cd51198160eb4d489be9cc49.tar.gz) = 32881 bytes



Home | Main Index | Thread Index | Old Index