pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-cobra Add go-cobra package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86a915cf76b3
branches:  trunk
changeset: 366632:86a915cf76b3
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:20:57 2017 +0000

description:
Add go-cobra package

diffstat:

 devel/go-cobra/DESCR         |   1 +
 devel/go-cobra/Makefile      |  24 +++++++++++++++++++
 devel/go-cobra/PLIST         |  54 ++++++++++++++++++++++++++++++++++++++++++++
 devel/go-cobra/buildlink3.mk |  20 ++++++++++++++++
 devel/go-cobra/distinfo      |   6 ++++
 5 files changed, 105 insertions(+), 0 deletions(-)

diffs (125 lines):

diff -r 71a89f0240b9 -r 86a915cf76b3 devel/go-cobra/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cobra/DESCR      Thu Aug 17 01:20:57 2017 +0000
@@ -0,0 +1,1 @@
+Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files.
diff -r 71a89f0240b9 -r 86a915cf76b3 devel/go-cobra/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cobra/Makefile   Thu Aug 17 01:20:57 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:20:57 gavan Exp $
+
+DISTNAME=      cobra-0.0.20170815
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=spf13/}
+CATEGORIES=    devel
+GITHUB_TAG=    cb731b898346822cc0c225c28550a8a29d93c732
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/spf13/cobra
+COMMENT=       A Commander for modern Go CLI interactions
+LICENSE=       apache-2.0
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/spf13/cobra
+
+.include "../../devel/go-pflag/buildlink3.mk"
+.include "../../devel/go-viper/buildlink3.mk"
+.include "../../textproc/go-md2man/buildlink3.mk"
+.include "../../devel/go-homedir/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 71a89f0240b9 -r 86a915cf76b3 devel/go-cobra/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cobra/PLIST      Thu Aug 17 01:20:57 2017 +0000
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:20:57 gavan Exp $
+bin/cobra
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/cobra.a
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/cobra/cobra/cmd.a
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/cobra/doc.a
+gopkg/src/github.com/spf13/cobra/LICENSE.txt
+gopkg/src/github.com/spf13/cobra/README.md
+gopkg/src/github.com/spf13/cobra/args.go
+gopkg/src/github.com/spf13/cobra/bash_completions.go
+gopkg/src/github.com/spf13/cobra/bash_completions.md
+gopkg/src/github.com/spf13/cobra/bash_completions_test.go
+gopkg/src/github.com/spf13/cobra/cobra.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/add.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/add_test.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/golden_test.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/helpers.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/init.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/init_test.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_agpl.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_apache_2.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_bsd_clause_2.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_bsd_clause_3.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_gpl_2.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_gpl_3.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_lgpl.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/license_mit.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/licenses.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/project.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/project_test.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/root.go
+gopkg/src/github.com/spf13/cobra/cobra/cmd/testdata/LICENSE.golden
+gopkg/src/github.com/spf13/cobra/cobra/cmd/testdata/main.go.golden
+gopkg/src/github.com/spf13/cobra/cobra/cmd/testdata/root.go.golden
+gopkg/src/github.com/spf13/cobra/cobra/cmd/testdata/test.go.golden
+gopkg/src/github.com/spf13/cobra/cobra/main.go
+gopkg/src/github.com/spf13/cobra/cobra_test.go
+gopkg/src/github.com/spf13/cobra/command.go
+gopkg/src/github.com/spf13/cobra/command_notwin.go
+gopkg/src/github.com/spf13/cobra/command_test.go
+gopkg/src/github.com/spf13/cobra/command_win.go
+gopkg/src/github.com/spf13/cobra/doc/cmd_test.go
+gopkg/src/github.com/spf13/cobra/doc/man_docs.go
+gopkg/src/github.com/spf13/cobra/doc/man_docs.md
+gopkg/src/github.com/spf13/cobra/doc/man_docs_test.go
+gopkg/src/github.com/spf13/cobra/doc/man_examples_test.go
+gopkg/src/github.com/spf13/cobra/doc/md_docs.go
+gopkg/src/github.com/spf13/cobra/doc/md_docs.md
+gopkg/src/github.com/spf13/cobra/doc/md_docs_test.go
+gopkg/src/github.com/spf13/cobra/doc/util.go
+gopkg/src/github.com/spf13/cobra/doc/yaml_docs.go
+gopkg/src/github.com/spf13/cobra/doc/yaml_docs.md
+gopkg/src/github.com/spf13/cobra/doc/yaml_docs_test.go
+gopkg/src/github.com/spf13/cobra/zsh_completions.go
+gopkg/src/github.com/spf13/cobra/zsh_completions_test.go
diff -r 71a89f0240b9 -r 86a915cf76b3 devel/go-cobra/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cobra/buildlink3.mk      Thu Aug 17 01:20:57 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:20:57 gavan Exp $
+
+BUILDLINK_TREE+=       go-cobra
+
+.if !defined(GO_COBRA_BUILDLINK3_MK)
+GO_COBRA_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-cobra=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-cobra?=         build
+
+BUILDLINK_API_DEPENDS.go-cobra+=       go-cobra>=0.0
+BUILDLINK_PKGSRCDIR.go-cobra?=         ../../devel/go-cobra
+
+.include "../../devel/go-pflag/buildlink3.mk"
+.include "../../devel/go-viper/buildlink3.mk"
+.include "../../textproc/go-md2man/buildlink3.mk"
+.endif  # GO_COBRA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-cobra
+
diff -r 71a89f0240b9 -r 86a915cf76b3 devel/go-cobra/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cobra/distinfo   Thu Aug 17 01:20:57 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:20:57 gavan Exp $
+
+SHA1 (cobra-0.0.20170815-cb731b898346822cc0c225c28550a8a29d93c732.tar.gz) = 883608cb5fe7757d7c961754aeef4733a9cf53e4
+RMD160 (cobra-0.0.20170815-cb731b898346822cc0c225c28550a8a29d93c732.tar.gz) = 11717d54fec976037c7986d73b9bff113ead12d2
+SHA512 (cobra-0.0.20170815-cb731b898346822cc0c225c28550a8a29d93c732.tar.gz) = 
46f1583d240823a0c36072331773a3cbd4fb42d0427d3cc00f2562d1df1e70230133a1a334fe5609383189b2569f4f55b40abc9705aa1d4676c25f765dd1e491
+Size (cobra-0.0.20170815-cb731b898346822cc0c225c28550a8a29d93c732.tar.gz) = 100262 bytes



Home | Main Index | Thread Index | Old Index