pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel protobuf py-protobuf: updated to 3.15.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a95b3801af3
branches:  trunk
changeset: 447291:1a95b3801af3
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Feb 19 06:04:01 2021 +0000

description:
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

diffstat:

 devel/protobuf/Makefile    |   4 ++--
 devel/protobuf/distinfo    |  10 +++++-----
 devel/py-protobuf/Makefile |   4 ++--
 devel/py-protobuf/distinfo |  10 +++++-----
 4 files changed, 14 insertions(+), 14 deletions(-)

diffs (56 lines):

diff -r 23813ae0be56 -r 1a95b3801af3 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Fri Feb 19 05:52:32 2021 +0000
+++ b/devel/protobuf/Makefile   Fri Feb 19 06:04:01 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2020/12/31 20:04:11 nia Exp $
+# $NetBSD: Makefile,v 1.37 2021/02/19 06:04:01 adam Exp $
 
-DISTNAME=      protobuf-cpp-3.14.0
+DISTNAME=      protobuf-cpp-3.15.0
 PKGNAME=       ${DISTNAME:S/-cpp//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protocolbuffers/}
diff -r 23813ae0be56 -r 1a95b3801af3 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Fri Feb 19 05:52:32 2021 +0000
+++ b/devel/protobuf/distinfo   Fri Feb 19 06:04:01 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.40 2020/11/14 14:07:40 adam Exp $
+$NetBSD: distinfo,v 1.41 2021/02/19 06:04:01 adam Exp $
 
-SHA1 (protobuf-cpp-3.14.0.tar.gz) = 4cc1a23af0590bf799b61782a937d8b24d7e7986
-RMD160 (protobuf-cpp-3.14.0.tar.gz) = fe51ace0b3af284d0539be82199acd9d14ff5244
-SHA512 (protobuf-cpp-3.14.0.tar.gz) = 021a377a2bcfb1ee540e49371d1d7297d77359fd0de7b4a079918e8580258a7ee14256a9b392853dc6744e88d63b2fae723ab61cc9af599828f07f48b0161c74
-Size (protobuf-cpp-3.14.0.tar.gz) = 4655133 bytes
+SHA1 (protobuf-cpp-3.15.0.tar.gz) = daf51cda45fa1a4c9c781864a02dc50578c1d51d
+RMD160 (protobuf-cpp-3.15.0.tar.gz) = 464ed279d5250177ad23444b5e5585304e303939
+SHA512 (protobuf-cpp-3.15.0.tar.gz) = 88297d06961ee043071987243ff95b7112093d4ca12eddad9aaa04bc0bce32aee406c064b7609fbc8600ae65d4ce942985f5777d5594f9c00768ecd472fbd6cf
+Size (protobuf-cpp-3.15.0.tar.gz) = 4656554 bytes
 SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
 SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1
diff -r 23813ae0be56 -r 1a95b3801af3 devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile        Fri Feb 19 05:52:32 2021 +0000
+++ b/devel/py-protobuf/Makefile        Fri Feb 19 06:04:01 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2020/11/14 14:08:16 adam Exp $
+# $NetBSD: Makefile,v 1.34 2021/02/19 06:04:01 adam Exp $
 
-DISTNAME=      protobuf-3.14.0
+DISTNAME=      protobuf-3.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-python//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/protobuf/}
diff -r 23813ae0be56 -r 1a95b3801af3 devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo        Fri Feb 19 05:52:32 2021 +0000
+++ b/devel/py-protobuf/distinfo        Fri Feb 19 06:04:01 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.30 2020/11/14 14:08:16 adam Exp $
+$NetBSD: distinfo,v 1.31 2021/02/19 06:04:01 adam Exp $
 
-SHA1 (protobuf-3.14.0.tar.gz) = 03454f5b219fd78f9a90f7dcafa2d60db4ca6ba3
-RMD160 (protobuf-3.14.0.tar.gz) = e2d58ddaf915693110e0c4c2f3fb245d3ae04088
-SHA512 (protobuf-3.14.0.tar.gz) = 21789f17d71edaadaa3b116d6463be0b020f575561fadb01c3c2a3c0423625b1ba55300ad6a61d745ff781803e96d941bea28a4551a9d1969658f651e6e30f33
-Size (protobuf-3.14.0.tar.gz) = 227492 bytes
+SHA1 (protobuf-3.15.0.tar.gz) = 68094162b9bfc0f3d63d7cb4245cc896dbb07865
+RMD160 (protobuf-3.15.0.tar.gz) = e07e811a2087cee0b057c53eba6b733a1289da13
+SHA512 (protobuf-3.15.0.tar.gz) = 502453d7c9f45a87862f5f9bf0025b7622b96026973e953af8143b615f098d525a0a212a1c74bc4f4d0e7337bab2e089fc51c8fde9680a53ce66bd1a94a74725
+Size (protobuf-3.15.0.tar.gz) = 228752 bytes



Home | Main Index | Thread Index | Old Index