pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
import to go-eventsource-20170931 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Tue Jan 12 09:45:37 2021 +0100
Changeset: 3d4b33e4c64ba6688d011508b5b2f4d67cceebf9
Modified Files:
Makefile
Added Files:
go-eventsource/DESCR
go-eventsource/Makefile
go-eventsource/PLIST
go-eventsource/buildlink3.mk
go-eventsource/distinfo
Log Message:
import to go-eventsource-20170931 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3d4b33e4c64ba6688d011508b5b2f4d67cceebf9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-eventsource/DESCR | 3 +++
go-eventsource/Makefile | 18 ++++++++++++++++++
go-eventsource/PLIST | 18 ++++++++++++++++++
go-eventsource/buildlink3.mk | 15 +++++++++++++++
go-eventsource/distinfo | 6 ++++++
6 files changed, 61 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 239a69a665..776cb7a6f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1189,6 +1189,7 @@ SUBDIR+= go-concurrent
SUBDIR+= go-douceur
SUBDIR+= go-dotenv
SUBDIR+= go-easyjson
+SUBDIR+= go-eventsource
SUBDIR+= go-ewma
SUBDIR+= go-err113
SUBDIR+= go-errorx
diff --git a/go-eventsource/DESCR b/go-eventsource/DESCR
new file mode 100644
index 0000000000..c07b68e1d1
--- /dev/null
+++ b/go-eventsource/DESCR
@@ -0,0 +1,3 @@
+Eventsource implements a Go implementation of client
+and server to allow streaming data one-way over a HTTP
+connection using the Server-Sent Events API
diff --git a/go-eventsource/Makefile b/go-eventsource/Makefile
new file mode 100644
index 0000000000..ab9a3aa919
--- /dev/null
+++ b/go-eventsource/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= go-eventsource-20170931
+GITHUB_PROJECT= eventsource
+GITHUB_TAG= 3ed64d21fb0b6bd8b49bcfec08f3004daee8723d
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=donovanhide/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= http://godoc.org/github.com/donovanhide/eventsource
+COMMENT= Server Side Events client and server for Go
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/donovanhide/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-eventsource/PLIST b/go-eventsource/PLIST
new file mode 100644
index 0000000000..66d83c1b96
--- /dev/null
+++ b/go-eventsource/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/donovanhide/eventsource.a
+gopkg/src/github.com/donovanhide/eventsource/README.md
+gopkg/src/github.com/donovanhide/eventsource/codec_test.go
+gopkg/src/github.com/donovanhide/eventsource/decoder.go
+gopkg/src/github.com/donovanhide/eventsource/decoder_test.go
+gopkg/src/github.com/donovanhide/eventsource/encoder.go
+gopkg/src/github.com/donovanhide/eventsource/example_error_handling_stream_test.go
+gopkg/src/github.com/donovanhide/eventsource/example_event_test.go
+gopkg/src/github.com/donovanhide/eventsource/example_repository_test.go
+gopkg/src/github.com/donovanhide/eventsource/interface.go
+gopkg/src/github.com/donovanhide/eventsource/normalise.go
+gopkg/src/github.com/donovanhide/eventsource/normalise_test.go
+gopkg/src/github.com/donovanhide/eventsource/repository.go
+gopkg/src/github.com/donovanhide/eventsource/server.go
+gopkg/src/github.com/donovanhide/eventsource/server_test.go
+gopkg/src/github.com/donovanhide/eventsource/stream.go
+gopkg/src/github.com/donovanhide/eventsource/stream_test.go
diff --git a/go-eventsource/buildlink3.mk b/go-eventsource/buildlink3.mk
new file mode 100644
index 0000000000..4d844932ae
--- /dev/null
+++ b/go-eventsource/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-eventsource
+
+.if !defined(GO_EVENTSOURCE_BUILDLINK3_MK)
+GO_EVENTSOURCE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-eventsource= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-eventsource?= build
+
+BUILDLINK_API_DEPENDS.go-eventsource+= go-eventsource>=20170931
+BUILDLINK_PKGSRCDIR.go-eventsource?= ../../wip/go-eventsource
+.endif # GO_EVENTSOURCE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-eventsource
diff --git a/go-eventsource/distinfo b/go-eventsource/distinfo
new file mode 100644
index 0000000000..83bc144665
--- /dev/null
+++ b/go-eventsource/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-eventsource-20170931-3ed64d21fb0b6bd8b49bcfec08f3004daee8723d.tar.gz) = e158246123bbad7c2789e126b5898bf5292c4bf3
+RMD160 (go-eventsource-20170931-3ed64d21fb0b6bd8b49bcfec08f3004daee8723d.tar.gz) = 57b91f734e24f5c74457e901d990564bc9eb82b4
+SHA512 (go-eventsource-20170931-3ed64d21fb0b6bd8b49bcfec08f3004daee8723d.tar.gz) = fc9506de76d3aacb7ea796c52024bfac39e4264e0d2783459a94309f94660b5533961b11312229fd31bb7c4a8249d999c49e42812aef8195b5d9f161b0aea87a
+Size (go-eventsource-20170931-3ed64d21fb0b6bd8b49bcfec08f3004daee8723d.tar.gz) = 9226 bytes
Home |
Main Index |
Thread Index |
Old Index