py-protobuf: updated to 3.8.0

Protocol Buffers v3.8.0
Python
Changes implementation of Name() for enums that allow aliases in proto2 in Python to be in line with claims in C++ implementation (to return first value).
Added double_format option in text format printer.
Added iter and contains to extension dict
Added allow_unknown_field option in python text format parser
Fixed Timestamp.ToDatetime() loses precision issue
Support unknown field in text format printer.
Float field will be convert to inf if bigger than struct.unpack('f', b'\xff\xff\x7f\x7f')[0] which is about 3.4028234664e+38,
convert to -inf if smaller than -3.4028234664e+38
Allowed casting str->bytes in Message.setstate
This commit is contained in:
adam 2019-05-29 14:49:01 +00:00
parent 825ed2fd89
commit 7b9acdd170
3 changed files with 11 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.18 2019/04/01 12:36:41 adam Exp $
# $NetBSD: Makefile,v 1.19 2019/05/29 14:49:01 adam Exp $
DISTNAME= protobuf-3.7.1
DISTNAME= protobuf-3.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.10 2019/03/21 21:29:08 adam Exp $
@comment $NetBSD: PLIST,v 1.11 2019/05/29 14:49:01 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -67,6 +67,9 @@ ${PYSITELIB}/google/protobuf/internal/encoder.pyo
${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py
${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc
${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyo
${PYSITELIB}/google/protobuf/internal/extension_dict.py
${PYSITELIB}/google/protobuf/internal/extension_dict.pyc
${PYSITELIB}/google/protobuf/internal/extension_dict.pyo
${PYSITELIB}/google/protobuf/internal/message_listener.py
${PYSITELIB}/google/protobuf/internal/message_listener.pyc
${PYSITELIB}/google/protobuf/internal/message_listener.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.17 2019/04/01 12:36:41 adam Exp $
$NetBSD: distinfo,v 1.18 2019/05/29 14:49:01 adam Exp $
SHA1 (protobuf-3.7.1.tar.gz) = 9b2bee75409236982ded1d010f495f035e2c18d3
RMD160 (protobuf-3.7.1.tar.gz) = cfec76b17cc3c662fc152dac70ecfe28e0fa7502
SHA512 (protobuf-3.7.1.tar.gz) = 967812f0bab02494a58258aa911658124a3ca0450391ddea295e234f4c8d599fbb70eb53a41de18597af8db3125e36417fb2aa141fbbf84e0bb51fb33d3e1962
Size (protobuf-3.7.1.tar.gz) = 255369 bytes
SHA1 (protobuf-3.8.0.tar.gz) = 94b04c6998de1bebc8ea554801a152db2d0fa6ae
RMD160 (protobuf-3.8.0.tar.gz) = d97ce0fc85fe84c994151a191b5b919198cd3df4
SHA512 (protobuf-3.8.0.tar.gz) = f8f2115b1ab3d180f15b64119dd60cbc87b304133535bf32b5f6c290408158c4fc480166359dcd65e586a4fbce50b1f93830bd8938808c1330ffb6572365bdbe
Size (protobuf-3.8.0.tar.gz) = 258676 bytes