Fri Feb 19 06:04:01 2021 UTC ()
protobuf py-protobuf: updated to 3.15.0

Protocol Buffers v3.15.0

Protocol Compiler

Optional fields for proto3 are enabled by default, and no longer require
the --experimental_allow_proto3_optional flag.

C++

MessageDifferencer: fixed bug when using custom ignore with multiple
unknown fields
Use init_seg in MSVC to push initialization to an earlier phase.
Runtime no longer triggers -Wsign-compare warnings.
Fixed -Wtautological-constant-out-of-range-compare warning.
DynamicCastToGenerated works for nullptr input for even if RTTI is disabled
Arena is refactored and optimized.
Clarified/specified that the exact value of Arena::SpaceAllocated() is an
implementation detail users must not rely on. It should not be used in
unit tests.
Change the signature of Any::PackFrom() to return false on error.
Add fast reflection getter API for strings.
Constant initialize the global message instances
Avoid potential for missed wakeup in UnknownFieldSet
Now Proto3 Oneof fields have "has" methods for checking their presence in
C++.
Bugfix for NVCC
Return early in _InternalSerialize for empty maps.
Adding functionality for outputting map key values in proto path logging
output (does not affect comparison logic) and stop printing 'value' in the
path. The modified print functionality is in the
MessageDifferencer::StreamReporter.
Ensure that null char symbol, package and file names do not result in a
crash.
Constant initialize the global message instances
Pretty print 'max' instead of numeric values in reserved ranges.
Removed remaining instances of std::is_pod, which is deprecated in C++20.
Changes to reduce code size for unknown field handling by making uncommon
cases out of line.
Fix std::is_pod deprecated in C++20
Fix some -Wunused-parameter warnings
Fix detecting file as directory on zOS issue 8051
Don't include sys/param.h for _BYTE_ORDER
remove CMAKE_THREAD_LIBS_INIT from pkgconfig CFLAGS
Fix TextFormatMapTest.DynamicMessage issue 5136
Fix for compiler warning issue 8145
fix: support deprecated enums for GCC < 6
Fix some warning when compiling with Visual Studio 2019 on x64 target

Python

Provided an override for the reverse() method that will reverse the internal
collection directly instead of using the other methods of the BaseContainer.
MessageFactory.CreateProtoype can be overridden to customize class creation.
Fix PyUnknownFields memory leak
Add macOS big sur compatibility


(adam)
diff -r1.36 -r1.37 pkgsrc/devel/protobuf/Makefile
diff -r1.40 -r1.41 pkgsrc/devel/protobuf/distinfo
diff -r1.33 -r1.34 pkgsrc/devel/py-protobuf/Makefile
diff -r1.30 -r1.31 pkgsrc/devel/py-protobuf/distinfo

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

