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 [34].21.10
details: https://anonhg.NetBSD.org/pkgsrc/rev/b23c0b26f76e
branches: trunk
changeset: 389467:b23c0b26f76e
user: adam <adam%pkgsrc.org@localhost>
date: Sun Dec 04 17:38:45 2022 +0000
description:
protobuf py-protobuf: updated to [34].21.10
Protocol Buffers v21.10
Java
Use bit-field int values in buildPartial to skip work on unset groups of fields.
Mark nested builder as clean after clear is called
UPB
Fix UPB_LIKELY() for 32-bit Windows builds; update protobuf_deps to point to the current upb 21.x
Other
Add public modifiers to kotlin code
diffstat:
devel/protobuf/Makefile | 4 +-
devel/protobuf/distinfo | 8 +-
devel/py-protobuf/Makefile | 34 +++------
devel/py-protobuf/PLIST | 18 ++--
devel/py-protobuf/PLIST.py311 | 139 ------------------------------------------
devel/py-protobuf/distinfo | 11 +--
6 files changed, 31 insertions(+), 183 deletions(-)
diffs (287 lines):
diff -r f70a8923af9b -r b23c0b26f76e devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Sun Dec 04 17:11:25 2022 +0000
+++ b/devel/protobuf/Makefile Sun Dec 04 17:38:45 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2022/10/28 08:36:05 adam Exp $
+# $NetBSD: Makefile,v 1.64 2022/12/04 17:38:45 adam Exp $
#
# When updating this, please also update devel/py-protobuf
#
@@ -7,7 +7,7 @@
# from before and after, and do a recursive PKGREVISION
# bump if necessary
-DISTNAME= protobuf-cpp-3.21.9
+DISTNAME= protobuf-cpp-3.21.10
PKGNAME= ${DISTNAME:S/-cpp//}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=protocolbuffers/}
diff -r f70a8923af9b -r b23c0b26f76e devel/protobuf/distinfo
--- a/devel/protobuf/distinfo Sun Dec 04 17:11:25 2022 +0000
+++ b/devel/protobuf/distinfo Sun Dec 04 17:38:45 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.70 2022/10/28 08:36:05 adam Exp $
+$NetBSD: distinfo,v 1.71 2022/12/04 17:38:45 adam Exp $
-BLAKE2s (protobuf-cpp-3.21.9.tar.gz) = 2cfd3c79de0ad63bc892d06053181ddf342f10bad7285428e281decacc542844
-SHA512 (protobuf-cpp-3.21.9.tar.gz) = 0ca95bc37acf6f6ac90834931ed9a73e1181b7994cc331b759312b8c252d6d7e6b81c62ab87b2c2777e6b0f7a55bcc3b2555ac270326f7890555088e6c50c803
-Size (protobuf-cpp-3.21.9.tar.gz) = 4836811 bytes
+BLAKE2s (protobuf-cpp-3.21.10.tar.gz) = 8e820f4f77eaba8c029e7ab2f990cc0860ea276ef0eaafb071951507ee886504
+SHA512 (protobuf-cpp-3.21.10.tar.gz) = 3194c4789f58db429110323ee206404247848f4c45720b19074ba2de5240ad5c48f494add114e4d429dcf96081563db12cb7436be646f43b5d15f2b44bb1586e
+Size (protobuf-cpp-3.21.10.tar.gz) = 4852077 bytes
SHA1 (patch-configure) = e9953648e5b3df015be007c1c424a564d1eb2bef
SHA1 (patch-third__party_googletest_googlemock_configure) = 9afd8358eef2dffe7639ca70081f60535c116855
diff -r f70a8923af9b -r b23c0b26f76e devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile Sun Dec 04 17:11:25 2022 +0000
+++ b/devel/py-protobuf/Makefile Sun Dec 04 17:38:45 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.61 2022/11/25 13:13:54 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2022/12/04 17:38:45 adam Exp $
-DISTNAME= protobuf-4.21.9
+DISTNAME= protobuf-4.21.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
@@ -14,29 +14,19 @@
PYTHON_VERSIONS_INCOMPATIBLE= 27
-MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
-PYSETUPBUILDARGS= --cpp_implementation
-PYSETUPINSTALLARGS= --cpp_implementation
+MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
+PLIST_VARS+= cpp
.include "../../lang/python/pyversion.mk"
-
-.if ${PYPKGPREFIX} == py311
-# as of 4.21.9, the sources do contain outdated code that only supports Python < 3.11
+.if ${_PYTHON_VERSION} != 311
+# As of 4.21.9, the sources do contain outdated code that only supports Python < 3.11
# https://github.com/protocolbuffers/protobuf/issues/11031#issuecomment-1321390551
-# use the binary wheel for now, since it does support Python 3.11
-NO_BUILD= yes
-MASTER_SITES= https://files.pythonhosted.org/packages/0b/c3/bfe27bff58e895261e5054f38e9f12fcccd67d70ccad66c22ba987b17fc9/
-PLIST_SRC= PLIST.py311
-.include "../../lang/python/wheel.mk"
-
-post-install:
-. for f in lib/python3.11/site-packages/google/protobuf/internal/_parameterized.py
- cd ${DESTDIR}${PREFIX} && \
- ${SED} -e s",/usr/bin/env python,${PYTHONBIN}," ${f} > ${f}.patched && ${MV} ${f}.patched ${f}
-. endfor
-.else
-.include "../../lang/python/egg.mk"
+# Do not use C++ implementation for Python 3.11.
+PYSETUPBUILDARGS= --cpp_implementation
+PYSETUPINSTALLARGS= --cpp_implementation
+PLIST.cpp= yes
+.include "../../devel/protobuf/buildlink3.mk"
.endif
-.include "../../devel/protobuf/buildlink3.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f70a8923af9b -r b23c0b26f76e devel/py-protobuf/PLIST
--- a/devel/py-protobuf/PLIST Sun Dec 04 17:11:25 2022 +0000
+++ b/devel/py-protobuf/PLIST Sun Dec 04 17:38:45 2022 +0000
@@ -1,4 +1,10 @@
-@comment $NetBSD: PLIST,v 1.18 2022/07/18 14:19:52 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/12/04 17:38:45 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
${PYSITELIB}/google/protobuf/__init__.py
${PYSITELIB}/google/protobuf/__init__.pyc
${PYSITELIB}/google/protobuf/__init__.pyo
@@ -38,7 +44,7 @@
${PYSITELIB}/google/protobuf/internal/__init__.py
${PYSITELIB}/google/protobuf/internal/__init__.pyc
${PYSITELIB}/google/protobuf/internal/__init__.pyo
-${PYSITELIB}/google/protobuf/internal/_api_implementation.so
+${PLIST.cpp}${PYSITELIB}/google/protobuf/internal/_api_implementation.so
${PYSITELIB}/google/protobuf/internal/api_implementation.py
${PYSITELIB}/google/protobuf/internal/api_implementation.pyc
${PYSITELIB}/google/protobuf/internal/api_implementation.pyo
@@ -90,7 +96,7 @@
${PYSITELIB}/google/protobuf/pyext/__init__.py
${PYSITELIB}/google/protobuf/pyext/__init__.pyc
${PYSITELIB}/google/protobuf/pyext/__init__.pyo
-${PYSITELIB}/google/protobuf/pyext/_message.so
+${PLIST.cpp}${PYSITELIB}/google/protobuf/pyext/_message.so
${PYSITELIB}/google/protobuf/pyext/cpp_message.py
${PYSITELIB}/google/protobuf/pyext/cpp_message.pyc
${PYSITELIB}/google/protobuf/pyext/cpp_message.pyo
@@ -139,9 +145,3 @@
${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 f70a8923af9b -r b23c0b26f76e devel/py-protobuf/PLIST.py311
--- a/devel/py-protobuf/PLIST.py311 Sun Dec 04 17:11:25 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,139 +0,0 @@
-@comment $NetBSD: PLIST.py311,v 1.1 2022/11/25 13:14:14 wiz Exp $
-${PYSITELIB}/google/protobuf/__init__.py
-${PYSITELIB}/google/protobuf/__init__.pyc
-${PYSITELIB}/google/protobuf/any_pb2.py
-${PYSITELIB}/google/protobuf/any_pb2.pyc
-${PYSITELIB}/google/protobuf/api_pb2.py
-${PYSITELIB}/google/protobuf/api_pb2.pyc
-${PYSITELIB}/google/protobuf/compiler/__init__.py
-${PYSITELIB}/google/protobuf/compiler/__init__.pyc
-${PYSITELIB}/google/protobuf/compiler/plugin_pb2.py
-${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyc
-${PYSITELIB}/google/protobuf/descriptor.py
-${PYSITELIB}/google/protobuf/descriptor.pyc
-${PYSITELIB}/google/protobuf/descriptor_database.py
-${PYSITELIB}/google/protobuf/descriptor_database.pyc
-${PYSITELIB}/google/protobuf/descriptor_pb2.py
-${PYSITELIB}/google/protobuf/descriptor_pb2.pyc
-${PYSITELIB}/google/protobuf/descriptor_pool.py
-${PYSITELIB}/google/protobuf/descriptor_pool.pyc
-${PYSITELIB}/google/protobuf/duration_pb2.py
-${PYSITELIB}/google/protobuf/duration_pb2.pyc
-${PYSITELIB}/google/protobuf/empty_pb2.py
-${PYSITELIB}/google/protobuf/empty_pb2.pyc
-${PYSITELIB}/google/protobuf/field_mask_pb2.py
-${PYSITELIB}/google/protobuf/field_mask_pb2.pyc
-${PYSITELIB}/google/protobuf/internal/__init__.py
-${PYSITELIB}/google/protobuf/internal/__init__.pyc
-${PYSITELIB}/google/protobuf/internal/_parameterized.py
-${PYSITELIB}/google/protobuf/internal/_parameterized.pyc
-${PYSITELIB}/google/protobuf/internal/api_implementation.py
-${PYSITELIB}/google/protobuf/internal/api_implementation.pyc
-${PYSITELIB}/google/protobuf/internal/builder.py
-${PYSITELIB}/google/protobuf/internal/builder.pyc
-${PYSITELIB}/google/protobuf/internal/containers.py
-${PYSITELIB}/google/protobuf/internal/containers.pyc
-${PYSITELIB}/google/protobuf/internal/decoder.py
-${PYSITELIB}/google/protobuf/internal/decoder.pyc
-${PYSITELIB}/google/protobuf/internal/descriptor_database_test.py
-${PYSITELIB}/google/protobuf/internal/descriptor_database_test.pyc
-${PYSITELIB}/google/protobuf/internal/descriptor_pool_test.py
-${PYSITELIB}/google/protobuf/internal/descriptor_pool_test.pyc
-${PYSITELIB}/google/protobuf/internal/descriptor_test.py
-${PYSITELIB}/google/protobuf/internal/descriptor_test.pyc
-${PYSITELIB}/google/protobuf/internal/encoder.py
-${PYSITELIB}/google/protobuf/internal/encoder.pyc
-${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py
-${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc
-${PYSITELIB}/google/protobuf/internal/extension_dict.py
-${PYSITELIB}/google/protobuf/internal/extension_dict.pyc
-${PYSITELIB}/google/protobuf/internal/generator_test.py
-${PYSITELIB}/google/protobuf/internal/generator_test.pyc
-${PYSITELIB}/google/protobuf/internal/import_test.py
-${PYSITELIB}/google/protobuf/internal/import_test.pyc
-${PYSITELIB}/google/protobuf/internal/import_test_package/__init__.py
-${PYSITELIB}/google/protobuf/internal/import_test_package/__init__.pyc
-${PYSITELIB}/google/protobuf/internal/json_format_test.py
-${PYSITELIB}/google/protobuf/internal/json_format_test.pyc
-${PYSITELIB}/google/protobuf/internal/keywords_test.py
-${PYSITELIB}/google/protobuf/internal/keywords_test.pyc
-${PYSITELIB}/google/protobuf/internal/message_factory_test.py
-${PYSITELIB}/google/protobuf/internal/message_factory_test.pyc
-${PYSITELIB}/google/protobuf/internal/message_listener.py
-${PYSITELIB}/google/protobuf/internal/message_listener.pyc
-${PYSITELIB}/google/protobuf/internal/message_test.py
-${PYSITELIB}/google/protobuf/internal/message_test.pyc
-${PYSITELIB}/google/protobuf/internal/proto_builder_test.py
-${PYSITELIB}/google/protobuf/internal/proto_builder_test.pyc
-${PYSITELIB}/google/protobuf/internal/python_message.py
-${PYSITELIB}/google/protobuf/internal/python_message.pyc
-${PYSITELIB}/google/protobuf/internal/reflection_test.py
-${PYSITELIB}/google/protobuf/internal/reflection_test.pyc
-${PYSITELIB}/google/protobuf/internal/service_reflection_test.py
-${PYSITELIB}/google/protobuf/internal/service_reflection_test.pyc
-${PYSITELIB}/google/protobuf/internal/symbol_database_test.py
-${PYSITELIB}/google/protobuf/internal/symbol_database_test.pyc
-${PYSITELIB}/google/protobuf/internal/test_util.py
-${PYSITELIB}/google/protobuf/internal/test_util.pyc
-${PYSITELIB}/google/protobuf/internal/testing_refleaks.py
-${PYSITELIB}/google/protobuf/internal/testing_refleaks.pyc
-${PYSITELIB}/google/protobuf/internal/text_encoding_test.py
-${PYSITELIB}/google/protobuf/internal/text_encoding_test.pyc
-${PYSITELIB}/google/protobuf/internal/text_format_test.py
-${PYSITELIB}/google/protobuf/internal/text_format_test.pyc
-${PYSITELIB}/google/protobuf/internal/type_checkers.py
-${PYSITELIB}/google/protobuf/internal/type_checkers.pyc
-${PYSITELIB}/google/protobuf/internal/unknown_fields_test.py
-${PYSITELIB}/google/protobuf/internal/unknown_fields_test.pyc
-${PYSITELIB}/google/protobuf/internal/well_known_types.py
-${PYSITELIB}/google/protobuf/internal/well_known_types.pyc
-${PYSITELIB}/google/protobuf/internal/well_known_types_test.py
-${PYSITELIB}/google/protobuf/internal/well_known_types_test.pyc
-${PYSITELIB}/google/protobuf/internal/wire_format.py
-${PYSITELIB}/google/protobuf/internal/wire_format.pyc
-${PYSITELIB}/google/protobuf/internal/wire_format_test.py
-${PYSITELIB}/google/protobuf/internal/wire_format_test.pyc
-${PYSITELIB}/google/protobuf/json_format.py
-${PYSITELIB}/google/protobuf/json_format.pyc
-${PYSITELIB}/google/protobuf/message.py
-${PYSITELIB}/google/protobuf/message.pyc
-${PYSITELIB}/google/protobuf/message_factory.py
-${PYSITELIB}/google/protobuf/message_factory.pyc
-${PYSITELIB}/google/protobuf/proto_builder.py
-${PYSITELIB}/google/protobuf/proto_builder.pyc
-${PYSITELIB}/google/protobuf/pyext/__init__.py
-${PYSITELIB}/google/protobuf/pyext/__init__.pyc
-${PYSITELIB}/google/protobuf/pyext/cpp_message.py
-${PYSITELIB}/google/protobuf/pyext/cpp_message.pyc
-${PYSITELIB}/google/protobuf/reflection.py
-${PYSITELIB}/google/protobuf/reflection.pyc
-${PYSITELIB}/google/protobuf/service.py
-${PYSITELIB}/google/protobuf/service.pyc
-${PYSITELIB}/google/protobuf/service_reflection.py
-${PYSITELIB}/google/protobuf/service_reflection.pyc
-${PYSITELIB}/google/protobuf/source_context_pb2.py
-${PYSITELIB}/google/protobuf/source_context_pb2.pyc
-${PYSITELIB}/google/protobuf/struct_pb2.py
-${PYSITELIB}/google/protobuf/struct_pb2.pyc
-${PYSITELIB}/google/protobuf/symbol_database.py
-${PYSITELIB}/google/protobuf/symbol_database.pyc
-${PYSITELIB}/google/protobuf/text_encoding.py
-${PYSITELIB}/google/protobuf/text_encoding.pyc
-${PYSITELIB}/google/protobuf/text_format.py
-${PYSITELIB}/google/protobuf/text_format.pyc
-${PYSITELIB}/google/protobuf/timestamp_pb2.py
-${PYSITELIB}/google/protobuf/timestamp_pb2.pyc
-${PYSITELIB}/google/protobuf/type_pb2.py
-${PYSITELIB}/google/protobuf/type_pb2.pyc
-${PYSITELIB}/google/protobuf/unknown_fields.py
-${PYSITELIB}/google/protobuf/unknown_fields.pyc
-${PYSITELIB}/google/protobuf/util/__init__.py
-${PYSITELIB}/google/protobuf/util/__init__.pyc
-${PYSITELIB}/google/protobuf/wrappers_pb2.py
-${PYSITELIB}/google/protobuf/wrappers_pb2.pyc
-${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
diff -r f70a8923af9b -r b23c0b26f76e devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo Sun Dec 04 17:11:25 2022 +0000
+++ b/devel/py-protobuf/distinfo Sun Dec 04 17:38:45 2022 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.57 2022/11/25 13:13:54 wiz Exp $
+$NetBSD: distinfo,v 1.58 2022/12/04 17:38:45 adam Exp $
-BLAKE2s (protobuf-4.21.9-py3-none-any.whl) = 6135497223901c60c861f6a86bd5cda71623a567a82690bdcce07cd95766a708
-SHA512 (protobuf-4.21.9-py3-none-any.whl) = f464fd87bfbdbddfa1f4f0033a5685abc8a71574a1b654ca1a5a910ec8ca2cbae4e09da4ad8d49b8729f5d98c20fbaa8ba49a84d433d27a746d53bef236af3d2
-Size (protobuf-4.21.9-py3-none-any.whl) = 291642 bytes
-BLAKE2s (protobuf-4.21.9.tar.gz) = b41cd82762363d1e82c2fb367fabe3fe712f7d3c0156fb26b348c37f52aa4b08
-SHA512 (protobuf-4.21.9.tar.gz) = 0350869d8abf890997625039c8f83b33d5d3d6a2898d02cb639b1ca78276af8ba0e24866d6cbbb36802ff84a305591f27892743f7d6e142608b5175a2c90f77b
-Size (protobuf-4.21.9.tar.gz) = 220396 bytes
+BLAKE2s (protobuf-4.21.10.tar.gz) = 25048391d81104148f23ab4331ad8b287648711a73df28dce7bdd8fdc9ac62ac
+SHA512 (protobuf-4.21.10.tar.gz) = fdecac8ddb13cb990f38f3102cd345a5c1ef15ebd56fbaa69f9420370679370152cb6629d0c323e84730b1bfdbd47bf7dec3044bbe44acd74265a563fe11b119
+Size (protobuf-4.21.10.tar.gz) = 220276 bytes
Home |
Main Index |
Thread Index |
Old Index