pkgsrc-WIP-changes archive

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

Import go-easyjson-0.7.4.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Thu Jan 7 16:38:52 2021 +0100
Changeset:	e7050cd1cd4e6c6683f97c5932227e091f63d4d4

Modified Files:
	Makefile
Added Files:
	go-easyjson/DESCR
	go-easyjson/Makefile
	go-easyjson/PLIST
	go-easyjson/buildlink3.mk
	go-easyjson/distinfo

Log Message:
Import go-easyjson-0.7.4.1 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e7050cd1cd4e6c6683f97c5932227e091f63d4d4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |   1 +
 go-easyjson/DESCR         |   7 +++
 go-easyjson/Makefile      |  19 ++++++++
 go-easyjson/PLIST         | 107 ++++++++++++++++++++++++++++++++++++++++++++++
 go-easyjson/buildlink3.mk |  18 ++++++++
 go-easyjson/distinfo      |   6 +++
 6 files changed, 158 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 50d32ab49c..485bf843c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1183,6 +1183,7 @@ SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
 SUBDIR+=	go-dotenv
+SUBDIR+=	go-easyjson
 SUBDIR+=	go-flac-eaburns
 SUBDIR+=	go-flags
 SUBDIR+=	go-fsnotify
diff --git a/go-easyjson/DESCR b/go-easyjson/DESCR
new file mode 100644
index 0000000000..ec862123fa
--- /dev/null
+++ b/go-easyjson/DESCR
@@ -0,0 +1,7 @@
+Package easyjson provides a fast and easy
+way to marshal/unmarshal Go structs to/from
+JSON without the use of reflection. In
+performance tests, easyjson outperforms the
+standard encoding/json package by a factor
+of 4-5x, and other JSON encoding packages
+by a factor of 2-3x.
diff --git a/go-easyjson/Makefile b/go-easyjson/Makefile
new file mode 100644
index 0000000000..4c3095bbbe
--- /dev/null
+++ b/go-easyjson/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	go-easyjson-0.7.4.1
+GITHUB_PROJECT=	easyjson
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mailru/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/mailru/easyjson/
+COMMENT=	Fast JSON serializer for golang
+LICENSE=	mit
+
+GO_SRCPATH=     github.com/mailru/easyjson
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../wip/go-intern/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-easyjson/PLIST b/go-easyjson/PLIST
new file mode 100644
index 0000000000..524214b078
--- /dev/null
+++ b/go-easyjson/PLIST
@@ -0,0 +1,107 @@
+@comment $NetBSD$
+bin/easyjson
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/benchmark.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/bootstrap.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/buffer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/gen.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/jlexer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/jwriter.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/opt.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/parser.a
+gopkg/pkg/${GO_PLATFORM}/github.com/mailru/easyjson/tests.a
+gopkg/src/github.com/mailru/easyjson/LICENSE
+gopkg/src/github.com/mailru/easyjson/Makefile
+gopkg/src/github.com/mailru/easyjson/README.md
+gopkg/src/github.com/mailru/easyjson/benchmark/Makefile
+gopkg/src/github.com/mailru/easyjson/benchmark/codec_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/data.go
+gopkg/src/github.com/mailru/easyjson/benchmark/data_codec.go
+gopkg/src/github.com/mailru/easyjson/benchmark/data_ffjson.go
+gopkg/src/github.com/mailru/easyjson/benchmark/data_var.go
+gopkg/src/github.com/mailru/easyjson/benchmark/default_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/dummy_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/easyjson_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/example.json
+gopkg/src/github.com/mailru/easyjson/benchmark/ffjson_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/go.mod
+gopkg/src/github.com/mailru/easyjson/benchmark/go.sum
+gopkg/src/github.com/mailru/easyjson/benchmark/jsoniter_test.go
+gopkg/src/github.com/mailru/easyjson/benchmark/tools.go
+gopkg/src/github.com/mailru/easyjson/benchmark/ujson.sh
+gopkg/src/github.com/mailru/easyjson/bootstrap/bootstrap.go
+gopkg/src/github.com/mailru/easyjson/buffer/pool.go
+gopkg/src/github.com/mailru/easyjson/buffer/pool_test.go
+gopkg/src/github.com/mailru/easyjson/easyjson/main.go
+gopkg/src/github.com/mailru/easyjson/gen/decoder.go
+gopkg/src/github.com/mailru/easyjson/gen/encoder.go
+gopkg/src/github.com/mailru/easyjson/gen/generator.go
+gopkg/src/github.com/mailru/easyjson/gen/generator_test.go
+gopkg/src/github.com/mailru/easyjson/go.mod
+gopkg/src/github.com/mailru/easyjson/go.sum
+gopkg/src/github.com/mailru/easyjson/helpers.go
+gopkg/src/github.com/mailru/easyjson/helpers_test.go
+gopkg/src/github.com/mailru/easyjson/jlexer/bytestostr.go
+gopkg/src/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go
+gopkg/src/github.com/mailru/easyjson/jlexer/error.go
+gopkg/src/github.com/mailru/easyjson/jlexer/lexer.go
+gopkg/src/github.com/mailru/easyjson/jlexer/lexer_test.go
+gopkg/src/github.com/mailru/easyjson/jwriter/writer.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Bool.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Float32.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Float64.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Int.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Int16.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Int32.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Int64.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Int8.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_String.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Uint.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Uint16.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Uint32.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Uint64.go
+gopkg/src/github.com/mailru/easyjson/opt/gotemplate_Uint8.go
+gopkg/src/github.com/mailru/easyjson/opt/optional/opt.go
+gopkg/src/github.com/mailru/easyjson/opt/opts.go
+gopkg/src/github.com/mailru/easyjson/parser/modulepath.go
+gopkg/src/github.com/mailru/easyjson/parser/parser.go
+gopkg/src/github.com/mailru/easyjson/parser/pkgpath.go
+gopkg/src/github.com/mailru/easyjson/parser/pkgpath_test.go
+gopkg/src/github.com/mailru/easyjson/parser/testdata/comments.go.mod
+gopkg/src/github.com/mailru/easyjson/parser/testdata/comments_deps.go.mod
+gopkg/src/github.com/mailru/easyjson/parser/testdata/default.go.mod
+gopkg/src/github.com/mailru/easyjson/parser/testdata/missing_module.go.mod
+gopkg/src/github.com/mailru/easyjson/raw.go
+gopkg/src/github.com/mailru/easyjson/tests/basic_test.go
+gopkg/src/github.com/mailru/easyjson/tests/custom_map_key_type.go
+gopkg/src/github.com/mailru/easyjson/tests/data.go
+gopkg/src/github.com/mailru/easyjson/tests/disallow_unknown.go
+gopkg/src/github.com/mailru/easyjson/tests/embedded_type.go
+gopkg/src/github.com/mailru/easyjson/tests/errors.go
+gopkg/src/github.com/mailru/easyjson/tests/errors_test.go
+gopkg/src/github.com/mailru/easyjson/tests/escaping.go
+gopkg/src/github.com/mailru/easyjson/tests/escaping_test.go
+gopkg/src/github.com/mailru/easyjson/tests/html.go
+gopkg/src/github.com/mailru/easyjson/tests/html_test.go
+gopkg/src/github.com/mailru/easyjson/tests/intern.go
+gopkg/src/github.com/mailru/easyjson/tests/intern_test.go
+gopkg/src/github.com/mailru/easyjson/tests/key_marshaler_map.go
+gopkg/src/github.com/mailru/easyjson/tests/members_escaped.go
+gopkg/src/github.com/mailru/easyjson/tests/members_escaping_test.go
+gopkg/src/github.com/mailru/easyjson/tests/members_unescaped.go
+gopkg/src/github.com/mailru/easyjson/tests/named_type.go
+gopkg/src/github.com/mailru/easyjson/tests/nested_easy.go
+gopkg/src/github.com/mailru/easyjson/tests/nested_marshaler.go
+gopkg/src/github.com/mailru/easyjson/tests/nocopy.go
+gopkg/src/github.com/mailru/easyjson/tests/nocopy_test.go
+gopkg/src/github.com/mailru/easyjson/tests/nothing.go
+gopkg/src/github.com/mailru/easyjson/tests/omitempty.go
+gopkg/src/github.com/mailru/easyjson/tests/opt_test.go
+gopkg/src/github.com/mailru/easyjson/tests/reference_to_pointer.go
+gopkg/src/github.com/mailru/easyjson/tests/required_test.go
+gopkg/src/github.com/mailru/easyjson/tests/snake.go
+gopkg/src/github.com/mailru/easyjson/tests/type_declaration.go
+gopkg/src/github.com/mailru/easyjson/tests/type_declaration_skip.go
+gopkg/src/github.com/mailru/easyjson/tests/unknown_fields.go
+gopkg/src/github.com/mailru/easyjson/tests/unknown_fields_test.go
+gopkg/src/github.com/mailru/easyjson/unknown_fields.go
diff --git a/go-easyjson/buildlink3.mk b/go-easyjson/buildlink3.mk
new file mode 100644
index 0000000000..d7a3a1b3af
--- /dev/null
+++ b/go-easyjson/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-easyjson
+
+.if !defined(GO_EASYJSON_BUILDLINK3_MK)
+GO_EASYJSON_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-easyjson=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-easyjson?=		build
+
+BUILDLINK_API_DEPENDS.go-easyjson+=	go-easyjson>=0.7.4.1
+BUILDLINK_PKGSRCDIR.go-easyjson?=	../../wip/go-easyjson
+
+
+.include "../../wip/go-intern/buildlink3.mk"
+.endif	# GO_EASYJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-easyjson
diff --git a/go-easyjson/distinfo b/go-easyjson/distinfo
new file mode 100644
index 0000000000..c1005307fa
--- /dev/null
+++ b/go-easyjson/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-easyjson-0.7.4.1.tar.gz) = e1496ce6fc1664d85a3b66194ef6b07157cdb8da
+RMD160 (go-easyjson-0.7.4.1.tar.gz) = 04961f34f32536b18b2bb5cdea6072404412dd95
+SHA512 (go-easyjson-0.7.4.1.tar.gz) = 969fa32703d80af5f615a431a46c6a4ff2b5ef843170c50150f58363c368cf8a293b48fbdb1038e937e58b76dccc9f84c64056566bd7b42bc6ec059363a2c58f
+Size (go-easyjson-0.7.4.1.tar.gz) = 81211 bytes


Home | Main Index | Thread Index | Old Index