pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-kong as wip/go-kong version 0.2.6
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: ng0
Date: Sun Apr 26 19:38:07 2020 +0200
Changeset: a356b8c2cc969ec3921268569bdec5442b202ecd
Added Files:
go-kong/DESCR
go-kong/Makefile
go-kong/PLIST
go-kong/buildlink3.mk
go-kong/distinfo
Log Message:
Import go-kong as wip/go-kong version 0.2.6
Kong aims to support arbitrarily complex command-line structures with
as little developer effort as possible.
To achieve that, command-lines are expressed as Go types, with the
structure and tags directing how the command line is mapped onto the
struct.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a356b8c2cc969ec3921268569bdec5442b202ecd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-kong/DESCR | 6 ++++++
go-kong/Makefile | 20 ++++++++++++++++++
go-kong/PLIST | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
go-kong/buildlink3.mk | 17 ++++++++++++++++
go-kong/distinfo | 6 ++++++
5 files changed, 105 insertions(+)
diffs:
diff --git a/go-kong/DESCR b/go-kong/DESCR
new file mode 100644
index 0000000000..ade744c9ca
--- /dev/null
+++ b/go-kong/DESCR
@@ -0,0 +1,6 @@
+Kong aims to support arbitrarily complex command-line structures with
+as little developer effort as possible.
+
+To achieve that, command-lines are expressed as Go types, with the
+structure and tags directing how the command line is mapped onto the
+struct.
diff --git a/go-kong/Makefile b/go-kong/Makefile
new file mode 100644
index 0000000000..369a414e6e
--- /dev/null
+++ b/go-kong/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= kong-0.2.6
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=alecthomas/}
+CATEGORIES= devel
+GITHUB_PROJECT= kong
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= nikita%NetBSD.org@localhost
+HOMEPAGE= https://github.com/alecthomas/kong/
+COMMENT= Command-line parser for Go
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/alecthomas/kong
+
+.include "../../devel/go-errors/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-kong/PLIST b/go-kong/PLIST
new file mode 100644
index 0000000000..0487c80101
--- /dev/null
+++ b/go-kong/PLIST
@@ -0,0 +1,56 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/alecthomas/kong.a
+gopkg/src/github.com/alecthomas/kong/COPYING
+gopkg/src/github.com/alecthomas/kong/README.md
+gopkg/src/github.com/alecthomas/kong/_examples/docker/README.md
+gopkg/src/github.com/alecthomas/kong/_examples/docker/commands.go
+gopkg/src/github.com/alecthomas/kong/_examples/docker/main.go
+gopkg/src/github.com/alecthomas/kong/_examples/server/README.md
+gopkg/src/github.com/alecthomas/kong/_examples/server/console.go
+gopkg/src/github.com/alecthomas/kong/_examples/server/go.mod
+gopkg/src/github.com/alecthomas/kong/_examples/server/go.sum
+gopkg/src/github.com/alecthomas/kong/_examples/server/main.go
+gopkg/src/github.com/alecthomas/kong/_examples/server/server_rsa_key
+gopkg/src/github.com/alecthomas/kong/_examples/server/server_rsa_key.pub
+gopkg/src/github.com/alecthomas/kong/_examples/shell/main.go
+gopkg/src/github.com/alecthomas/kong/build.go
+gopkg/src/github.com/alecthomas/kong/callbacks.go
+gopkg/src/github.com/alecthomas/kong/camelcase.go
+gopkg/src/github.com/alecthomas/kong/config_test.go
+gopkg/src/github.com/alecthomas/kong/context.go
+gopkg/src/github.com/alecthomas/kong/defaults.go
+gopkg/src/github.com/alecthomas/kong/defaults_test.go
+gopkg/src/github.com/alecthomas/kong/doc.go
+gopkg/src/github.com/alecthomas/kong/env.go
+gopkg/src/github.com/alecthomas/kong/error.go
+gopkg/src/github.com/alecthomas/kong/global.go
+gopkg/src/github.com/alecthomas/kong/global_test.go
+gopkg/src/github.com/alecthomas/kong/go.mod
+gopkg/src/github.com/alecthomas/kong/go.sum
+gopkg/src/github.com/alecthomas/kong/guesswidth.go
+gopkg/src/github.com/alecthomas/kong/guesswidth_unix.go
+gopkg/src/github.com/alecthomas/kong/help.go
+gopkg/src/github.com/alecthomas/kong/help_test.go
+gopkg/src/github.com/alecthomas/kong/hooks.go
+gopkg/src/github.com/alecthomas/kong/interpolate.go
+gopkg/src/github.com/alecthomas/kong/interpolate_test.go
+gopkg/src/github.com/alecthomas/kong/kong.go
+gopkg/src/github.com/alecthomas/kong/kong.png
+gopkg/src/github.com/alecthomas/kong/kong.sketch
+gopkg/src/github.com/alecthomas/kong/kong_test.go
+gopkg/src/github.com/alecthomas/kong/levenshtein.go
+gopkg/src/github.com/alecthomas/kong/mapper.go
+gopkg/src/github.com/alecthomas/kong/mapper_test.go
+gopkg/src/github.com/alecthomas/kong/model.go
+gopkg/src/github.com/alecthomas/kong/model_test.go
+gopkg/src/github.com/alecthomas/kong/options.go
+gopkg/src/github.com/alecthomas/kong/options_test.go
+gopkg/src/github.com/alecthomas/kong/resolver.go
+gopkg/src/github.com/alecthomas/kong/resolver_test.go
+gopkg/src/github.com/alecthomas/kong/scanner.go
+gopkg/src/github.com/alecthomas/kong/scanner_test.go
+gopkg/src/github.com/alecthomas/kong/tag.go
+gopkg/src/github.com/alecthomas/kong/tag_test.go
+gopkg/src/github.com/alecthomas/kong/util.go
+gopkg/src/github.com/alecthomas/kong/util_test.go
+gopkg/src/github.com/alecthomas/kong/visit.go
diff --git a/go-kong/buildlink3.mk b/go-kong/buildlink3.mk
new file mode 100644
index 0000000000..be1b6db6d4
--- /dev/null
+++ b/go-kong/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-kong
+
+.if !defined(GO_KONG_BUILDLINK3_MK)
+GO_KONG_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-kong= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-kong?= build
+
+BUILDLINK_API_DEPENDS.go-kong+= go-kong>=0.2.6
+BUILDLINK_PKGSRCDIR.go-kong?= ../../wip/go-kong
+
+.include "../../devel/go-errors/buildlink3.mk"
+.endif # GO_KONG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-kong
diff --git a/go-kong/distinfo b/go-kong/distinfo
new file mode 100644
index 0000000000..fe07030c72
--- /dev/null
+++ b/go-kong/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (kong-0.2.6.tar.gz) = 86d0142ca6d384d463b9fc78c273b2d5551b4c23
+RMD160 (kong-0.2.6.tar.gz) = 6241847221bf21b72042a8939e4bedc99b152e7d
+SHA512 (kong-0.2.6.tar.gz) = f760ec89ea3d190be8fbc21011e4aa278e15a34a67b2baf433088646b703ab90f834dbf5d34d73c164fc9aa5d179d557701a6bdcf65053e63fc19eafd19a22c6
+Size (kong-0.2.6.tar.gz) = 279873 bytes
Home |
Main Index |
Thread Index |
Old Index