pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel {py-,}protobuf: update to {3,4}.21.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5584207c8e3e
branches:  trunk
changeset: 382022:5584207c8e3e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 18 14:19:52 2022 +0000

description:
{py-,}protobuf: update to {3,4}.21.2

2022-05-27 version 21.1 (C++/Java/Python/PHP/Objective-C/C#/Ruby)

  C++
  * cmake: Revert "Fix cmake install targets (#9822)" (#10060)
  * Remove Abseil dependency from CMake build (#10056)

  Python
  * Update python wheel metadata with more information incl. required python version (#10058)
  * Fix segmentation fault when instantiating field via repeated field assignment (#10066)

2022-05-25 version 21.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby)

  C++
  * cmake: Call get_filename_component() with DIRECTORY mode instead of PATH mode (#9614)
  * Escape GetObject macro inside protoc-generated code (#9739)
  * Update CMake configuration to add a dependency on Abseil (#9793)
  * Fix cmake install targets (#9822)
  * Use __constinit only in GCC 12.2 and up (#9936)

  Python
  * Increment python major version to 4 in version.json for python upb (#9926)
  * The C extension module for Python has been rewritten to use the upb library.
    This is expected to deliver significant performance benefits, especially when
    parsing large payloads.  There are some minor breaking changes, but these
    should not impact most users.  For more information see:
    https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
  * Fixed win32 build and fixed str(message) on all Windows platforms. (#9976)
  * The binary wheel for macOS now supports Apple silicon.


2022-05-19 version 21.0-rc2(C++/Java/Python/PHP/Objective-C/C#/Ruby)

  Python
  * Fix windows builds
  * Throw more helpful error if generated code is out of date
  * Fixed two reference leaks

2022-05-10 version 21.0-rc1 (C++/Java/Python/PHP/Objective-C/C#/Ruby)

  C++
  * Rename main cmake/CMakeLists.txt to CMakeLists.txt (#9603)
  * avoid allocating memory if all extension are cleared (#9345)
  * cmake: Call get_filename_component() with DIRECTORY mode instead of PATH mode (#9614)
  * Escape GetObject macro inside protoc-generated code (#9739)
  * Update CMake configuration to add a dependency on Abseil (#9793)
  * Use __constinit only in GCC 12.2 and up (#9936)
  * Refactor generated message class layout
  * Optimize tokenizer ParseInteger by removing division
  * Reserve exactly the right amount of capacity in ExtensionSet::MergeFrom
  * Parse FLT_MAX correctly when represented in JSON

  Python
  * Increment python major version to 4 in version.json for python upb (#9926)
  * The C extension module for Python has been rewritten to use the upb library.
    This is expected to deliver significant performance benefits, especially when
    parsing large payloads.  There are some minor breaking changes, but these
    should not impact most users.  For more information see:
    https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
  * Due to the breaking changes for Python, the major version number for Python
    has been incremented.
  * The binary wheel for macOS now supports Apple silicon.

  Compiler
  * Protoc outputs the list of suggested field numbers when invalid field
    numbers are specified in the .proto file.
  * Require package names to be less than 512 bytes in length

diffstat:

 devel/protobuf/Makefile    |   7 ++++---
 devel/protobuf/PLIST       |  20 ++++++++++++--------
 devel/protobuf/distinfo    |   8 ++++----
 devel/py-protobuf/Makefile |   4 ++--
 devel/py-protobuf/PLIST    |  17 ++++++++++-------
 devel/py-protobuf/distinfo |   8 ++++----
 6 files changed, 36 insertions(+), 28 deletions(-)

diffs (163 lines):

diff -r 5bc7801aeb80 -r 5584207c8e3e devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/protobuf/Makefile   Mon Jul 18 14:19:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2022/04/22 10:13:33 adam Exp $
+# $NetBSD: Makefile,v 1.57 2022/07/18 14:19:52 wiz Exp $
 #
 # When updating this, please also update devel/py-protobuf
 #
@@ -7,12 +7,13 @@
 # from before and after, and do a recursive PKGREVISION
 # bump if necessary
 
-DISTNAME=      protobuf-cpp-3.20.1
+DISTNAME=      protobuf-cpp-3.21.2
 PKGNAME=       ${DISTNAME:S/-cpp//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protocolbuffers/}
 GITHUB_PROJECT=        protobuf
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+# attention, does not match version above!
+GITHUB_RELEASE=        v21.2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/protocolbuffers/protobuf
diff -r 5bc7801aeb80 -r 5584207c8e3e devel/protobuf/PLIST
--- a/devel/protobuf/PLIST      Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/protobuf/PLIST      Mon Jul 18 14:19:52 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2022/04/03 18:19:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2022/07/18 14:19:52 wiz Exp $
 bin/protoc
 include/google/protobuf/any.h
 include/google/protobuf/any.pb.h
@@ -11,19 +11,20 @@
 include/google/protobuf/arenaz_sampler.h
 include/google/protobuf/compiler/code_generator.h
 include/google/protobuf/compiler/command_line_interface.h
-include/google/protobuf/compiler/cpp/cpp_file.h
 include/google/protobuf/compiler/cpp/cpp_generator.h
-include/google/protobuf/compiler/cpp/cpp_helpers.h
-include/google/protobuf/compiler/cpp/cpp_names.h
+include/google/protobuf/compiler/cpp/file.h
+include/google/protobuf/compiler/cpp/generator.h
+include/google/protobuf/compiler/cpp/helpers.h
+include/google/protobuf/compiler/cpp/names.h
 include/google/protobuf/compiler/csharp/csharp_doc_comment.h
 include/google/protobuf/compiler/csharp/csharp_generator.h
 include/google/protobuf/compiler/csharp/csharp_names.h
 include/google/protobuf/compiler/csharp/csharp_options.h
 include/google/protobuf/compiler/importer.h
+include/google/protobuf/compiler/java/generator.h
 include/google/protobuf/compiler/java/java_generator.h
-include/google/protobuf/compiler/java/java_kotlin_generator.h
-include/google/protobuf/compiler/java/java_names.h
-include/google/protobuf/compiler/js/js_generator.h
+include/google/protobuf/compiler/java/kotlin_generator.h
+include/google/protobuf/compiler/java/names.h
 include/google/protobuf/compiler/objectivec/objectivec_generator.h
 include/google/protobuf/compiler/objectivec/objectivec_helpers.h
 include/google/protobuf/compiler/parser.h
@@ -31,8 +32,9 @@
 include/google/protobuf/compiler/plugin.h
 include/google/protobuf/compiler/plugin.pb.h
 include/google/protobuf/compiler/plugin.proto
+include/google/protobuf/compiler/python/generator.h
+include/google/protobuf/compiler/python/pyi_generator.h
 include/google/protobuf/compiler/python/python_generator.h
-include/google/protobuf/compiler/python/python_pyi_generator.h
 include/google/protobuf/compiler/ruby/ruby_generator.h
 include/google/protobuf/descriptor.h
 include/google/protobuf/descriptor.pb.h
@@ -43,6 +45,7 @@
 include/google/protobuf/dynamic_message.h
 include/google/protobuf/empty.pb.h
 include/google/protobuf/empty.proto
+include/google/protobuf/endian.h
 include/google/protobuf/explicitly_constructed.h
 include/google/protobuf/extension_set.h
 include/google/protobuf/extension_set_inl.h
@@ -84,6 +87,7 @@
 include/google/protobuf/port_def.inc
 include/google/protobuf/port_undef.inc
 include/google/protobuf/reflection.h
+include/google/protobuf/reflection_internal.h
 include/google/protobuf/reflection_ops.h
 include/google/protobuf/repeated_field.h
 include/google/protobuf/repeated_ptr_field.h
diff -r 5bc7801aeb80 -r 5584207c8e3e devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/protobuf/distinfo   Mon Jul 18 14:19:52 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.63 2022/04/22 10:13:33 adam Exp $
+$NetBSD: distinfo,v 1.64 2022/07/18 14:19:52 wiz Exp $
 
-BLAKE2s (protobuf-cpp-3.20.1.tar.gz) = cabd251ba16333903b41a0e118604fe914ec036a31acf1e64d27cbcd2cf0b810
-SHA512 (protobuf-cpp-3.20.1.tar.gz) = aa3e9a3fbd38d6d868586b16f67b79656a693890d5d436b9369db43b9eee11adbf90a1bff117691fb02fd06216314bd8b3b439c99fab5f51c05c8d9ce2dcfe97
-Size (protobuf-cpp-3.20.1.tar.gz) = 4835820 bytes
+BLAKE2s (protobuf-cpp-3.21.2.tar.gz) = 85ef70b1de4ca3ea97b9c88705c2afdc7febc750a7be87b3a258ea30f1ce2a6d
+SHA512 (protobuf-cpp-3.21.2.tar.gz) = 2619b94871c2676d19a97bd5c4ead51daf4385fec67a96fa590e74ee4de3c49ba668ca108170f4dc778790b8d3033c2a7e41afdeebb986f07488ef80b7df3fb6
+Size (protobuf-cpp-3.21.2.tar.gz) = 4838235 bytes
 SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef
 SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855
diff -r 5bc7801aeb80 -r 5584207c8e3e devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile        Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/py-protobuf/Makefile        Mon Jul 18 14:19:52 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.53 2022/04/23 09:30:24 adam Exp $
+# $NetBSD: Makefile,v 1.54 2022/07/18 14:19:52 wiz Exp $
 
-DISTNAME=      protobuf-3.20.1
+DISTNAME=      protobuf-4.21.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/protobuf/}
diff -r 5bc7801aeb80 -r 5584207c8e3e devel/py-protobuf/PLIST
--- a/devel/py-protobuf/PLIST   Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/py-protobuf/PLIST   Mon Jul 18 14:19:52 2022 +0000
@@ -1,10 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2022/04/03 18:19:24 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
+@comment $NetBSD: PLIST,v 1.18 2022/07/18 14:19:52 wiz Exp $
 ${PYSITELIB}/google/protobuf/__init__.py
 ${PYSITELIB}/google/protobuf/__init__.pyc
 ${PYSITELIB}/google/protobuf/__init__.pyo
@@ -130,6 +124,9 @@
 ${PYSITELIB}/google/protobuf/type_pb2.py
 ${PYSITELIB}/google/protobuf/type_pb2.pyc
 ${PYSITELIB}/google/protobuf/type_pb2.pyo
+${PYSITELIB}/google/protobuf/unknown_fields.py
+${PYSITELIB}/google/protobuf/unknown_fields.pyc
+${PYSITELIB}/google/protobuf/unknown_fields.pyo
 ${PYSITELIB}/google/protobuf/util/__init__.py
 ${PYSITELIB}/google/protobuf/util/__init__.pyc
 ${PYSITELIB}/google/protobuf/util/__init__.pyo
@@ -142,3 +139,9 @@
 ${PYSITELIB}/google/protobuf/wrappers_pb2.py
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyc
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyo
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 5bc7801aeb80 -r 5584207c8e3e devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo        Mon Jul 18 12:49:28 2022 +0000
+++ b/devel/py-protobuf/distinfo        Mon Jul 18 14:19:52 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.49 2022/04/23 09:30:24 adam Exp $
+$NetBSD: distinfo,v 1.50 2022/07/18 14:19:52 wiz Exp $
 
-BLAKE2s (protobuf-3.20.1.tar.gz) = 6c5c62a8b56e887b21ccb9c764b07d43e39ff4112d1cd99448400c0e06e46cdf
-SHA512 (protobuf-3.20.1.tar.gz) = 0fa7f9f1670ad673518cad3704337f0b05057e1c4b2db58a702251a1a03671edb53cfa84af007ed9c0597e0454ab9ce708654ea4e04219afe462fd6f35cdf4c8
-Size (protobuf-3.20.1.tar.gz) = 216462 bytes
+BLAKE2s (protobuf-4.21.2.tar.gz) = 6dd3380f8567c92fa716dd607e5a2782dde341ba05c922c8e579dbc109237f63
+SHA512 (protobuf-4.21.2.tar.gz) = 58168d01de6b6ed4a36b2d97d7413185273633a08319d8f52ca18d3236be6597e167b803d432f3d6caa16314400102dd524313936f4f279c19aa665f1748f8eb
+Size (protobuf-4.21.2.tar.gz) = 220331 bytes



Home | Main Index | Thread Index | Old Index