Received: by mail.netbsd.org (Postfix, from userid 605) id 203B484D6F; Mon, 18 Jul 2022 14:19:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 56D3484D2D for ; Mon, 18 Jul 2022 14:19:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id CseCPq4NgvMb for ; Mon, 18 Jul 2022 14:19:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1F84C84D13 for ; Mon, 18 Jul 2022 14:19:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 11F2AFB1A; Mon, 18 Jul 2022 14:19:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1658153993110060" MIME-Version: 1.0 Date: Mon, 18 Jul 2022 14:19:53 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20220718141953.11F2AFB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1658153993110060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon Jul 18 14:19:52 UTC 2022 Modified Files: pkgsrc/devel/protobuf: Makefile PLIST distinfo pkgsrc/devel/py-protobuf: Makefile PLIST distinfo Log Message: {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 To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 pkgsrc/devel/protobuf/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/protobuf/PLIST cvs rdiff -u -r1.63 -r1.64 pkgsrc/devel/protobuf/distinfo cvs rdiff -u -r1.53 -r1.54 pkgsrc/devel/py-protobuf/Makefile cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-protobuf/PLIST cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/py-protobuf/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1658153993110060 Content-Disposition: inline Content-Length: 8563 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/protobuf/Makefile diff -u pkgsrc/devel/protobuf/Makefile:1.56 pkgsrc/devel/protobuf/Makefile:1.57 --- pkgsrc/devel/protobuf/Makefile:1.56 Fri Apr 22 10:13:33 2022 +++ pkgsrc/devel/protobuf/Makefile Mon Jul 18 14:19:52 2022 @@ -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 HOMEPAGE= https://github.com/protocolbuffers/protobuf Index: pkgsrc/devel/protobuf/PLIST diff -u pkgsrc/devel/protobuf/PLIST:1.19 pkgsrc/devel/protobuf/PLIST:1.20 --- pkgsrc/devel/protobuf/PLIST:1.19 Sun Apr 3 18:19:24 2022 +++ pkgsrc/devel/protobuf/PLIST Mon Jul 18 14:19:52 2022 @@ -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/arenastring.h 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/php/php 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/duration.proto 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.h 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 Index: pkgsrc/devel/protobuf/distinfo diff -u pkgsrc/devel/protobuf/distinfo:1.63 pkgsrc/devel/protobuf/distinfo:1.64 --- pkgsrc/devel/protobuf/distinfo:1.63 Fri Apr 22 10:13:33 2022 +++ pkgsrc/devel/protobuf/distinfo Mon Jul 18 14:19:52 2022 @@ -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 Index: pkgsrc/devel/py-protobuf/Makefile diff -u pkgsrc/devel/py-protobuf/Makefile:1.53 pkgsrc/devel/py-protobuf/Makefile:1.54 --- pkgsrc/devel/py-protobuf/Makefile:1.53 Sat Apr 23 09:30:24 2022 +++ pkgsrc/devel/py-protobuf/Makefile Mon Jul 18 14:19:52 2022 @@ -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/} Index: pkgsrc/devel/py-protobuf/PLIST diff -u pkgsrc/devel/py-protobuf/PLIST:1.17 pkgsrc/devel/py-protobuf/PLIST:1.18 --- pkgsrc/devel/py-protobuf/PLIST:1.17 Sun Apr 3 18:19:24 2022 +++ pkgsrc/devel/py-protobuf/PLIST Mon Jul 18 14:19:52 2022 @@ -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/timestamp_p ${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/util/json_f ${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 Index: pkgsrc/devel/py-protobuf/distinfo diff -u pkgsrc/devel/py-protobuf/distinfo:1.49 pkgsrc/devel/py-protobuf/distinfo:1.50 --- pkgsrc/devel/py-protobuf/distinfo:1.49 Sat Apr 23 09:30:24 2022 +++ pkgsrc/devel/py-protobuf/distinfo Mon Jul 18 14:19:52 2022 @@ -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 --_----------=_1658153993110060--