head 1.34; access; symbols pkgsrc-2023Q4:1.33.0.2 pkgsrc-2023Q4-base:1.33 pkgsrc-2023Q3:1.30.0.6 pkgsrc-2023Q3-base:1.30 pkgsrc-2023Q2:1.30.0.4 pkgsrc-2023Q2-base:1.30 pkgsrc-2023Q1:1.30.0.2 pkgsrc-2023Q1-base:1.30 pkgsrc-2022Q4:1.29.0.4 pkgsrc-2022Q4-base:1.29 pkgsrc-2022Q3:1.29.0.2 pkgsrc-2022Q3-base:1.29 pkgsrc-2022Q2:1.28.0.4 pkgsrc-2022Q2-base:1.28 pkgsrc-2022Q1:1.28.0.2 pkgsrc-2022Q1-base:1.28 pkgsrc-2021Q4:1.27.0.2 pkgsrc-2021Q4-base:1.27 pkgsrc-2021Q3:1.26.0.6 pkgsrc-2021Q3-base:1.26 pkgsrc-2021Q2:1.26.0.4 pkgsrc-2021Q2-base:1.26 pkgsrc-2021Q1:1.26.0.2 pkgsrc-2021Q1-base:1.26 pkgsrc-2020Q4:1.25.0.2 pkgsrc-2020Q4-base:1.25 pkgsrc-2020Q3:1.24.0.4 pkgsrc-2020Q3-base:1.24 pkgsrc-2020Q2:1.24.0.2 pkgsrc-2020Q2-base:1.24 pkgsrc-2020Q1:1.22.0.16 pkgsrc-2020Q1-base:1.22 pkgsrc-2019Q4:1.22.0.18 pkgsrc-2019Q4-base:1.22 pkgsrc-2019Q3:1.22.0.14 pkgsrc-2019Q3-base:1.22 pkgsrc-2019Q2:1.22.0.12 pkgsrc-2019Q2-base:1.22 pkgsrc-2019Q1:1.22.0.10 pkgsrc-2019Q1-base:1.22 pkgsrc-2018Q4:1.22.0.8 pkgsrc-2018Q4-base:1.22 pkgsrc-2018Q3:1.22.0.6 pkgsrc-2018Q3-base:1.22 pkgsrc-2018Q2:1.22.0.4 pkgsrc-2018Q2-base:1.22 pkgsrc-2018Q1:1.22.0.2 pkgsrc-2018Q1-base:1.22 pkgsrc-2017Q4:1.18.0.2 pkgsrc-2017Q4-base:1.18 pkgsrc-2017Q3:1.17.0.6 pkgsrc-2017Q3-base:1.17 pkgsrc-2017Q2:1.17.0.2 pkgsrc-2017Q2-base:1.17 pkgsrc-2017Q1:1.16.0.8 pkgsrc-2017Q1-base:1.16 pkgsrc-2016Q4:1.16.0.6 pkgsrc-2016Q4-base:1.16 pkgsrc-2016Q3:1.16.0.4 pkgsrc-2016Q3-base:1.16 pkgsrc-2016Q2:1.16.0.2 pkgsrc-2016Q2-base:1.16 pkgsrc-2016Q1:1.15.0.6 pkgsrc-2016Q1-base:1.15 pkgsrc-2015Q4:1.15.0.4 pkgsrc-2015Q4-base:1.15 pkgsrc-2015Q3:1.15.0.2 pkgsrc-2015Q3-base:1.15 pkgsrc-2015Q2:1.14.0.4 pkgsrc-2015Q2-base:1.14 pkgsrc-2015Q1:1.14.0.2 pkgsrc-2015Q1-base:1.14 pkgsrc-2014Q4:1.10.0.6 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.4 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.2 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.9.0.2 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.7.0.10 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.8 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.6 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.4 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.6.0.4 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.2 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.4.0.4 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.1.1.1.0.2 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.34 date 2024.03.02.12.58.33; author adam; state Exp; branches; next 1.33; commitid 5ADxGAgTp1ntnA0F; 1.33 date 2023.11.05.11.09.14; author wiz; state Exp; branches; next 1.32; commitid nKsRYA3QroT7zpLE; 1.32 date 2023.09.28.15.47.39; author adam; state Exp; branches; next 1.31; commitid vqzNH5tIiOmqkyGE; 1.31 date 2023.09.27.15.09.43; author adam; state Exp; branches; next 1.30; commitid OoR8zKmsj2Uo9qGE; 1.30 date 2023.03.09.05.32.11; author adam; state Exp; branches; next 1.29; commitid IBXX5LUYsLMLrpgE; 1.29 date 2022.07.03.13.31.08; author wiz; state Exp; branches; next 1.28; commitid 8AxeBc2FZjQn6sKD; 1.28 date 2022.01.04.20.53.18; author wiz; state Exp; branches; next 1.27; commitid CYyhdK9qtoffkmnD; 1.27 date 2021.11.24.14.11.37; author adam; state Exp; branches; next 1.26; commitid 0fBTU4ny2IgCq3iD; 1.26 date 2021.01.04.16.38.52; author adam; state Exp; branches; next 1.25; commitid aiPaLjsN0XrUEqCC; 1.25 date 2020.12.14.06.40.34; author adam; state Exp; branches; next 1.24; commitid yYvqT4Ti96ns1GzC; 1.24 date 2020.05.16.17.27.42; author adam; state Exp; branches; next 1.23; commitid A5B0HfEAXRa3qu8C; 1.23 date 2020.04.11.14.02.50; author adam; state Exp; branches; next 1.22; commitid PtMfas9NygGOnY3C; 1.22 date 2018.02.23.14.20.55; author adam; state Exp; branches; next 1.21; commitid CxQKzdxSFCD1wZrA; 1.21 date 2018.02.05.09.01.05; author adam; state Exp; branches; next 1.20; commitid eUrpvRH4sbsgkEpA; 1.20 date 2018.01.10.09.06.22; author adam; state Exp; branches; next 1.19; commitid Dc6xitmZ6wFUbjmA; 1.19 date 2018.01.09.05.20.51; author adam; state Exp; branches; next 1.18; commitid 61p5PN1rdvIiY9mA; 1.18 date 2017.11.06.13.34.45; author wiz; state Exp; branches; next 1.17; commitid DrPamneHL1XALYdA; 1.17 date 2017.05.11.11.12.44; author adam; state Exp; branches; next 1.16; commitid mFpwCIs5auRyJXQz; 1.16 date 2016.06.08.17.43.25; author wiz; state Exp; branches; next 1.15; commitid z4yEulWexjFaJG9z; 1.15 date 2015.08.22.14.34.49; author bsiegert; state Exp; branches; next 1.14; commitid ZLXXwk37Iho32hyy; 1.14 date 2015.03.15.18.46.55; author hiramatsu; state Exp; branches; next 1.13; commitid Wn4QjXM0tGiIzJdy; 1.13 date 2015.01.19.12.31.10; author obache; state Exp; branches; next 1.12; commitid p3B6s4J5FLGbgD6y; 1.12 date 2015.01.02.04.37.56; author obache; state Exp; branches; next 1.11; commitid kHokS68mMzH4bp4y; 1.11 date 2014.12.31.13.57.27; author wiz; state Exp; branches; next 1.10; commitid ybQxkgXABHSTlc4y; 1.10 date 2014.06.08.23.17.37; author rodent; state Exp; branches; next 1.9; commitid QW9rNU5iJzys4MDx; 1.9 date 2014.01.25.10.30.04; author wiz; state Exp; branches; next 1.8; commitid VOWgk3vYhVXj8umx; 1.8 date 2014.01.23.09.40.29; author obache; state Exp; branches; next 1.7; commitid ipKKAP1oa7npUdmx; 1.7 date 2012.10.31.11.19.32; author asau; state Exp; branches; next 1.6; 1.6 date 2012.04.23.12.01.01; author obache; state Exp; branches; next 1.5; 1.5 date 2012.04.08.19.08.53; author wiz; state Exp; branches; next 1.4; 1.4 date 2011.12.03.00.02.15; author joerg; state Exp; branches; next 1.3; 1.3 date 2011.10.02.15.51.13; author dholland; state Exp; branches; next 1.2; 1.2 date 2011.09.04.06.11.30; author obache; state Exp; branches; next 1.1; 1.1 date 2011.06.13.12.20.20; author obache; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.06.13.12.20.20; author obache; state Exp; branches; next ; desc @@ 1.34 log @py-msgpack: updated to 1.0.8 v1.0.8 exclude C/Cython files from wheel Build pure Python wheel for minor architectures. update Cython to 3.0.8 This fixes memory leak when iterating over Unpacker on Python 3.12. @ text @# $NetBSD: Makefile,v 1.33 2023/11/05 11:09:14 wiz Exp $ DISTNAME= msgpack-1.0.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=m/msgpack/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://msgpack.org/ COMMENT= MessagePack (de)serializer for Python LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=35.0.2:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel USE_LANGUAGES= c c++ PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.33 log @py-msgpack: convert to wheel.mk Mark as not for Python 2. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2023/09/28 15:47:39 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.7 a4 1 PKGREVISION= 1 d13 1 a13 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools d16 2 a19 2 USE_LANGUAGES= c c++ @ 1.32 log @py-msgpack: updated to 1.0.7 1.0.7 Bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2023/09/27 15:09:43 adam Exp $ d5 1 d14 4 a17 1 PYTHON_VERSIONED_DEPENDENCIES= test:test d21 1 a21 7 DISTUTILS_BUILDDIR_IN_TEST_ENV= yes do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test .include "../../lang/python/egg.mk" .include "../../lang/python/versioned_dependencies.mk" @ 1.31 log @py-msgpack: updated to 1.0.6 1.0.6 Bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2023/03/09 05:32:11 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.6 @ 1.30 log @py-msgpack: updated to 1.0.5 v1.0.5 Fallback to compiler defines when __BYTE_ORDER is not available Fix build error caused by ntohs, ntohl Add python 3.11 wheels fallback: Fix packing multidim memoryview minor type in exception message @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2022/07/03 13:31:08 wiz Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.5 @ 1.29 log @py-msgpack: update to 1.0.4. What's Changed Support Python 3.11 (beta) refresh ci settings. by @@methane in #492 Don't define _*ENDIAN macro on Unix. by @@methane in #495 Update setuptools and black by @@methane in #498 Use PyFloat_Pack8() on Python 3.11a7 by @@vstinner in #499 Upgrade black to fix CI by @@hauntsaninja in #505 Fix Unpacker max_buffer_length handling by @@methane in #506 ci: Update action versions. by @@methane in #507 Release v1.0.4 by @@methane in #509 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2022/01/04 20:53:18 wiz Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.4 @ 1.28 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2021/11/24 14:11:37 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.3 a4 1 PKGREVISION= 1 d17 2 @ 1.27 log @py-msgpack: updated to 1.0.3 1.0.3 Fix Docstring Fix error formatting Improve error message about strict_map_key @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2021/01/04 16:38:52 adam Exp $ d5 1 @ 1.26 log @py-msgpack: updated to 1.0.2 1.0.2: Bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2020/12/14 06:40:34 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.2 d18 1 a18 1 cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test @ 1.25 log @py-msgpack: updated to 1.0.1 1.0.1 Add Python 3.9 and linux/arm64 wheels. Fixed Unpacker.tell() after read_bytes() Fixed unpacking datetime before epoch on Windows Fixed fallback Packer didn't check DateTime.tzinfo @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2020/05/16 17:27:42 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.1 @ 1.24 log @pytest from versioned deps. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2020/04/11 14:02:50 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-1.0.0 @ 1.23 log @py-msgpack: updated to 1.0.0 1.0.0 Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2. Remove encoding option from the Packer and Unpacker. Unpacker: The default value of max_buffer_type is changed to 100MiB. Unpacker: strict_map_key is True by default now. Unpacker: String map keys are interned. Drop old buffer protocol support. Support Timestamp type. Support serializing and decerializing datetime object with tzinfo. Unpacker: Fix Unpacker.read_bytes() in fallback implementation. 0.6.2 Support Python 3.8. Update Cython to 0.29.13 for support Python 3.8. Some small optimizations. 0.6.1 This release is for mitigating pain caused by v0.6.0 reduced max input limits for security reason. unpackb(data) configures max_*_len options from len(data), instead of static default sizes. Unpacker(max_buffer_len=N) configures max_*_len options from N, instead of static default sizes. max_bin_len, max_str_len, and max_ext_len are deprecated. Since this is minor release, it's document only deprecation. 0.6.0 This release contains some backward incompatible changes for security reason (DoS). Important changes unpacker: Default value of input limits are smaller than before to avoid DoS attack. If you need to handle large data, you need to specify limits manually. Unpacker doesn't wrap underlaying ValueError (including UnicodeError) into UnpackValueError. If you want to catch all exception during unpack, you need to use try ... except Exception with minimum try code block. PackValueError and PackOverflowError are also removed. You need to catch normal ValueError and OverflowError. Unpacker has strict_map_key option now. When it is true, only bytes and str (unicode in Python 2) are allowed for map keys. It is recommended to avoid hashdos. Default value of this option is False for backward compatibility reason. But it will be changed True in 1.0. Other changes Extension modules are merged. There is msgpack._cmsgpack instead of msgpack._packer and msgpack._unpacker. Add Unpacker.getbuffer() method. unpacker: msgpack.StackError is raised when input data contains too nested data. unpacker: msgpack.FormatError is raised when input data is not valid msgpack format. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2018/02/23 14:20:55 adam Exp $ d13 1 a13 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test a19 1 d21 1 @ 1.22 log @py-msgpack: updated to 0.5.6 0.5.6 Fix fallback.Unpacker.feed() dropped unused data from buffer Resurrect fallback.unpack() and _unpacker.unpack(). They were removed at 0.5.5 but it breaks backward compatibility. 0.5.5 Fix memory leak in pure Python Unpacker.feed() Fix unpack() didn't support raw option @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2018/02/05 09:01:05 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-0.5.6 d13 2 d17 4 @ 1.21 log @py-msgpack: updated to 0.5.4 0.5.4: Use cython's cast for converting encoding and errors It is little faster on Python 3 because we can skip temporary bytes object @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2018/01/10 09:06:22 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-0.5.4 @ 1.20 log @py-msgpack: updated to 0.5.1 0.5.1: Minor bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2018/01/09 05:20:51 adam Exp $ d3 1 a3 1 DISTNAME= msgpack-0.5.1 @ 1.19 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2017/11/06 13:34:45 wiz Exp $ d3 1 a3 1 DISTNAME= msgpack-0.5.0 @ 1.18 log @py-msgpack: follow redirect @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2017/05/11 11:12:44 adam Exp $ d3 4 a6 4 DISTNAME= msgpack-python-0.4.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python-/-/} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PYPI:=m/msgpack-python/} @ 1.17 log @Changes 0.4.8: Bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2016/06/08 17:43:25 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://msgpack.org/ @ 1.16 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2015/08/22 14:34:49 bsiegert Exp $ d3 1 a3 1 DISTNAME= msgpack-python-0.4.6 @ 1.15 log @Update msgpack-python to 0.4.6. 0.4.6 ===== :release date: 2015-03-13 Bugs fixed ---------- * fallback.Unpacker: Fix Data corruption when OutOfData. This bug only affects "Streaming unpacking." 0.4.5 ===== :release date: 2015-01-25 Bugs fixed ---------- * Fix test failure on pytest 2.3. (by @@ktdreyer) * Fix typos in ChangeLog. (Thanks to @@dmick) * Improve README.rst (by @@msabramo) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2015/03/15 18:46:55 hiramatsu Exp $ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/m/msgpack-python/ @ 1.14 log @Set MAINTAINER to pkgsrc-users. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2015/01/19 12:31:10 obache Exp $ d3 1 a3 1 DISTNAME= msgpack-python-0.4.4 @ 1.13 log @Update msgpack-python to 0.4.4. 0.4.4 ===== :release date: 2015-01-09 Incompatible Changes -------------------- Changes ------- Bugs fixed ---------- * Fix compile error. 0.4.3 ===== :release date: 2015-01-07 Incompatible Changes -------------------- Changes ------- Bugs fixed ---------- * Unpacker may unpack wrong uint32 value on 32bit or LLP64 environment. (#101) * Build failed on Windows Python 2.7. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2015/01/02 04:37:56 obache Exp $ d8 1 a8 1 MAINTAINER= obache@@NetBSD.org @ 1.12 log @Drop dependency on devel/msgpack, its header may not match to this extension, and not required because using builtin one. Requested by Jonathan Buschmann via private mail. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2014/12/31 13:57:27 wiz Exp $ d3 1 a3 1 DISTNAME= msgpack-python-0.4.2 a4 1 PKGREVISION= 1 @ 1.11 log @Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2014/06/08 23:17:37 rodent Exp $ d5 1 a15 1 .include "../../devel/msgpack/buildlink3.mk" @ 1.10 log @0.4.2 Bugs fixed * Unpacker doesn't increment refcount of ExtType hook. * Packer raises no exception for inputs doesn't fit to msgpack format. 0.4.1 Changes * fallback.Unpacker.feed() supports bytearray. Bugs fixed * Unpacker doesn't increment refcount of hooks. Hooks may be GCed while unpacking. * Unpacker may read unfilled internal buffer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2014/01/25 10:30:04 wiz Exp $ a14 2 EGG_NAME= ${DISTNAME:S/-/_/} @ 1.9 log @Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/01/23 09:40:29 obache Exp $ d3 1 a3 1 DISTNAME= msgpack-python-0.4.0 @ 1.8 log @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.) @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.7 2012/10/31 11:19:32 asau Exp $ # a14 2 PYTHON_VERSIONS_INCLUDE_3X= yes @ 1.7 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2012/04/23 12:01:01 obache Exp $ d4 1 a4 1 DISTNAME= msgpack-python-0.1.13 d14 2 d21 1 a21 1 .include "../../lang/python/distutils.mk" @ 1.6 log @Update python-msgpack to 0.1.13. 0.1.13 ======= :release date: 2012-04-21 New ---- * Don't accept subtype of list and tuple as msgpack list. (Steeve Morin) It allows customize how it serialized with ``default`` argument. Bugs fixed ----------- * Fix wrong error message. (David Wolever) * Fix memory leak while unpacking when ``object_hook`` or ``list_hook`` is used. (Steeve Morin) Other changes ------------- * setup.py works on Python 2.5 (Steffen Siering) * Optimization for serializing dict. 0.1.12 ======= :release date: 2011-12-27 Bugs fixed ------------- * Re-enable packs/unpacks removed at 0.1.11. It will be removed when 0.2 is released. 0.1.11 ======= :release date: 2011-12-26 Bugs fixed ------------- * Include test code for Python3 to sdist. (Johan Bergstrom) * Fix compilation error on MSVC. (davidgaleano) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/04/08 19:08:53 wiz Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.5 log @Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2011/12/03 00:02:15 joerg Exp $ d4 1 a4 1 DISTNAME= msgpack-python-0.1.10 @ 1.4 log @Tag the 28 locations that result in a Python 3.1 package as supporting so. Remove it from the default list for the rest. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2011/10/02 15:51:13 dholland Exp $ a19 2 PYTHON_VERSIONS_INCOMPATIBLE= 24 @ 1.3 log @doesn't work with python24 (could be patched, probably not worthwhile) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2011/09/04 06:11:30 obache Exp $ d16 2 @ 1.2 log @Update py-msgpack to 0.1.10. 0.1.10 release date: 2011-08-22 New feature * Add encoding and unicode_errors option to packer and unpacker. When this option is specified, (un)packs unicode object instead of bytes. This enables using msgpack as a replacement of json. (tailhook) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2011/06/13 12:20:20 obache Exp $ d18 2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= msgpack-python-0.1.9 @ 1.1.1.1 log @Import py-msgpack-0.1.9 as devel/py-msgpack. MessagePack (de)serializer for Python. MessagePack is a binary-based efficient data interchange format that is focused on high performance. It is like JSON, but very fast and small. @ text @@