pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import json-iterator-20200608 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Wed Jan 20 14:07:03 2021 +0100
Changeset: a6ae917f8462aa209a275db337b64a7fc9dd35e1
Modified Files:
Makefile
Added Files:
go-json-iterator/DESCR
go-json-iterator/Makefile
go-json-iterator/PLIST
go-json-iterator/buildlink3.mk
go-json-iterator/distinfo
Log Message:
Import json-iterator-20200608 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a6ae917f8462aa209a275db337b64a7fc9dd35e1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-json-iterator/DESCR | 1 +
go-json-iterator/Makefile | 21 +++++++
go-json-iterator/PLIST | 139 +++++++++++++++++++++++++++++++++++++++++
go-json-iterator/buildlink3.mk | 19 ++++++
go-json-iterator/distinfo | 6 ++
6 files changed, 187 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index c9c032d3dd..c4cd97f848 100644
--- a/Makefile
+++ b/Makefile
@@ -1235,6 +1235,7 @@ SUBDIR+= go-imgui
SUBDIR+= go-incremental
SUBDIR+= go-intern
SUBDIR+= go-jira
+SUBDIR+= go-json-iterator
SUBDIR+= go-jsonparser
SUBDIR+= go-jump
SUBDIR+= go-junit-report
diff --git a/go-json-iterator/DESCR b/go-json-iterator/DESCR
new file mode 100644
index 0000000000..b3b6ef25df
--- /dev/null
+++ b/go-json-iterator/DESCR
@@ -0,0 +1 @@
+A high-performance 100% compatible drop-in replacement of "encoding/json"
diff --git a/go-json-iterator/Makefile b/go-json-iterator/Makefile
new file mode 100644
index 0000000000..9bf5e41619
--- /dev/null
+++ b/go-json-iterator/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME= json-iterator-20200608
+PKGNAME= go-${DISTNAME}
+GITHUB_PROJECT= go
+GITHUB_TAG= a1ca0830781e007c66b225121d2cdb3a649421f6
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=json-iterator/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://jsoniter.com/migrate-from-go-std.html
+COMMENT= High-performance compatible drop-in replacement of encoding/json
+LICENSE= mit
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/json-iterator/${GITHUB_PROJECT}
+
+.include "../../wip/go-concurrent/buildlink3.mk"
+.include "../../wip/go-reflect2/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-json-iterator/PLIST b/go-json-iterator/PLIST
new file mode 100644
index 0000000000..bce2b2f89e
--- /dev/null
+++ b/go-json-iterator/PLIST
@@ -0,0 +1,139 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/json-iterator/go.a
+gopkg/pkg/${GO_PLATFORM}/github.com/json-iterator/go/extra.a
+gopkg/src/github.com/json-iterator/go/Gopkg.lock
+gopkg/src/github.com/json-iterator/go/Gopkg.toml
+gopkg/src/github.com/json-iterator/go/LICENSE
+gopkg/src/github.com/json-iterator/go/README.md
+gopkg/src/github.com/json-iterator/go/adapter.go
+gopkg/src/github.com/json-iterator/go/any.go
+gopkg/src/github.com/json-iterator/go/any_array.go
+gopkg/src/github.com/json-iterator/go/any_bool.go
+gopkg/src/github.com/json-iterator/go/any_float.go
+gopkg/src/github.com/json-iterator/go/any_int32.go
+gopkg/src/github.com/json-iterator/go/any_int64.go
+gopkg/src/github.com/json-iterator/go/any_invalid.go
+gopkg/src/github.com/json-iterator/go/any_nil.go
+gopkg/src/github.com/json-iterator/go/any_number.go
+gopkg/src/github.com/json-iterator/go/any_object.go
+gopkg/src/github.com/json-iterator/go/any_str.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_array_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_bool_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_float_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_int_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_map_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_null_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_object_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_any_string_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_must_be_valid_test.go
+gopkg/src/github.com/json-iterator/go/any_tests/jsoniter_wrap_test.go
+gopkg/src/github.com/json-iterator/go/any_uint32.go
+gopkg/src/github.com/json-iterator/go/any_uint64.go
+gopkg/src/github.com/json-iterator/go/api_tests/config_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/decoder_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/encoder_18_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/encoder_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/marshal_indent_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/marshal_json_escape_test.go
+gopkg/src/github.com/json-iterator/go/api_tests/marshal_json_test.go
+gopkg/src/github.com/json-iterator/go/benchmarks/encode_string_test.go
+gopkg/src/github.com/json-iterator/go/benchmarks/jsoniter_large_file_test.go
+gopkg/src/github.com/json-iterator/go/benchmarks/stream_test.go
+gopkg/src/github.com/json-iterator/go/build.sh
+gopkg/src/github.com/json-iterator/go/config.go
+gopkg/src/github.com/json-iterator/go/example_test.go
+gopkg/src/github.com/json-iterator/go/extension_tests/decoder_test.go
+gopkg/src/github.com/json-iterator/go/extension_tests/extension_test.go
+gopkg/src/github.com/json-iterator/go/extra/binary_as_string_codec.go
+gopkg/src/github.com/json-iterator/go/extra/binary_as_string_codec_test.go
+gopkg/src/github.com/json-iterator/go/extra/fuzzy_decoder.go
+gopkg/src/github.com/json-iterator/go/extra/fuzzy_decoder_test.go
+gopkg/src/github.com/json-iterator/go/extra/naming_strategy.go
+gopkg/src/github.com/json-iterator/go/extra/naming_strategy_test.go
+gopkg/src/github.com/json-iterator/go/extra/privat_fields.go
+gopkg/src/github.com/json-iterator/go/extra/private_fields_test.go
+gopkg/src/github.com/json-iterator/go/extra/time_as_int64_codec.go
+gopkg/src/github.com/json-iterator/go/extra/time_as_int64_codec_test.go
+gopkg/src/github.com/json-iterator/go/fuzzy_mode_convert_table.md
+gopkg/src/github.com/json-iterator/go/go.mod
+gopkg/src/github.com/json-iterator/go/go.sum
+gopkg/src/github.com/json-iterator/go/iter.go
+gopkg/src/github.com/json-iterator/go/iter_array.go
+gopkg/src/github.com/json-iterator/go/iter_float.go
+gopkg/src/github.com/json-iterator/go/iter_int.go
+gopkg/src/github.com/json-iterator/go/iter_object.go
+gopkg/src/github.com/json-iterator/go/iter_skip.go
+gopkg/src/github.com/json-iterator/go/iter_skip_sloppy.go
+gopkg/src/github.com/json-iterator/go/iter_skip_sloppy_test.go
+gopkg/src/github.com/json-iterator/go/iter_skip_strict.go
+gopkg/src/github.com/json-iterator/go/iter_str.go
+gopkg/src/github.com/json-iterator/go/jsoniter.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_array_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_bool_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_float_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_int_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_interface_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_iterator_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_map_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_nested_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_null_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_object_test.go
+gopkg/src/github.com/json-iterator/go/misc_tests/jsoniter_raw_message_test.go
+gopkg/src/github.com/json-iterator/go/pool.go
+gopkg/src/github.com/json-iterator/go/reflect.go
+gopkg/src/github.com/json-iterator/go/reflect_array.go
+gopkg/src/github.com/json-iterator/go/reflect_dynamic.go
+gopkg/src/github.com/json-iterator/go/reflect_extension.go
+gopkg/src/github.com/json-iterator/go/reflect_json_number.go
+gopkg/src/github.com/json-iterator/go/reflect_json_raw_message.go
+gopkg/src/github.com/json-iterator/go/reflect_map.go
+gopkg/src/github.com/json-iterator/go/reflect_marshaler.go
+gopkg/src/github.com/json-iterator/go/reflect_native.go
+gopkg/src/github.com/json-iterator/go/reflect_optional.go
+gopkg/src/github.com/json-iterator/go/reflect_slice.go
+gopkg/src/github.com/json-iterator/go/reflect_struct_decoder.go
+gopkg/src/github.com/json-iterator/go/reflect_struct_encoder.go
+gopkg/src/github.com/json-iterator/go/skip_tests/array_test.go
+gopkg/src/github.com/json-iterator/go/skip_tests/float64_test.go
+gopkg/src/github.com/json-iterator/go/skip_tests/jsoniter_skip_test.go
+gopkg/src/github.com/json-iterator/go/skip_tests/skip_test.go
+gopkg/src/github.com/json-iterator/go/skip_tests/string_test.go
+gopkg/src/github.com/json-iterator/go/skip_tests/struct_test.go
+gopkg/src/github.com/json-iterator/go/stream.go
+gopkg/src/github.com/json-iterator/go/stream_float.go
+gopkg/src/github.com/json-iterator/go/stream_int.go
+gopkg/src/github.com/json-iterator/go/stream_str.go
+gopkg/src/github.com/json-iterator/go/stream_test.go
+gopkg/src/github.com/json-iterator/go/test.sh
+gopkg/src/github.com/json-iterator/go/type_tests/array_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/builtin_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/map_key_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/map_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/marshaler_string_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/marshaler_struct_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/slice_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/struct_embedded_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/struct_field_case_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/struct_tags_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/struct_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/text_marshaler_string_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/text_marshaler_struct_test.go
+gopkg/src/github.com/json-iterator/go/type_tests/type_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/array_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/bool_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/eface_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/error_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/float_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/iface_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/int_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/invalid_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/map_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/marshaler_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/number_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/ptr_114_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/ptr_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/raw_message_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/slice_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/string_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/struct_test.go
+gopkg/src/github.com/json-iterator/go/value_tests/value_test.go
diff --git a/go-json-iterator/buildlink3.mk b/go-json-iterator/buildlink3.mk
new file mode 100644
index 0000000000..a23ff480c5
--- /dev/null
+++ b/go-json-iterator/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-json-iterator
+
+.if !defined(GO_JSON_ITERATOR_BUILDLINK3_MK)
+GO_JSON_ITERATOR_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-json-iterator= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-json-iterator?= build
+
+BUILDLINK_API_DEPENDS.go-json-iterator+= go-json-iterator>=20200608
+BUILDLINK_PKGSRCDIR.go-json-iterator?= ../../wip/go-json-iterator
+
+
+.include "../../wip/go-concurrent/buildlink3.mk"
+.include "../../wip/go-reflect2/buildlink3.mk"
+.endif # GO_JSON_ITERATOR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-json-iterator
diff --git a/go-json-iterator/distinfo b/go-json-iterator/distinfo
new file mode 100644
index 0000000000..47924dacad
--- /dev/null
+++ b/go-json-iterator/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (json-iterator-20200608-a1ca0830781e007c66b225121d2cdb3a649421f6.tar.gz) = d568a694ca2240f23659b8d93ec6fcaa4fc79d1b
+RMD160 (json-iterator-20200608-a1ca0830781e007c66b225121d2cdb3a649421f6.tar.gz) = 874f71d09db19cb192fba4366b6048a116a77143
+SHA512 (json-iterator-20200608-a1ca0830781e007c66b225121d2cdb3a649421f6.tar.gz) = ee4c25b1991c47cf071430679a56711899524adbb17b35ead3becc5fcbdc9a9743dcb8d75446e32f7c541047cb5417fea23b660b84f3267ceebb4392865d9729
+Size (json-iterator-20200608-a1ca0830781e007c66b225121d2cdb3a649421f6.tar.gz) = 83375 bytes
Home |
Main Index |
Thread Index |
Old Index