pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-msgpack Update msgpack-python to 0.4.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ea48de80479
branches: trunk
changeset: 629541:1ea48de80479
user: obache <obache%pkgsrc.org@localhost>
date: Thu Jan 23 09:40:29 2014 +0000
description:
Update msgpack-python to 0.4.0.
0.4.0
=====
:release date: 2013-10-21
Inconpatible Changes
--------------------
* Raises TypeError instead of ValueError when packer receives unsupported type.
Changes
-------
* Support New msgpack spec.
0.3.0
=====
Inconpatible Changes
--------------------
* Default value of ``use_list`` is ``True`` for now. (It was ``False`` for 0.2.x)
You should pass it explicitly for compatibility to 0.2.x.
* `Unpacker.unpack()` and some unpack methods now raise `OutOfData` instead of
`StopIteration`. `StopIteration` is used for iterator protocol only.
Changes
-------
* Pure Python fallback module is added. (thanks to bwesterb)
* Add ``.skip()`` method to ``Unpacker`` (thanks to jnothman)
* Add capturing feature. You can pass the writable object to
``Unpacker.unpack()`` as a second parameter.
* Add ``Packer.pack_array_header`` and ``Packer.pack_map_header``.
These methods only pack header of each type.
* Add ``autoreset`` option to ``Packer`` (default: True).
Packer doesn't return packed bytes and clear internal buffer.
* Add ``Packer.pack_map_pairs``. It packs sequence of pair to map type.
0.2.4
=======
:release date: 2012-12-22
Bugs fixed
----------
* Fix SEGV when object_hook or object_pairs_hook raise Exception. (#39)
0.2.3
=======
:release date: 2012-12-11
Changes
-------
* Warn when use_list is not specified. It's default value will be changed in 0.3.
Bugs fixed
-----------
* Can't pack subclass of dict.
0.2.2
=======
:release date: 2012-09-21
Changes
-------
* Add ``use_single_float`` option to ``Packer``. When it is true, packs float
object in single precision format.
Bugs fixed
-----------
* ``unpack()`` didn't restores gc state when it called with gc disabled.
``unpack()`` doesn't control gc now instead of restoring gc state collectly.
User can control gc state when gc cause performance issue.
* ``Unpacker``'s ``read_size`` option didn't used.
0.2.1
=======
:release date: 2012-08-20
Changes
-------
* Add ``max_buffer_size`` parameter to Unpacker. It limits internal buffer size
and allows unpack data from untrusted source safely.
* Unpacker's buffer reallocation algorithm is less greedy now. It cause perforamce
derease in rare case but memory efficient and don't allocate than ``max_buffer_size``.
Bugs fixed
----------
* Fix msgpack didn't work on SPARC Solaris. It was because choosing wrong byteorder
on compilation time. Use ``sys.byteorder`` to get correct byte order.
Very thanks to Chris Casey for giving test environment to me.
0.2.0
=======
:release date: 2012-06-27
Changes
-------
* Drop supporting Python 2.5 and unify tests for Py2 and Py3.
* Use new version of msgpack-c. It packs correctly on big endian platforms.
* Remove deprecated packs and unpacks API.
Bugs fixed
----------
* #8 Packing subclass of dict raises TypeError. (Thanks to Steeve Morin.)
diffstat:
devel/py-msgpack/Makefile | 8 +++++---
devel/py-msgpack/PLIST | 22 ++++++++++++++++------
devel/py-msgpack/distinfo | 8 ++++----
3 files changed, 25 insertions(+), 13 deletions(-)
diffs (69 lines):
diff -r 8e45abaac135 -r 1ea48de80479 devel/py-msgpack/Makefile
--- a/devel/py-msgpack/Makefile Thu Jan 23 09:34:18 2014 +0000
+++ b/devel/py-msgpack/Makefile Thu Jan 23 09:40:29 2014 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2012/10/31 11:19:32 asau Exp $
+# $NetBSD: Makefile,v 1.8 2014/01/23 09:40:29 obache Exp $
#
-DISTNAME= msgpack-python-0.1.13
+DISTNAME= msgpack-python-0.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python-/-/}
CATEGORIES= devel
MASTER_SITES= http://pypi.python.org/packages/source/m/msgpack-python/
@@ -11,10 +11,12 @@
COMMENT= MessagePack (de)serializer for Python
LICENSE= apache-2.0
+USE_LANGUAGES= c c++
+
PYTHON_VERSIONS_INCLUDE_3X= yes
EGG_NAME= ${DISTNAME:S/-/_/}
.include "../../devel/msgpack/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8e45abaac135 -r 1ea48de80479 devel/py-msgpack/PLIST
--- a/devel/py-msgpack/PLIST Thu Jan 23 09:34:18 2014 +0000
+++ b/devel/py-msgpack/PLIST Thu Jan 23 09:40:29 2014 +0000
@@ -1,9 +1,19 @@
-@comment $NetBSD: PLIST,v 1.2 2012/04/08 20:21:46 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/01/23 09:40:29 obache Exp $
${PYSITELIB}/msgpack/__init__.py
${PYSITELIB}/msgpack/__init__.pyc
${PYSITELIB}/msgpack/__init__.pyo
-${PYSITELIB}/msgpack/__version__.py
-${PYSITELIB}/msgpack/__version__.pyc
-${PYSITELIB}/msgpack/__version__.pyo
-${PYSITELIB}/msgpack/_msgpack.so
-${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/msgpack/_packer.so
+${PYSITELIB}/msgpack/_unpacker.so
+${PYSITELIB}/msgpack/_version.py
+${PYSITELIB}/msgpack/_version.pyc
+${PYSITELIB}/msgpack/_version.pyo
+${PYSITELIB}/msgpack/exceptions.py
+${PYSITELIB}/msgpack/exceptions.pyc
+${PYSITELIB}/msgpack/exceptions.pyo
+${PYSITELIB}/msgpack/fallback.py
+${PYSITELIB}/msgpack/fallback.pyc
+${PYSITELIB}/msgpack/fallback.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 8e45abaac135 -r 1ea48de80479 devel/py-msgpack/distinfo
--- a/devel/py-msgpack/distinfo Thu Jan 23 09:34:18 2014 +0000
+++ b/devel/py-msgpack/distinfo Thu Jan 23 09:40:29 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2012/04/23 12:01:01 obache Exp $
+$NetBSD: distinfo,v 1.4 2014/01/23 09:40:29 obache Exp $
-SHA1 (msgpack-python-0.1.13.tar.gz) = c3a8e638a5b0e06f4a5d5128034f979a66ddff80
-RMD160 (msgpack-python-0.1.13.tar.gz) = a4b7fcc3618aae4b342c70d749dddf483ba41236
-Size (msgpack-python-0.1.13.tar.gz) = 49470 bytes
+SHA1 (msgpack-python-0.4.0.tar.gz) = 5915f60033168a7b6f1e76ddb8a514f84ebcdf81
+RMD160 (msgpack-python-0.4.0.tar.gz) = 8c6f11d83c88ba25538b9797354493e818cbd401
+Size (msgpack-python-0.4.0.tar.gz) = 111411 bytes
Home |
Main Index |
Thread Index |
Old Index