pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-influxdb1-client-20200827 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Tue Jan 26 00:57:11 2021 +0100
Changeset: c37d73ce90c8ed553eab6a9351e353333bdefd14
Modified Files:
Makefile
Added Files:
go-influxdb1-client/DESCR
go-influxdb1-client/Makefile
go-influxdb1-client/PLIST
go-influxdb1-client/buildlink3.mk
go-influxdb1-client/distinfo
Log Message:
Import go-influxdb1-client-20200827 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c37d73ce90c8ed553eab6a9351e353333bdefd14
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-influxdb1-client/DESCR | 23 +++++++++++++++++++++++
go-influxdb1-client/Makefile | 19 +++++++++++++++++++
go-influxdb1-client/PLIST | 31 +++++++++++++++++++++++++++++++
go-influxdb1-client/buildlink3.mk | 15 +++++++++++++++
go-influxdb1-client/distinfo | 6 ++++++
6 files changed, 95 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 4ec29dd536..1d1dc69388 100644
--- a/Makefile
+++ b/Makefile
@@ -1241,6 +1241,7 @@ SUBDIR+= go-httpsnoop
SUBDIR+= go-humanize
SUBDIR+= go-imgui
SUBDIR+= go-incremental
+SUBDIR+= go-influxdb1-client
SUBDIR+= go-intern
SUBDIR+= go-jennifer
SUBDIR+= go-jettison
diff --git a/go-influxdb1-client/DESCR b/go-influxdb1-client/DESCR
new file mode 100644
index 0000000000..3765b8daf1
--- /dev/null
+++ b/go-influxdb1-client/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README.md
+
+# influxdb1-clientv2
+influxdb1-clientv2 is the current Go client API for InfluxDB 1.x. A Go client for the 2.0 API will be coming soon.
+
+InfluxDB is an open-source distributed time series database, find more about [InfluxDB](https://www.influxdata.com/time-series-platform/influxdb/) at https://docs.influxdata.com/influxdb/latest
+
+## Usage
+To import into your Go project, run the following command in your terminal:
+`go get github.com/influxdata/influxdb1-client/v2`
+Then, in your import declaration section of your Go file, paste the following:
+`import "github.com/influxdata/influxdb1-client/v2"`
+
+If you get the error `build github.com/user/influx: cannot find module for path github.com/influxdata/influxdb1-client/v2` when trying to build:
+change your import to:
+```go
+import(
+ _ "github.com/influxdata/influxdb1-client" // this is important because of the bug in go mod
+ client "github.com/influxdata/influxdb1-client/v2"
+)
+```
+
+...
diff --git a/go-influxdb1-client/Makefile b/go-influxdb1-client/Makefile
new file mode 100644
index 0000000000..cd93f0f7fd
--- /dev/null
+++ b/go-influxdb1-client/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= influxdb1-client-20200827
+PKGNAME= go-${DISTNAME}
+GITHUB_PROJECT= influxdb1-client
+GITHUB_TAG= b269163b24ab8e62026d13a92aa988a7389c3b4e
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=influxdata/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/influxdata/influxdb1-client
+COMMENT= The old clientv2 for InfluxDB 1.x
+LICENSE= mit
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/influxdata/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-influxdb1-client/PLIST b/go-influxdb1-client/PLIST
new file mode 100644
index 0000000000..4b0762f558
--- /dev/null
+++ b/go-influxdb1-client/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/influxdata/influxdb1-client.a
+gopkg/pkg/${GO_PLATFORM}/github.com/influxdata/influxdb1-client/models.a
+gopkg/pkg/${GO_PLATFORM}/github.com/influxdata/influxdb1-client/pkg/escape.a
+gopkg/pkg/${GO_PLATFORM}/github.com/influxdata/influxdb1-client/v2.a
+gopkg/src/github.com/influxdata/influxdb1-client/LICENSE
+gopkg/src/github.com/influxdata/influxdb1-client/README.md
+gopkg/src/github.com/influxdata/influxdb1-client/example_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/influxdb.go
+gopkg/src/github.com/influxdata/influxdb1-client/influxdb_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/inline_fnv.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/inline_fnv_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/inline_strconv_parse.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/inline_strconv_parse_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/points.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/points_internal_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/points_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/rows.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/statistic.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/statistic_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/time.go
+gopkg/src/github.com/influxdata/influxdb1-client/models/uint_support.go
+gopkg/src/github.com/influxdata/influxdb1-client/pkg/escape/bytes.go
+gopkg/src/github.com/influxdata/influxdb1-client/pkg/escape/bytes_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/pkg/escape/strings.go
+gopkg/src/github.com/influxdata/influxdb1-client/pkg/escape/strings_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/v2/client.go
+gopkg/src/github.com/influxdata/influxdb1-client/v2/client_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/v2/example_test.go
+gopkg/src/github.com/influxdata/influxdb1-client/v2/params.go
+gopkg/src/github.com/influxdata/influxdb1-client/v2/udp.go
diff --git a/go-influxdb1-client/buildlink3.mk b/go-influxdb1-client/buildlink3.mk
new file mode 100644
index 0000000000..7991309f3d
--- /dev/null
+++ b/go-influxdb1-client/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-influxdb1-client
+
+.if !defined(GO_INFLUXDB1_CLIENT_BUILDLINK3_MK)
+GO_INFLUXDB1_CLIENT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-influxdb1-client= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-influxdb1-client?= build
+
+BUILDLINK_API_DEPENDS.go-influxdb1-client+= go-influxdb1-client>=20200827
+BUILDLINK_PKGSRCDIR.go-influxdb1-client?= ../../wip/go-influxdb1-client
+.endif # GO_INFLUXDB1_CLIENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-influxdb1-client
diff --git a/go-influxdb1-client/distinfo b/go-influxdb1-client/distinfo
new file mode 100644
index 0000000000..d26b9fb39b
--- /dev/null
+++ b/go-influxdb1-client/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (influxdb1-client-20200827-b269163b24ab8e62026d13a92aa988a7389c3b4e.tar.gz) = 7b89f80361fd7c4fd4a6f4107bf50097810f6f74
+RMD160 (influxdb1-client-20200827-b269163b24ab8e62026d13a92aa988a7389c3b4e.tar.gz) = 5a22aeee3b23c98146b1ef554e83416e7a7390e9
+SHA512 (influxdb1-client-20200827-b269163b24ab8e62026d13a92aa988a7389c3b4e.tar.gz) = e45b7ac4c47e260bd334d5606de65ca56384b9729fab549772b4e97e19cba46331937149a12b92b04f1f9cf203b18ba9216fee0e67c12a8fe2fc1bb778c81987
+Size (influxdb1-client-20200827-b269163b24ab8e62026d13a92aa988a7389c3b4e.tar.gz) = 59261 bytes
Home |
Main Index |
Thread Index |
Old Index