Mon Nov 1 20:52:04 2021 UTC ()
{py-,}protobuf: update to 3.19.0

  C++
  * Make proto2::Message::DiscardUnknownFields() non-virtual
  * Separate RepeatedPtrField into its own header file
  * For default floating point values of 0, consider all bits significant
  * cmake: support `MSVC_RUNTIME_LIBRARY` property (#8851)
  * Fix shadowing warnings (#8926)
  * Fix for issue #8484, constant initialization doesn't compile in msvc clang-cl environment (#8993)
  * Fix build on AIX and SunOS (#8373) (#9065)
  * Add Android stlport and default toolchains to BUILD. (#8290)

  Python
  * Proto2 DecodeError now includes message name in error message
  * Make MessageToDict convert map keys to strings (#8122)
  * Add python-requires in setup.py (#8989)
  * Add python 3.10 (#9034)


(wiz)
diff -r1.49 -r1.50 pkgsrc/devel/protobuf/Makefile
diff -r1.17 -r1.18 pkgsrc/devel/protobuf/PLIST
diff -r1.58 -r1.59 pkgsrc/devel/protobuf/distinfo
diff -r1.46 -r1.47 pkgsrc/devel/py-protobuf/Makefile
diff -r1.44 -r1.45 pkgsrc/devel/py-protobuf/distinfo

cvs diff -r1.49 -r1.50 pkgsrc/devel/protobuf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/Makefile 2021/10/21 20:33:04 1.49
+++ pkgsrc/devel/protobuf/Makefile 2021/11/01 20:52:04 1.50
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.49 2021/10/21 20:33:04 kim Exp $ 1# $NetBSD: Makefile,v 1.50 2021/11/01 20:52:04 wiz Exp $
2 2
3DISTNAME= protobuf-cpp-3.18.1 3DISTNAME= protobuf-cpp-3.19.0
4PKGNAME= ${DISTNAME:S/-cpp//} 4PKGNAME= ${DISTNAME:S/-cpp//}
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/}
8GITHUB_PROJECT= protobuf 7GITHUB_PROJECT= protobuf
9GITHUB_RELEASE= v${PKGVERSION_NOREV} 8GITHUB_RELEASE= v${PKGVERSION_NOREV}
10 9
11MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= https://github.com/protocolbuffers/protobuf 11HOMEPAGE= https://github.com/protocolbuffers/protobuf
13COMMENT= Google protocol buffers 12COMMENT= Google protocol buffers
14LICENSE= modified-bsd 13LICENSE= modified-bsd
15 14
16WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//} 15WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//}
17 16
18USE_LANGUAGES= c c++11 17USE_LANGUAGES= c c++11

cvs diff -r1.17 -r1.18 pkgsrc/devel/protobuf/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/PLIST 2021/09/30 18:59:47 1.17
+++ pkgsrc/devel/protobuf/PLIST 2021/11/01 20:52:04 1.18
@@ -1,62 +1,68 @@ @@ -1,62 +1,68 @@
1@comment $NetBSD: PLIST,v 1.17 2021/09/30 18:59:47 adam Exp $ 1@comment $NetBSD: PLIST,v 1.18 2021/11/01 20:52:04 wiz Exp $
2bin/protoc 2bin/protoc
3include/google/protobuf/any.h 3include/google/protobuf/any.h
4include/google/protobuf/any.pb.h 4include/google/protobuf/any.pb.h
5include/google/protobuf/any.proto 5include/google/protobuf/any.proto
6include/google/protobuf/api.pb.h 6include/google/protobuf/api.pb.h
7include/google/protobuf/api.proto 7include/google/protobuf/api.proto
8include/google/protobuf/arena.h 8include/google/protobuf/arena.h
9include/google/protobuf/arena_impl.h 9include/google/protobuf/arena_impl.h
10include/google/protobuf/arenastring.h 10include/google/protobuf/arenastring.h
11include/google/protobuf/compiler/code_generator.h 11include/google/protobuf/compiler/code_generator.h
12include/google/protobuf/compiler/command_line_interface.h 12include/google/protobuf/compiler/command_line_interface.h
 13include/google/protobuf/compiler/cpp/cpp_file.h
13include/google/protobuf/compiler/cpp/cpp_generator.h 14include/google/protobuf/compiler/cpp/cpp_generator.h
 15include/google/protobuf/compiler/cpp/cpp_helpers.h
 16include/google/protobuf/compiler/cpp/cpp_names.h
 17include/google/protobuf/compiler/csharp/csharp_doc_comment.h
14include/google/protobuf/compiler/csharp/csharp_generator.h 18include/google/protobuf/compiler/csharp/csharp_generator.h
15include/google/protobuf/compiler/csharp/csharp_names.h 19include/google/protobuf/compiler/csharp/csharp_names.h
 20include/google/protobuf/compiler/csharp/csharp_options.h
16include/google/protobuf/compiler/importer.h 21include/google/protobuf/compiler/importer.h
17include/google/protobuf/compiler/java/java_generator.h 22include/google/protobuf/compiler/java/java_generator.h
18include/google/protobuf/compiler/java/java_kotlin_generator.h 23include/google/protobuf/compiler/java/java_kotlin_generator.h
19include/google/protobuf/compiler/java/java_names.h 24include/google/protobuf/compiler/java/java_names.h
20include/google/protobuf/compiler/js/js_generator.h 25include/google/protobuf/compiler/js/js_generator.h
21include/google/protobuf/compiler/js/well_known_types_embed.h 
22include/google/protobuf/compiler/objectivec/objectivec_generator.h 26include/google/protobuf/compiler/objectivec/objectivec_generator.h
23include/google/protobuf/compiler/objectivec/objectivec_helpers.h 27include/google/protobuf/compiler/objectivec/objectivec_helpers.h
24include/google/protobuf/compiler/parser.h 28include/google/protobuf/compiler/parser.h
25include/google/protobuf/compiler/php/php_generator.h 29include/google/protobuf/compiler/php/php_generator.h
26include/google/protobuf/compiler/plugin.h 30include/google/protobuf/compiler/plugin.h
27include/google/protobuf/compiler/plugin.pb.h 31include/google/protobuf/compiler/plugin.pb.h
28include/google/protobuf/compiler/plugin.proto 32include/google/protobuf/compiler/plugin.proto
29include/google/protobuf/compiler/python/python_generator.h 33include/google/protobuf/compiler/python/python_generator.h
30include/google/protobuf/compiler/ruby/ruby_generator.h 34include/google/protobuf/compiler/ruby/ruby_generator.h
31include/google/protobuf/descriptor.h 35include/google/protobuf/descriptor.h
32include/google/protobuf/descriptor.pb.h 36include/google/protobuf/descriptor.pb.h
33include/google/protobuf/descriptor.proto 37include/google/protobuf/descriptor.proto
34include/google/protobuf/descriptor_database.h 38include/google/protobuf/descriptor_database.h
35include/google/protobuf/duration.pb.h 39include/google/protobuf/duration.pb.h
36include/google/protobuf/duration.proto 40include/google/protobuf/duration.proto
37include/google/protobuf/dynamic_message.h 41include/google/protobuf/dynamic_message.h
38include/google/protobuf/empty.pb.h 42include/google/protobuf/empty.pb.h
39include/google/protobuf/empty.proto 43include/google/protobuf/empty.proto
 44include/google/protobuf/explicitly_constructed.h
40include/google/protobuf/extension_set.h 45include/google/protobuf/extension_set.h
41include/google/protobuf/extension_set_inl.h 46include/google/protobuf/extension_set_inl.h
42include/google/protobuf/field_access_listener.h 47include/google/protobuf/field_access_listener.h
43include/google/protobuf/field_mask.pb.h 48include/google/protobuf/field_mask.pb.h
44include/google/protobuf/field_mask.proto 49include/google/protobuf/field_mask.proto
45include/google/protobuf/generated_enum_reflection.h 50include/google/protobuf/generated_enum_reflection.h
46include/google/protobuf/generated_enum_util.h 51include/google/protobuf/generated_enum_util.h
47include/google/protobuf/generated_message_bases.h 52include/google/protobuf/generated_message_bases.h
48include/google/protobuf/generated_message_reflection.h 53include/google/protobuf/generated_message_reflection.h
49include/google/protobuf/generated_message_table_driven.h 54include/google/protobuf/generated_message_table_driven.h
 55include/google/protobuf/generated_message_table_driven_lite.h
50include/google/protobuf/generated_message_tctable_decl.h 56include/google/protobuf/generated_message_tctable_decl.h
51include/google/protobuf/generated_message_tctable_impl.h 57include/google/protobuf/generated_message_tctable_impl.h
52include/google/protobuf/generated_message_tctable_impl.inc 58include/google/protobuf/generated_message_tctable_impl.inc
53include/google/protobuf/generated_message_util.h 59include/google/protobuf/generated_message_util.h
54include/google/protobuf/has_bits.h 60include/google/protobuf/has_bits.h
55include/google/protobuf/implicit_weak_message.h 61include/google/protobuf/implicit_weak_message.h
56include/google/protobuf/inlined_string_field.h 62include/google/protobuf/inlined_string_field.h
57include/google/protobuf/io/coded_stream.h 63include/google/protobuf/io/coded_stream.h
58include/google/protobuf/io/gzip_stream.h 64include/google/protobuf/io/gzip_stream.h
59include/google/protobuf/io/io_win32.h 65include/google/protobuf/io/io_win32.h
60include/google/protobuf/io/printer.h 66include/google/protobuf/io/printer.h
61include/google/protobuf/io/strtod.h 67include/google/protobuf/io/strtod.h
62include/google/protobuf/io/tokenizer.h 68include/google/protobuf/io/tokenizer.h
@@ -71,30 +77,30 @@ include/google/protobuf/map_field_inl.h @@ -71,30 +77,30 @@ include/google/protobuf/map_field_inl.h
71include/google/protobuf/map_field_lite.h 77include/google/protobuf/map_field_lite.h
72include/google/protobuf/map_type_handler.h 78include/google/protobuf/map_type_handler.h
73include/google/protobuf/message.h 79include/google/protobuf/message.h
74include/google/protobuf/message_lite.h 80include/google/protobuf/message_lite.h
75include/google/protobuf/metadata.h 81include/google/protobuf/metadata.h
76include/google/protobuf/metadata_lite.h 82include/google/protobuf/metadata_lite.h
77include/google/protobuf/parse_context.h 83include/google/protobuf/parse_context.h
78include/google/protobuf/port.h 84include/google/protobuf/port.h
79include/google/protobuf/port_def.inc 85include/google/protobuf/port_def.inc
80include/google/protobuf/port_undef.inc 86include/google/protobuf/port_undef.inc
81include/google/protobuf/reflection.h 87include/google/protobuf/reflection.h
82include/google/protobuf/reflection_ops.h 88include/google/protobuf/reflection_ops.h
83include/google/protobuf/repeated_field.h 89include/google/protobuf/repeated_field.h
 90include/google/protobuf/repeated_ptr_field.h
84include/google/protobuf/service.h 91include/google/protobuf/service.h
85include/google/protobuf/source_context.pb.h 92include/google/protobuf/source_context.pb.h
86include/google/protobuf/source_context.proto 93include/google/protobuf/source_context.proto
87include/google/protobuf/string_member_robber.h 
88include/google/protobuf/struct.pb.h 94include/google/protobuf/struct.pb.h
89include/google/protobuf/struct.proto 95include/google/protobuf/struct.proto
90include/google/protobuf/stubs/bytestream.h 96include/google/protobuf/stubs/bytestream.h
91include/google/protobuf/stubs/callback.h 97include/google/protobuf/stubs/callback.h
92include/google/protobuf/stubs/casts.h 98include/google/protobuf/stubs/casts.h
93include/google/protobuf/stubs/common.h 99include/google/protobuf/stubs/common.h
94include/google/protobuf/stubs/hash.h 100include/google/protobuf/stubs/hash.h
95include/google/protobuf/stubs/logging.h 101include/google/protobuf/stubs/logging.h
96include/google/protobuf/stubs/macros.h 102include/google/protobuf/stubs/macros.h
97include/google/protobuf/stubs/map_util.h 103include/google/protobuf/stubs/map_util.h
98include/google/protobuf/stubs/mutex.h 104include/google/protobuf/stubs/mutex.h
99include/google/protobuf/stubs/once.h 105include/google/protobuf/stubs/once.h
100include/google/protobuf/stubs/platform_macros.h 106include/google/protobuf/stubs/platform_macros.h

cvs diff -r1.58 -r1.59 pkgsrc/devel/protobuf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/protobuf/distinfo 2021/10/26 10:18:05 1.58
+++ pkgsrc/devel/protobuf/distinfo 2021/11/01 20:52:04 1.59
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1$NetBSD: distinfo,v 1.58 2021/10/26 10:18:05 nia Exp $ 1$NetBSD: distinfo,v 1.59 2021/11/01 20:52:04 wiz Exp $
2 2
3BLAKE2s (protobuf-cpp-3.18.1.tar.gz) = 2d275433f970e96e5b5b8c3dbbf8a5fb36fd1fec7dbb47fec4d4011e2670894a 3BLAKE2s (protobuf-cpp-3.19.0.tar.gz) = 541fb3020eed98c61db8fd584f7f90aa86acf1f85ae42c521a9ea77e305c241c
4SHA512 (protobuf-cpp-3.18.1.tar.gz) = 524340259bf084a228b2a3bae9a45b7730fc75e4e523ec928f062a10eaea8b914638007037a1e04ec25db5d23f7d339850cf658b5611c54bde6cf12927651164 4SHA512 (protobuf-cpp-3.19.0.tar.gz) = 2961676448e10646d8a9fd98e926f45372735be03cd230eefed1ddd8031fc9755deb13c1cd61ac10253911a94649cdd5fddfbfef9a9e05116f22e2622471c3dd
5Size (protobuf-cpp-3.18.1.tar.gz) = 4776202 bytes 5Size (protobuf-cpp-3.19.0.tar.gz) = 4798696 bytes
6SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef 6SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef
7SHA1 (patch-src_google_protobuf_port__def.inc) = b9af7b28ebca182f1e23b5db8899005d38c7837c 
8SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855 7SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855

cvs diff -r1.46 -r1.47 pkgsrc/devel/py-protobuf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-protobuf/Makefile 2021/10/21 20:33:05 1.46
+++ pkgsrc/devel/py-protobuf/Makefile 2021/11/01 20:52:04 1.47
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.46 2021/10/21 20:33:05 kim Exp $ 1# $NetBSD: Makefile,v 1.47 2021/11/01 20:52:04 wiz Exp $
2 2
3DISTNAME= protobuf-3.18.1 3DISTNAME= protobuf-3.19.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://developers.google.com/protocol-buffers/ 9HOMEPAGE= https://developers.google.com/protocol-buffers/
11COMMENT= Python bindings for protobuf 10COMMENT= Python bindings for protobuf
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14USE_LANGUAGES+= c c++11 13USE_LANGUAGES+= c c++11
15 14
16PYTHON_VERSIONS_INCOMPATIBLE= 27 15PYTHON_VERSIONS_INCOMPATIBLE= 27
17 16
18MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc 17MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc

cvs diff -r1.44 -r1.45 pkgsrc/devel/py-protobuf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-protobuf/distinfo 2021/10/26 10:18:47 1.44
+++ pkgsrc/devel/py-protobuf/distinfo 2021/11/01 20:52:04 1.45
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.44 2021/10/26 10:18:47 nia Exp $ 1$NetBSD: distinfo,v 1.45 2021/11/01 20:52:04 wiz Exp $
2 2
3BLAKE2s (protobuf-3.18.1.tar.gz) = eb9c30302286c5d63121404adb6e0a6c2b8b3552be50b1c071495c67f22e79d2 3BLAKE2s (protobuf-3.19.0.tar.gz) = f93306c7c7f2b0028ce4c1cc61256fcb0aeca3d530e968cfafa0ca9768ef4373
4SHA512 (protobuf-3.18.1.tar.gz) = 367241c0375f97e7f7e0ae6b5e3df0130d4cbe41f255932449ac3fd3f1731c1d1448331c38c85f536365f16d47e746dead276264896773bfb319855aa4a6471c 4SHA512 (protobuf-3.19.0.tar.gz) = 7a0bda1dd13df02443148e22f81455644f3fbf845addb0f3e393511315175b6827b2e532fea466339e93cea5631dfa104e22ecbbb8daac1dda6fe25d57830fee
5Size (protobuf-3.18.1.tar.gz) = 229236 bytes 5Size (protobuf-3.19.0.tar.gz) = 217553 bytes