summaryrefslogtreecommitdiff
path: root/devel/py-msgpack
diff options
context:
space:
mode:
authorobache <obache>2014-01-23 09:40:29 +0000
committerobache <obache>2014-01-23 09:40:29 +0000
commit3f2b48ea1af4ab01d3659b9c0374a5c5fe39a1e8 (patch)
tree3d6a03e79fe4d8032d59178422ca1877c9eecbcf /devel/py-msgpack
parent712dbb831f55150fd5de7c954e391e563890126e (diff)
downloadpkgsrc-3f2b48ea1af4ab01d3659b9c0374a5c5fe39a1e8.tar.gz
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 (limited to 'devel/py-msgpack')
-rw-r--r--devel/py-msgpack/Makefile8
-rw-r--r--devel/py-msgpack/PLIST22
-rw-r--r--devel/py-msgpack/distinfo8
3 files changed, 25 insertions, 13 deletions
diff --git a/devel/py-msgpack/Makefile b/devel/py-msgpack/Makefile
index 277e6bd1693..adbd71a0e58 100644
--- a/devel/py-msgpack/Makefile
+++ b/devel/py-msgpack/Makefile
@@ -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 @@ HOMEPAGE= http://msgpack.org/
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 --git a/devel/py-msgpack/PLIST b/devel/py-msgpack/PLIST
index b48b6d59dd0..5ebc18a6802 100644
--- a/devel/py-msgpack/PLIST
+++ b/devel/py-msgpack/PLIST
@@ -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 --git a/devel/py-msgpack/distinfo b/devel/py-msgpack/distinfo
index 154023154ba..d029b37a680 100644
--- a/devel/py-msgpack/distinfo
+++ b/devel/py-msgpack/distinfo
@@ -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