pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/go-cli Add go-cli package
details: https://anonhg.NetBSD.org/pkgsrc/rev/71a89f0240b9
branches: trunk
changeset: 366631:71a89f0240b9
user: gavan <gavan%pkgsrc.org@localhost>
date: Thu Aug 17 01:19:56 2017 +0000
description:
Add go-cli package
diffstat:
devel/go-cli/DESCR | 3 +
devel/go-cli/Makefile | 29 ++++++++++++++++
devel/go-cli/PLIST | 83 ++++++++++++++++++++++++++++++++++++++++++++++
devel/go-cli/buildlink3.mk | 17 +++++++++
devel/go-cli/distinfo | 6 +++
5 files changed, 138 insertions(+), 0 deletions(-)
diffs (158 lines):
diff -r cac4638a533a -r 71a89f0240b9 devel/go-cli/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cli/DESCR Thu Aug 17 01:19:56 2017 +0000
@@ -0,0 +1,3 @@
+cli is a simple, fast, and fun package for building command line apps in Go.
+The goal is to enable developers to write fast and distributable command line
+applications in an expressive way.
diff -r cac4638a533a -r 71a89f0240b9 devel/go-cli/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cli/Makefile Thu Aug 17 01:19:56 2017 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:19:56 gavan Exp $
+
+DISTNAME= cli-1.20.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=urfave/}
+CATEGORIES= devel
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/urfave/cli
+COMMENT= A simple, fast, and fun package for building command line apps in Go
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= gopkg.in/urfave/cli.v1
+
+# Deal with renaming
+pre-install:
+ ${MKDIR} ${WRKDIR}/src/github.com/urfave
+ ${MKDIR} ${WRKDIR}/pkg/${GO_PLATFORM}/github.com/urfave
+ ${CP} -R ${WRKDIR}/src/gopkg.in/urfave/cli.v1 ${WRKDIR}/src/github.com/urfave/cli
+ ${CP} -R ${WRKDIR}/pkg/${GO_PLATFORM}/gopkg.in/urfave/cli.v1 ${WRKDIR}/pkg/${GO_PLATFORM}/github.com/urfave/cli
+
+.include "../../www/go-toml-burntsushi/buildlink3.mk"
+.include "../../devel/go-yaml/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r cac4638a533a -r 71a89f0240b9 devel/go-cli/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cli/PLIST Thu Aug 17 01:19:56 2017 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:19:56 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/urfave/cli/altsrc.a
+gopkg/pkg/${GO_PLATFORM}/gopkg.in/urfave/cli.v1.a
+gopkg/pkg/${GO_PLATFORM}/gopkg.in/urfave/cli.v1/altsrc.a
+gopkg/src/github.com/urfave/cli/CHANGELOG.md
+gopkg/src/github.com/urfave/cli/LICENSE
+gopkg/src/github.com/urfave/cli/README.md
+gopkg/src/github.com/urfave/cli/altsrc/altsrc.go
+gopkg/src/github.com/urfave/cli/altsrc/flag.go
+gopkg/src/github.com/urfave/cli/altsrc/flag_generated.go
+gopkg/src/github.com/urfave/cli/altsrc/flag_test.go
+gopkg/src/github.com/urfave/cli/altsrc/helpers_test.go
+gopkg/src/github.com/urfave/cli/altsrc/input_source_context.go
+gopkg/src/github.com/urfave/cli/altsrc/map_input_source.go
+gopkg/src/github.com/urfave/cli/altsrc/toml_command_test.go
+gopkg/src/github.com/urfave/cli/altsrc/toml_file_loader.go
+gopkg/src/github.com/urfave/cli/altsrc/yaml_command_test.go
+gopkg/src/github.com/urfave/cli/altsrc/yaml_file_loader.go
+gopkg/src/github.com/urfave/cli/app.go
+gopkg/src/github.com/urfave/cli/app_test.go
+gopkg/src/github.com/urfave/cli/appveyor.yml
+gopkg/src/github.com/urfave/cli/autocomplete/bash_autocomplete
+gopkg/src/github.com/urfave/cli/autocomplete/zsh_autocomplete
+gopkg/src/github.com/urfave/cli/category.go
+gopkg/src/github.com/urfave/cli/cli.go
+gopkg/src/github.com/urfave/cli/command.go
+gopkg/src/github.com/urfave/cli/command_test.go
+gopkg/src/github.com/urfave/cli/context.go
+gopkg/src/github.com/urfave/cli/context_test.go
+gopkg/src/github.com/urfave/cli/errors.go
+gopkg/src/github.com/urfave/cli/errors_test.go
+gopkg/src/github.com/urfave/cli/flag-types.json
+gopkg/src/github.com/urfave/cli/flag.go
+gopkg/src/github.com/urfave/cli/flag_generated.go
+gopkg/src/github.com/urfave/cli/flag_test.go
+gopkg/src/github.com/urfave/cli/funcs.go
+gopkg/src/github.com/urfave/cli/generate-flag-types
+gopkg/src/github.com/urfave/cli/help.go
+gopkg/src/github.com/urfave/cli/help_test.go
+gopkg/src/github.com/urfave/cli/helpers_test.go
+gopkg/src/github.com/urfave/cli/helpers_unix_test.go
+gopkg/src/github.com/urfave/cli/helpers_windows_test.go
+gopkg/src/github.com/urfave/cli/runtests
+gopkg/src/gopkg.in/urfave/cli.v1/CHANGELOG.md
+gopkg/src/gopkg.in/urfave/cli.v1/LICENSE
+gopkg/src/gopkg.in/urfave/cli.v1/README.md
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/altsrc.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/flag.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/flag_generated.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/flag_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/helpers_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/input_source_context.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/map_input_source.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/toml_command_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/toml_file_loader.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/yaml_command_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/altsrc/yaml_file_loader.go
+gopkg/src/gopkg.in/urfave/cli.v1/app.go
+gopkg/src/gopkg.in/urfave/cli.v1/app_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/appveyor.yml
+gopkg/src/gopkg.in/urfave/cli.v1/autocomplete/bash_autocomplete
+gopkg/src/gopkg.in/urfave/cli.v1/autocomplete/zsh_autocomplete
+gopkg/src/gopkg.in/urfave/cli.v1/category.go
+gopkg/src/gopkg.in/urfave/cli.v1/cli.go
+gopkg/src/gopkg.in/urfave/cli.v1/command.go
+gopkg/src/gopkg.in/urfave/cli.v1/command_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/context.go
+gopkg/src/gopkg.in/urfave/cli.v1/context_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/errors.go
+gopkg/src/gopkg.in/urfave/cli.v1/errors_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/flag-types.json
+gopkg/src/gopkg.in/urfave/cli.v1/flag.go
+gopkg/src/gopkg.in/urfave/cli.v1/flag_generated.go
+gopkg/src/gopkg.in/urfave/cli.v1/flag_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/funcs.go
+gopkg/src/gopkg.in/urfave/cli.v1/generate-flag-types
+gopkg/src/gopkg.in/urfave/cli.v1/help.go
+gopkg/src/gopkg.in/urfave/cli.v1/help_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/helpers_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/helpers_unix_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/helpers_windows_test.go
+gopkg/src/gopkg.in/urfave/cli.v1/runtests
+@pkgdir bin
diff -r cac4638a533a -r 71a89f0240b9 devel/go-cli/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cli/buildlink3.mk Thu Aug 17 01:19:56 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:19:56 gavan Exp $
+
+BUILDLINK_TREE+= go-cli
+
+.if !defined(GO_CLI_BUILDLINK3_MK)
+GO_CLI_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-cli= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-cli?= build
+
+BUILDLINK_API_DEPENDS.go-cli+= go-cli>=1.20.0
+BUILDLINK_PKGSRCDIR.go-cli?= ../../devel/go-cli
+
+.endif # GO_CLI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-cli
+
diff -r cac4638a533a -r 71a89f0240b9 devel/go-cli/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cli/distinfo Thu Aug 17 01:19:56 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:19:56 gavan Exp $
+
+SHA1 (cli-1.20.0.tar.gz) = 53e9db9b8db0b8fd84eceec55fb7ec28a701a757
+RMD160 (cli-1.20.0.tar.gz) = 78824c6180518de3ab3e4fde5ccea8103403cf9f
+SHA512 (cli-1.20.0.tar.gz) = 0a47a47121e25bceb6ebdf10a55ab3bc7531214284b1669fe20237c3ac938c7cd154ebc408759202d936688350e27e47d14f6a6b0793271c10534f2e90bd1fb5
+Size (cli-1.20.0.tar.gz) = 58397 bytes
Home |
Main Index |
Thread Index |
Old Index