--- pkgsrc/devel/protobuf/Makefile 2020/12/31 20:04:11 1.36
+++ pkgsrc/devel/protobuf/Makefile 2021/02/19 06:04:01 1.37
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.36 2020/12/31 20:04:11 nia Exp $ 1# $NetBSD: Makefile,v 1.37 2021/02/19 06:04:01 adam Exp $
2 2
3DISTNAME= protobuf-cpp-3.14.0 3DISTNAME= protobuf-cpp-3.15.0
4PKGNAME= ${DISTNAME:S/-cpp//} 4PKGNAME= ${DISTNAME:S/-cpp//}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/}
7GITHUB_PROJECT= protobuf 7GITHUB_PROJECT= protobuf
8GITHUB_RELEASE= v${PKGVERSION_NOREV} 8GITHUB_RELEASE= v${PKGVERSION_NOREV}
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://github.com/protocolbuffers/protobuf 11HOMEPAGE= https://github.com/protocolbuffers/protobuf
12COMMENT= Google protocol buffers 12COMMENT= Google protocol buffers
13LICENSE= modified-bsd 13LICENSE= modified-bsd
14 14
15WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//} 15WRKSRC= ${WRKDIR}/${DISTNAME:S/-cpp//}
16 16

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

--- pkgsrc/devel/protobuf/distinfo 2020/11/14 14:07:40 1.40
+++ pkgsrc/devel/protobuf/distinfo 2021/02/19 06:04:01 1.41
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.40 2020/11/14 14:07:40 adam Exp $ 1$NetBSD: distinfo,v 1.41 2021/02/19 06:04:01 adam Exp $
2 2
3SHA1 (protobuf-cpp-3.14.0.tar.gz) = 4cc1a23af0590bf799b61782a937d8b24d7e7986 3SHA1 (protobuf-cpp-3.15.0.tar.gz) = daf51cda45fa1a4c9c781864a02dc50578c1d51d
4RMD160 (protobuf-cpp-3.14.0.tar.gz) = fe51ace0b3af284d0539be82199acd9d14ff5244 4RMD160 (protobuf-cpp-3.15.0.tar.gz) = 464ed279d5250177ad23444b5e5585304e303939
5SHA512 (protobuf-cpp-3.14.0.tar.gz) = 021a377a2bcfb1ee540e49371d1d7297d77359fd0de7b4a079918e8580258a7ee14256a9b392853dc6744e88d63b2fae723ab61cc9af599828f07f48b0161c74 5SHA512 (protobuf-cpp-3.15.0.tar.gz) = 88297d06961ee043071987243ff95b7112093d4ca12eddad9aaa04bc0bce32aee406c064b7609fbc8600ae65d4ce942985f5777d5594f9c00768ecd472fbd6cf
6Size (protobuf-cpp-3.14.0.tar.gz) = 4655133 bytes 6Size (protobuf-cpp-3.15.0.tar.gz) = 4656554 bytes
7SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5 7SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
8SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1 8SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1

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

--- pkgsrc/devel/py-protobuf/Makefile 2020/11/14 14:08:16 1.33
+++ pkgsrc/devel/py-protobuf/Makefile 2021/02/19 06:04:01 1.34
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.33 2020/11/14 14:08:16 adam Exp $ 1# $NetBSD: Makefile,v 1.34 2021/02/19 06:04:01 adam Exp $
2 2
3DISTNAME= protobuf-3.14.0 3DISTNAME= protobuf-3.15.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://developers.google.com/protocol-buffers/ 9HOMEPAGE= https://developers.google.com/protocol-buffers/
10COMMENT= Python bindings for protobuf 10COMMENT= Python bindings for protobuf
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip 13TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
14DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six 14DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.32.0:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.32.0:../../devel/py-wheel
16 16

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

--- pkgsrc/devel/py-protobuf/distinfo 2020/11/14 14:08:16 1.30
+++ pkgsrc/devel/py-protobuf/distinfo 2021/02/19 06:04:01 1.31
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.30 2020/11/14 14:08:16 adam Exp $ 1$NetBSD: distinfo,v 1.31 2021/02/19 06:04:01 adam Exp $
2 2
3SHA1 (protobuf-3.14.0.tar.gz) = 03454f5b219fd78f9a90f7dcafa2d60db4ca6ba3 3SHA1 (protobuf-3.15.0.tar.gz) = 68094162b9bfc0f3d63d7cb4245cc896dbb07865
4RMD160 (protobuf-3.14.0.tar.gz) = e2d58ddaf915693110e0c4c2f3fb245d3ae04088 4RMD160 (protobuf-3.15.0.tar.gz) = e07e811a2087cee0b057c53eba6b733a1289da13
5SHA512 (protobuf-3.14.0.tar.gz) = 21789f17d71edaadaa3b116d6463be0b020f575561fadb01c3c2a3c0423625b1ba55300ad6a61d745ff781803e96d941bea28a4551a9d1969658f651e6e30f33 5SHA512 (protobuf-3.15.0.tar.gz) = 502453d7c9f45a87862f5f9bf0025b7622b96026973e953af8143b615f098d525a0a212a1c74bc4f4d0e7337bab2e089fc51c8fde9680a53ce66bd1a94a74725
6Size (protobuf-3.14.0.tar.gz) = 227492 bytes 6Size (protobuf-3.15.0.tar.gz) = 228752 bytes