pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 15 18:12:24 UTC 2023

Modified Files:
        pkgsrc/devel/protobuf: Makefile PLIST distinfo
        pkgsrc/devel/py-protobuf: Makefile PLIST distinfo

Log Message:
*protobuf: update to 25.0 branch

Compiler

    Implement proto2/proto3 with editions (3813b66)
    Defines Protobuf compiler version strings as macros and separates out suffix string definition. (3c59585)
    Add utf8_validation feature back to the global feature set. (153028d)
    Setting up version updater to prepare for poison pills and embedding version info into C++, Python and Java gencode. (4322e00)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Editions: Introduce functionality to protoc for generating edition feature set defaults. (4019e25)
    Editions: Migrate edition strings to enum in C++ code. (f083ebf)
    Create a reflection helper for ExtensionIdentifier. (4d5ab73)
    Editions: Provide an API for C++ generators to specify their features. (e897bcf)
    Editions: Refactor feature resolution to use an intermediate message. (57d8049)
    Publish extension declarations with declaration verifications. (e72b0e1)
    Editions: Stop propagating partially resolved feature sets to plugins. (b66ef4c)
    Editions: Migrate string_field_validation to a C++ feature (1f95830)
    Editions: Include defaults for any features in the generated pool. (15863ff)
    Protoc: parser rejects explicit use of map_entry option (#13479) (8f59292)
    Protoc: validate that reserved range start is before end (#13474) (3be00f7)
    Protoc: support identifiers as reserved names in addition to string literals (only in editions) (#13471) (e701f4f)
    Drop support for Bazel 5. (a80daa2)
    Allow code generators to specify whether or not they support editions. (2176a14)

C++

    Set PROTOBUF_EXPORT on InternalOutOfLineDeleteMessageLite() (#14434) (db89a51)
    Update stale checked-in files (#14431) (ada0be8)
    Apply PROTOBUF_NOINLINE to declarations of some functions that want it. (6e848b0)
    Implement proto2/proto3 with editions (3813b66)
    Make JSON UTF-8 boundary check inclusive of the largest possible UTF-8 character. (e80b8ec)
    Reduce Map::size_type to 32-bits. Protobuf containers can't have more than (95d2b2e)
    Defines Protobuf compiler version strings as macros and separates out suffix string definition. (3c59585)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated oneof accessors. (e33e0d2)
    Fix bug in reflection based Swap of map fields. (bef5b75)
    Add utf8_validation feature back to the global feature set. (153028d)
    Setting up version updater to prepare for poison pills and embedding version info into C++, Python and Java gencode. (4322e00)
    Add prefetching to arena allocations. (fbdeb5a)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated repeated and map field accessors. (9a0a3cf)
    Editions: Migrate edition strings to enum in C++ code. (f083ebf)
    Workaround ICE on gcc 7.5 by not having one overload call the other one with a (0522054)
    Create a reflection helper for ExtensionIdentifier. (4d5ab73)
    Editions: Provide an API for C++ generators to specify their features. (e897bcf)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated string field accessors. (18c338a)
    Editions: Refactor feature resolution to use an intermediate message. (57d8049)
    Fixes for 32-bit MSVC. (66cf6b1)
    Publish extension declarations with declaration verifications. (e72b0e1)
    Export the constants in protobuf's any.h to support DLL builds. (fd24b1b)
    Implement AbslStringify for the Descriptor family of types. (230232a)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated message field accessors. (064035c)
    Editions: Stop propagating partially resolved feature sets to plugins. (b66ef4c)
    Editions: Migrate string_field_validation to a C++ feature (1f95830)
    Editions: Include defaults for any features in the generated pool. (15863ff)
    Introduce C++ feature for UTF8 validation. (c7119e6)
    Protoc: validate that reserved range start is before end (#13474) (3be00f7)
    Remove option to disable the table-driven parser in protoc. (6d03f9b)
    Lock down ctype=CORD in proto file. (b359e50)
    Support split repeated fields. (5b5e5bf)
    In OSS mode omit some extern template specializations. We have seen reports of (ab96824)
    Automated rollback of commit adb2c4b. (0ea0052)
    Allow code generators to specify whether or not they support editions. (2176a14)
    Handle conflicting macros for FreeBSD (#13303) (2a95295)

Python

    Fixed Python memory leak in map lookup. (1711ebd)
    Loosen upb for json name conflict check in proto2 between json name and field (41af1d5)
    Defines Protobuf compiler version strings as macros and separates out suffix string definition. (3c59585)
    Add ABSL_ATTRIBUTE_LIFETIME_BOUND attribute on generated oneof accessors. (e33e0d2)
    Ensure Timestamp.ToDatetime(tz) has correct offset (f0c56f9)
    Do not check required field for upb python MergeFrom (1e0bc56)
    Setting up version updater to prepare for poison pills and embedding version info into C++, Python and Java gencode. (4322e00)
    Merge the protobuf and upb Bazel repos (7286ffc)
    Comparing a proto message with an object of unknown returns NotImplemented (12d4f41)
    Emit slots in pyi output as a tuple rather than a list for --pyi_out. (4a4f615)
    Fix a bug that strips options from descriptor.proto in Python. (27d42c5)
    Raise warings for message.UnknownFields() usages and navigate to the new add (c988759)
    Add protobuf python keyword support in path for stub generator. Also added tests for (4cc258a)
    Add tuple support to set Struct (533fbbb)

Python C-Extension (Default)

    Comparing a proto message with an object of unknown returns NotImplemented (protocolbuffers/upb@243add4)
    See also UPB changes below, which may affect Python C-Extension (Default).


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/protobuf/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/protobuf/PLIST
cvs rdiff -u -r1.73 -r1.74 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/py-protobuf/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-protobuf/PLIST
cvs rdiff -u -r1.61 -r1.62 pkgsrc/devel/py-protobuf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.68 pkgsrc/devel/protobuf/Makefile:1.69
--- pkgsrc/devel/protobuf/Makefile:1.68 Thu Nov  2 12:17:25 2023
+++ pkgsrc/devel/protobuf/Makefile      Wed Nov 15 18:12:24 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2023/11/02 12:17:25 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2023/11/15 18:12:24 wiz 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-24.4
+DISTNAME=      protobuf-25.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protocolbuffers/}
 GITHUB_PROJECT=        protobuf

Index: pkgsrc/devel/protobuf/PLIST
diff -u pkgsrc/devel/protobuf/PLIST:1.21 pkgsrc/devel/protobuf/PLIST:1.22
--- pkgsrc/devel/protobuf/PLIST:1.21    Thu Nov  2 12:17:25 2023
+++ pkgsrc/devel/protobuf/PLIST Wed Nov 15 18:12:24 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2023/11/02 12:17:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2023/11/15 18:12:24 wiz Exp $
 bin/protoc
 bin/protoc-${PKGVERSION}.0
 include/google/protobuf/any.h
@@ -63,6 +63,7 @@ include/google/protobuf/compiler/java/fi
 include/google/protobuf/compiler/java/generator.h
 include/google/protobuf/compiler/java/generator_factory.h
 include/google/protobuf/compiler/java/helpers.h
+include/google/protobuf/compiler/java/java_features.pb.h
 include/google/protobuf/compiler/java/kotlin_generator.h
 include/google/protobuf/compiler/java/map_field.h
 include/google/protobuf/compiler/java/map_field_lite.h
@@ -111,14 +112,20 @@ include/google/protobuf/compiler/python/
 include/google/protobuf/compiler/python/pyi_generator.h
 include/google/protobuf/compiler/retention.h
 include/google/protobuf/compiler/ruby/ruby_generator.h
+include/google/protobuf/compiler/rust/accessors/accessor_generator.h
 include/google/protobuf/compiler/rust/accessors/accessors.h
 include/google/protobuf/compiler/rust/context.h
 include/google/protobuf/compiler/rust/generator.h
 include/google/protobuf/compiler/rust/message.h
 include/google/protobuf/compiler/rust/naming.h
+include/google/protobuf/compiler/rust/oneof.h
+include/google/protobuf/compiler/rust/relative_path.h
 include/google/protobuf/compiler/scc.h
 include/google/protobuf/compiler/subprocess.h
+include/google/protobuf/compiler/versions.h
+include/google/protobuf/compiler/versions_suffix.h
 include/google/protobuf/compiler/zip_writer.h
+include/google/protobuf/cpp_edition_defaults.h
 include/google/protobuf/cpp_features.pb.h
 include/google/protobuf/cpp_features.proto
 include/google/protobuf/descriptor.h
@@ -176,7 +183,6 @@ include/google/protobuf/json/internal/ze
 include/google/protobuf/json/json.h
 include/google/protobuf/map.h
 include/google/protobuf/map_entry.h
-include/google/protobuf/map_entry_lite.h
 include/google/protobuf/map_field.h
 include/google/protobuf/map_field_inl.h
 include/google/protobuf/map_field_lite.h
@@ -228,6 +234,7 @@ include/google/protobuf/wire_format.h
 include/google/protobuf/wire_format_lite.h
 include/google/protobuf/wrappers.pb.h
 include/google/protobuf/wrappers.proto
+include/java/core/src/main/java/com/google/protobuf/java_features.proto
 include/utf8_range.h
 include/utf8_validity.h
 lib/cmake/protobuf/protobuf-config-version.cmake

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.73 pkgsrc/devel/protobuf/distinfo:1.74
--- pkgsrc/devel/protobuf/distinfo:1.73 Thu Nov  2 12:17:25 2023
+++ pkgsrc/devel/protobuf/distinfo      Wed Nov 15 18:12:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.73 2023/11/02 12:17:25 wiz Exp $
+$NetBSD: distinfo,v 1.74 2023/11/15 18:12:24 wiz Exp $
 
-BLAKE2s (protobuf-24.4.tar.gz) = 24c808cbdca22e4d21a9cac1cd68809b8f8800828d4fe99b0517aadf81e55e69
-SHA512 (protobuf-24.4.tar.gz) = 52b6ab5587d03cbd1f35cf3cdc388e1710fa50f3031559ac53cf754965407ded7602cdead56080444ab695588112cc3391a1d7fdd5e565d90d0af7ad08706315
-Size (protobuf-24.4.tar.gz) = 5180235 bytes
+BLAKE2s (protobuf-25.0.tar.gz) = 5ae332e5b669f9eb7af772baa087088eda848774c18376bd18f2d026f04b7b30
+SHA512 (protobuf-25.0.tar.gz) = 4dc0b483533cefaf92610524bf131aeff448d4e176a615643804f49cdfbd8efe7d8fdb60cd6e1ed70ffe6e7f1ad00657957f876458cdb093361049e2c83846ad
+Size (protobuf-25.0.tar.gz) = 5873954 bytes

Index: pkgsrc/devel/py-protobuf/Makefile
diff -u pkgsrc/devel/py-protobuf/Makefile:1.66 pkgsrc/devel/py-protobuf/Makefile:1.67
--- pkgsrc/devel/py-protobuf/Makefile:1.66      Thu Nov  2 12:17:25 2023
+++ pkgsrc/devel/py-protobuf/Makefile   Wed Nov 15 18:12:24 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2023/11/02 12:17:25 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2023/11/15 18:12:24 wiz Exp $
 
-DISTNAME=      protobuf-4.24.4
+DISTNAME=      protobuf-4.25.0
 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.21 pkgsrc/devel/py-protobuf/PLIST:1.22
--- pkgsrc/devel/py-protobuf/PLIST:1.21 Thu Nov  2 21:42:59 2023
+++ pkgsrc/devel/py-protobuf/PLIST      Wed Nov 15 18:12:24 2023
@@ -1,4 +1,9 @@
-@comment $NetBSD: PLIST,v 1.21 2023/11/02 21:42:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2023/11/15 18:12:24 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/google/_upb/_message.so
 ${PYSITELIB}/google/protobuf/__init__.py
 ${PYSITELIB}/google/protobuf/__init__.pyc
@@ -120,6 +125,9 @@ ${PYSITELIB}/google/protobuf/struct_pb2.
 ${PYSITELIB}/google/protobuf/symbol_database.py
 ${PYSITELIB}/google/protobuf/symbol_database.pyc
 ${PYSITELIB}/google/protobuf/symbol_database.pyo
+${PYSITELIB}/google/protobuf/testdata/__init__.py
+${PYSITELIB}/google/protobuf/testdata/__init__.pyc
+${PYSITELIB}/google/protobuf/testdata/__init__.pyo
 ${PYSITELIB}/google/protobuf/text_encoding.py
 ${PYSITELIB}/google/protobuf/text_encoding.pyc
 ${PYSITELIB}/google/protobuf/text_encoding.pyo
@@ -142,8 +150,3 @@ ${PYSITELIB}/google/protobuf/wrappers_pb
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyc
 ${PYSITELIB}/google/protobuf/wrappers_pb2.pyo
 ${PYSITELIB}/protobuf-${PKGVERSION}-py${PYVERSSUFFIX}-nspkg.pth
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt

Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.61 pkgsrc/devel/py-protobuf/distinfo:1.62
--- pkgsrc/devel/py-protobuf/distinfo:1.61      Thu Nov  2 12:17:25 2023
+++ pkgsrc/devel/py-protobuf/distinfo   Wed Nov 15 18:12:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.61 2023/11/02 12:17:25 wiz Exp $
+$NetBSD: distinfo,v 1.62 2023/11/15 18:12:24 wiz Exp $
 
-BLAKE2s (protobuf-4.24.4.tar.gz) = 92a7afe379f7cefb40bc031db8aeba8403999d25ea5f91ec8c30d569f091dcfc
-SHA512 (protobuf-4.24.4.tar.gz) = cf108957e2387bdd5d9400c8c583ae40a0d958235bc6642443e1e34252bfea97ceb63472099755f4ec3b82317706e1b905302e3b68228f7a826d7f91fae0e797
-Size (protobuf-4.24.4.tar.gz) = 383850 bytes
+BLAKE2s (protobuf-4.25.0.tar.gz) = 3c38cb484975ae9c233ce05e3f8fe92b10fad2db3b84232f72814744169a9d7f
+SHA512 (protobuf-4.25.0.tar.gz) = 49da2bc1becee7c95a0a0302a2eb14a5e75804f1d92378e379549d50bb88cd23a0fee0806c5e5395e199a5cf302a977e1f357ba3ac0e06e56dbe3bd162caf1f4
+Size (protobuf-4.25.0.tar.gz) = 380020 bytes



Home | Main Index | Thread Index | Old Index