pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-msgpack py-msgpack: updated to 0.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2f07ae59b7b
branches:  trunk
changeset: 373712:f2f07ae59b7b
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 09 05:20:51 2018 +0000

description:
py-msgpack: updated to 0.5.0

0.5.0
There are some deprecations. Please read changes carefully.

Changes
* Drop Python 2.6 and ~3.4 support. Python 2.7 and 3.5+ are supported.
* Deprecate useless custom exceptions. Use ValueError instead of PackValueError, Exception instead of PackException and UnpackException, etc... See msgpack/exceptions.py
* Add strict_types option to packer. It can be used to serialize subclass of builtin types. For example, when packing object which type is subclass of dict, default() is called. default() is called 
for tuple too.
* Pure Python implementation supports packing memoryview object.
* Support packing bytearray.
* Add Unpacker.tell(). And write_bytes option is deprecated.

Bugs fixed
* Fixed zero length raw can't be decoded when encoding is specified.

diffstat:

 devel/py-msgpack/Makefile |  10 +++++-----
 devel/py-msgpack/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r 24f40e332dac -r f2f07ae59b7b devel/py-msgpack/Makefile
--- a/devel/py-msgpack/Makefile Mon Jan 08 22:37:57 2018 +0000
+++ b/devel/py-msgpack/Makefile Tue Jan 09 05:20:51 2018 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2017/11/06 13:34:45 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2018/01/09 05:20:51 adam Exp $
 
-DISTNAME=      msgpack-python-0.4.8
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-python-/-/}
-CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_PYPI:=m/msgpack-python/}
+DISTNAME=      msgpack-0.5.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/msgpack/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://msgpack.org/
diff -r 24f40e332dac -r f2f07ae59b7b devel/py-msgpack/distinfo
--- a/devel/py-msgpack/distinfo Mon Jan 08 22:37:57 2018 +0000
+++ b/devel/py-msgpack/distinfo Tue Jan 09 05:20:51 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2017/05/11 11:12:44 adam Exp $
+$NetBSD: distinfo,v 1.10 2018/01/09 05:20:51 adam Exp $
 
-SHA1 (msgpack-python-0.4.8.tar.gz) = 59d4af5f0598bd31469cad7df316d70e6b492b1d
-RMD160 (msgpack-python-0.4.8.tar.gz) = e5332d835644ec9f1addecaec91aab0397adcb9b
-SHA512 (msgpack-python-0.4.8.tar.gz) = 59e9c43be6b92e6d10f40999e0902c350137e67a83c43bb15b273eca856a6eb39f24b625b02b40188a9365ce3101f03bfa9aa3dfff56c5c3b551533942183481
-Size (msgpack-python-0.4.8.tar.gz) = 113641 bytes
+SHA1 (msgpack-0.5.0.tar.gz) = 32b5f9b4b51d0e3cbeaf6c85641bbf39b9c71220
+RMD160 (msgpack-0.5.0.tar.gz) = 27779801df0527633f9ab01ab2c95ba7b630ce2f
+SHA512 (msgpack-0.5.0.tar.gz) = a227248c75759ad805061284a02258a826494e6b5c4b2913b9e486f4a6dcef835ff4c8501f0f12b2c157c87a18d72683a30845ae1cdc1c5120f5551e8381ad35
+Size (msgpack-0.5.0.tar.gz) = 142054 bytes



Home | Main Index | Thread Index | Old Index