pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-protobuf py-protobuf: updated to 3.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2ddb247e09a
branches:  trunk
changeset: 334498:d2ddb247e09a
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 29 14:49:01 2019 +0000

description:
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

diffstat:

 devel/py-protobuf/Makefile |   4 ++--
 devel/py-protobuf/PLIST    |   5 ++++-
 devel/py-protobuf/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 50381c75fc6c -r d2ddb247e09a devel/py-protobuf/Makefile
--- a/devel/py-protobuf/Makefile        Wed May 29 14:48:12 2019 +0000
+++ b/devel/py-protobuf/Makefile        Wed May 29 14:49:01 2019 +0000
@@ -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/}
diff -r 50381c75fc6c -r d2ddb247e09a devel/py-protobuf/PLIST
--- a/devel/py-protobuf/PLIST   Wed May 29 14:48:12 2019 +0000
+++ b/devel/py-protobuf/PLIST   Wed May 29 14:49:01 2019 +0000
@@ -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/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
diff -r 50381c75fc6c -r d2ddb247e09a devel/py-protobuf/distinfo
--- a/devel/py-protobuf/distinfo        Wed May 29 14:48:12 2019 +0000
+++ b/devel/py-protobuf/distinfo        Wed May 29 14:49:01 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index