./devel/py-protobuf, Python bindings for protobuf

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.5.0, Package name: py27-protobuf-3.5.0, Maintainer: khorben

Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format. Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.

This package contains Python bindings for the Protocol Buffers.

Required to run:

Required to build:

Master sites:

SHA1: 4813791e9deecaea862e83217564df0ce56a80c6
RMD160: bbef18f7312f450c7fc8b6954a3bad8693666104
Filesize: 4453.246 KB

Version history: (Expand)

CVS history: (Expand)

   2017-11-17 23:09:11 by Havard Eidnes | Files touched by this commit (6)
Log message:
Upgrade protobuf to version 3.5.0.

Pkgsrc changes:
 * Adapt PLIST.
 * After exchange, set MAINTAINER to pkgsrc-users@

Upstream changes:

2017-11-13 version 3.5.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
  Planned Future Changes
  * Make C++ implementation C++11 only: we plan to require C++11 to build
    protobuf code starting from 3.6.0 release. Please join this github issue:
    https://github.com/google/protobuf/issues/2780 to provide your feedback.

  * Unknown fields are now preserved in proto3 for most of the language
    implementations for proto3 by default. See the per-language section for
  * reserve keyword are now supported in enums

  * Proto3 messages are now preserving unknown fields by default. If you rely on
    unknowns fields being dropped. Please use DiscardUnknownFields() explicitly.
  * Deprecated the unsafe_arena_release_* and unsafe_arena_add_allocated_*
    methods for string fields.
  * Added move constructor and move assignment to RepeatedField,
    RepeatedPtrField and google::protobuf::Any.
  * Added perfect forwarding in Arena::CreateMessage
  * In-progress experimental support for implicit weak fields with lite protos.
    This feature allows the linker to strip out more unused messages and reduce
    binary size.
  * Various performance optimizations.

  * Proto3 messages are now preserving unknown fields by default. If you'd like
    to drop unknown fields, please use the DiscardUnknownFieldsParser API. For
      Parser<Foo> parser = DiscardUnknownFieldsParser.wrap(Foo.parser());
      Foo foo = parser.parseFrom(input);
  * Added a new CodedInputStream decoder for Iterable<ByteBuffer> with direct
  * TextFormat now prints unknown length-delimited fields as messages if
  * FieldMaskUtil.merge() no longer creates unnecessary empty messages when a
    message field is unset in both source message and destination message.
  * Various performance optimizations.

  * Proto3 messages are now preserving unknown fields by default. Use
    message.DiscardUnknownFields() to drop unknown fields.
  * Add FieldDescriptor.file in generated code.
  * Add descriptor pool FindOneofByName in pure python.
  * Change unknown enum values into unknown field set .
  * Add more Python dict/list compatibility for Struct/ListValue.
  * Add utf-8 support for text_format.Merge()/Parse().
  * Support numeric unknown enum values for proto3 JSON format.
  * Add warning for Unexpected end-group tag in cpp extension.

  * Proto3 messages are now preserving unknown fields.
  * Provide well known type messages in runtime.
  * Add prefix "PB" to generated class of reserved names.
  * Fixed all conformance tests for encode/decode json in php runtime. C
    extension needs more work.

  * Fixed some issues around copying of messages with unknown fields and then
    mutating the unknown fields in the copy.

  * Added unknown field support in JsonParser.
  * Fixed oneof message field merge.
  * Simplify parsing messages from array slices.

  * Unknown fields are now preserved by default.
  * Fixed several bugs for segment fault.

  * Decoder can handle both paced and unpacked data no matter how the proto is
  * Decoder now accept long varint for 32 bit integers.
   2017-10-21 01:02:25 by Min Sik Kim | Files touched by this commit (6) | Package updated
Log message:
devel/{py-,}protobuf: Update to 3.4.1

Notable changes:

* C++
  - Proto3 messages are now able to preserve unknown fields.
  - Packable proto3 fields are now packed by default in serialization.

* Python
  - SerializeToString API is changed to SerializeToString(self, **kwargs).
  - Added sort_keys parameter in json format to make the output
   2017-07-20 09:25:00 by Thomas Klausner | Files touched by this commit (1)
Log message:
regen (for new patch in protobuf)
   2017-05-12 22:11:39 by Leonardo Taccari | Files touched by this commit (1) | Package updated
Log message:
Adjust DEPENDS to reflect current reality and make it compatible with
Python 3 too.


Discussed with <khorben>
   2017-05-02 12:51:32 by Thomas Klausner | Files touched by this commit (5)
Log message:
Add comments to patches.
   2017-05-02 12:50:30 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Updated py-protobuf to 3.3.0.

same as protobuf 3.3.0
   2017-02-07 14:50:31 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
Update *protobuf to 3.2.0:

2017-01-23 version 3.2.0 (C++/Java/Python/PHP/Ruby/Objective-C/C#/JavaScript/Lite)
  * Added protoc version number to protoc plugin protocol. It can be used by
    protoc plugin to detect which version of protoc is used with the plugin and
    mitigate known problems in certain version of protoc.

  * The default parsing byte size limit has been raised from 64MB to 2GB.
  * Added rvalue setters for non-arena string fields.
  * Enabled debug logging for Android.
  * Fixed a double-free problem when using Reflection::SetAllocatedMessage()
    with extension fields.
  * Fixed several deterministic serialization bugs:
    * MessageLite::SerializeAsString() now respects the global deterministic
      serialization flag.
    * Extension fields are serialized deterministically as well.  Fixed protocol
      compiler to correctly report importing-self as an error.
  * Fixed FileDescriptor::DebugString() to print custom options correctly.
  * Various performance/codesize optimizations and cleanups.

  * The default parsing byte size limit has been raised from 64MB to 2GB.
  * Added recursion limit when parsing JSON.
  * Fixed a bug that enumType.getDescriptor().getOptions() doesn't have custom
  * Fixed generated code to support field numbers up to 2^29-1.

  * You can now assign NumPy scalars/arrays (np.int32, np.int64) to protobuf
    fields, and assigning other numeric types has been optimized for
  * Pure-Python: message types are now garbage-collectable.
  * Python/C++: a lot of internal cleanup/refactoring.

  PHP (Alpha)
  * For 64-bit integers type (int64/uint64/sfixed64/fixed64/sint64), use PHP
    integer on 64-bit environment and PHP string on 32-bit environment.
  * PHP generated code also conforms to PSR-4 now.
  * Fixed ZTS build for c extension.
  * Fixed c extension build on Mac.
  * Fixed c extension build on 32-bit linux.
  * Fixed the bug that message without namespace is not found in the descriptor
    pool. (#2240)
  * Fixed the bug that repeated field is not iterable in c extension.
  * Message names Empty will be converted to GPBEmpty in generated code.
  * Added phpdoc in generated files.
  * The released API is almost stable. Unless there is large problem, we won't
    change it. See
    https://developers.google.com/protocol- … -generated
    for more details.

  * Added support for push/pop of the stream limit on CodedInputStream for
    anyone doing manual parsing.

  * No changes.

  * Message objects now support #respond_to? for field getters/setters.
  * You can now compare “message == non_message_object” and it will \ 
return false
    instead of throwing an exception.
  * JRuby: fixed #hashCode to properly reflect the values in the message.

  * Deserialization of repeated fields no longer has quadratic performance
  * UTF-8 encoding/decoding now properly supports high codepoints.
  * Added convenience methods for some well-known types: Any, Struct, and
    Timestamp. These make it easier to convert data between native JavaScript
    types and the well-known protobuf types.
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.