diff options
author | rodent <rodent@pkgsrc.org> | 2014-01-03 06:11:46 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-01-03 06:11:46 +0000 |
commit | eb4d055a07157aa3f54769c7f39e85de945ce96e (patch) | |
tree | 577dd99d528b43d91e84fa79e9c5fe605eed3352 /converters | |
parent | 0f47ee6de8adb09d134ba325077a8c38267449fb (diff) | |
download | pkgsrc-eb4d055a07157aa3f54769c7f39e85de945ce96e.tar.gz |
Update to latest release, 3.3.1. Add:
PYTHON_VERSIONS_ACCEPTED= 33 27 26
PYTHON_VERSIONS_INCLUDE_3X= yes
Not clear from documentation if this package works with python32.
From CHANGES.txt:
Version 3.3.1 released 2013-10-05
* JSONDecodeError exceptions can now be pickled
https://github.com/simplejson/simplejson/pull/78
Version 3.3.0 released 2013-05-07
* Unpaired surrogates once again pass through the decoder, to match older
behavior and the RFC-4627 spec.
https://github.com/simplejson/simplejson/issues/62
Version 3.2.0 released 2013-05-01
* New ignore_nan kwarg in encoder that serializes out
of range floats (Infinity, -Infinity, NaN) as null for ECMA-262
compliance.
https://github.com/simplejson/simplejson/pull/63
* New for_json kwarg in encoder to make it possible to for
subclasses of dict and list to be specialized.
https://github.com/simplejson/simplejson/pull/69
Version 3.1.3 released 2013-04-06
* Updated documentation to discourage subclassing whenever possible.
default, object_hook, and object_pairs_hook provide almost all of
the functionality of subclassing.
Version 3.1.2 released 2013-03-20
* Updated documentation to reflect separators behavior when indent is
not None
https://github.com/simplejson/simplejson/issues/59
* Test suite should be compatible with debug builds of Python 2.x and 3.x
https://github.com/simplejson/simplejson/pull/65
Version 3.1.1 released 2013-02-21
* setup.py now has another workaround for Windows machines without
MSVC installed
http://bugs.python.org/issue7511
Version 3.1.0 released 2013-02-21
* Updated JSON conformance test suite
http://bugs.python.org/issue16559
* simplejson.tool tests and bugfix for Python 3.x
http://bugs.python.org/issue16549
* Improve error messages for certain kinds of truncated input
http://bugs.python.org/issue16009
* Moved JSONDecodeError to json.scanner (still available for import
from json.decoder)
* Changed scanner to use JSONDecodeError directly rather than
StopIteration to improve error messages
Version 3.0.9 released 2013-02-21
* Fix an off-by-one error in the colno property of JSONDecodeError
(when lineno == 1)
http://bugs.python.org/issue17225
Version 3.0.8 released 2013-02-19
* Fix a Python 2.x compiler warning for narrow unicode builds
https://github.com/simplejson/simplejson/issues/56
Version 3.0.7 released 2013-01-11
* NOTE: this release only changes the license.
* simplejson is now dual-licensed software, MIT or AFL v2.1. It is
also made explicit that this code is also licensed to the PSF under
a Contributor Agreement.
Version 3.0.6 released 2013-01-11
* Fix for major Python 2.x ensure_ascii=False encoding regression
introduced in simplejson 3.0.0. If you use this setting, please
upgrade immediately.
https://github.com/simplejson/simplejson/issues/50
Version 3.0.5 released 2013-01-03
* NOTE: this release only changes the tests, it is
not essential to upgrade
* Tests now run with deprecation warnings printed
* Fixed Python 3 syntax error in simplejson.tool
https://github.com/simplejson/simplejson/issues/49
* Fixed Python 3.3 deprecation warnings in test suite
https://github.com/simplejson/simplejson/issues/48
Version 3.0.4 released 2013-01-02
* MSVC compatibility for Python 3.3
https://github.com/simplejson/simplejson/pull/47
Version 3.0.3 released 2013-01-01
* Fixes for bugs introduced in 3.0.2
* Fixes for Python 2.5 compatibility
* MSVC compatibility for Python 2.x
https://github.com/simplejson/simplejson/pull/46
Version 3.0.2 released 2013-01-01
* THIS VERSION HAS BEEN REMOVED
* Missed a changeset to _speedups.c in the 3.0.1 branch cut
Version 3.0.1 released 2013-01-01
* THIS VERSION HAS BEEN REMOVED
* Add accumulator optimization to encoder, equivalent to the usage of
`_Py_Accu` in the Python 3.3 json library. Only relevant if encoding
very large JSON documents.
Version 3.0.0 released 2012-12-30
* Python 3.3 is now supported, thanks to Vinay Sajip
https://github.com/simplejson/simplejson/issues/8
* `sort_keys`/`item_sort_key` now sort on the stringified verison of the
key, rather than the original object. This ensures that the sort
only compares string types and makes the behavior consistent between
Python 2.x and Python 3.x.
* Like other number types, Decimal instances used as keys are now
coerced to strings when use_decimal is True.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/py-simplejson/Makefile | 10 | ||||
-rw-r--r-- | converters/py-simplejson/PLIST | 11 | ||||
-rw-r--r-- | converters/py-simplejson/distinfo | 8 |
3 files changed, 21 insertions, 8 deletions
diff --git a/converters/py-simplejson/Makefile b/converters/py-simplejson/Makefile index a59e336d2a3..7106b1d39d9 100644 --- a/converters/py-simplejson/Makefile +++ b/converters/py-simplejson/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.17 2012/10/03 00:20:16 asau Exp $ +# $NetBSD: Makefile,v 1.18 2014/01/03 06:11:46 rodent Exp $ # -DISTNAME= simplejson-2.6.2 +DISTNAME= simplejson-3.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= converters -MASTER_SITES= http://pypi.python.org/packages/source/s/simplejson/ +MASTER_SITES= https://pypi.python.org/packages/source/s/simplejson/ +FETCH_USING= curl MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://undefined.org/python/#simplejson @@ -13,6 +14,9 @@ LICENSE= mit USE_LANGUAGES= c +PYTHON_VERSIONS_ACCEPTED= 33 27 26 +PYTHON_VERSIONS_INCLUDE_3X= yes + do-test: cd ${WRKSRC} && ${PYTHONBIN} setup.py test -q diff --git a/converters/py-simplejson/PLIST b/converters/py-simplejson/PLIST index fd9897b85be..fb4920dc6a2 100644 --- a/converters/py-simplejson/PLIST +++ b/converters/py-simplejson/PLIST @@ -1,9 +1,12 @@ -@comment $NetBSD: PLIST,v 1.9 2012/06/03 22:24:20 wiz Exp $ +@comment $NetBSD: PLIST,v 1.10 2014/01/03 06:11:46 rodent Exp $ ${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/simplejson/__init__.py ${PYSITELIB}/simplejson/__init__.pyc ${PYSITELIB}/simplejson/__init__.pyo ${PYSITELIB}/simplejson/_speedups.so +${PYSITELIB}/simplejson/compat.py +${PYSITELIB}/simplejson/compat.pyc +${PYSITELIB}/simplejson/compat.pyo ${PYSITELIB}/simplejson/decoder.py ${PYSITELIB}/simplejson/decoder.pyc ${PYSITELIB}/simplejson/decoder.pyo @@ -52,6 +55,9 @@ ${PYSITELIB}/simplejson/tests/test_fail.pyo ${PYSITELIB}/simplejson/tests/test_float.py ${PYSITELIB}/simplejson/tests/test_float.pyc ${PYSITELIB}/simplejson/tests/test_float.pyo +${PYSITELIB}/simplejson/tests/test_for_json.py +${PYSITELIB}/simplejson/tests/test_for_json.pyc +${PYSITELIB}/simplejson/tests/test_for_json.pyo ${PYSITELIB}/simplejson/tests/test_indent.py ${PYSITELIB}/simplejson/tests/test_indent.pyc ${PYSITELIB}/simplejson/tests/test_indent.pyo @@ -82,6 +88,9 @@ ${PYSITELIB}/simplejson/tests/test_separators.pyo ${PYSITELIB}/simplejson/tests/test_speedups.py ${PYSITELIB}/simplejson/tests/test_speedups.pyc ${PYSITELIB}/simplejson/tests/test_speedups.pyo +${PYSITELIB}/simplejson/tests/test_tool.py +${PYSITELIB}/simplejson/tests/test_tool.pyc +${PYSITELIB}/simplejson/tests/test_tool.pyo ${PYSITELIB}/simplejson/tests/test_tuple.py ${PYSITELIB}/simplejson/tests/test_tuple.pyc ${PYSITELIB}/simplejson/tests/test_tuple.pyo diff --git a/converters/py-simplejson/distinfo b/converters/py-simplejson/distinfo index 774bb63ac98..9811e701ba4 100644 --- a/converters/py-simplejson/distinfo +++ b/converters/py-simplejson/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2012/10/02 17:29:48 wiz Exp $ +$NetBSD: distinfo,v 1.10 2014/01/03 06:11:46 rodent Exp $ -SHA1 (simplejson-2.6.2.tar.gz) = a8bb3aefe165a5d688a16f6277daf3ebd88097e9 -RMD160 (simplejson-2.6.2.tar.gz) = 1672e5e90929fb5ce8a41807bf254be29beea0c6 -Size (simplejson-2.6.2.tar.gz) = 53228 bytes +SHA1 (simplejson-3.3.1.tar.gz) = 96df09ecaa489b5600c9f80287ece3657f044719 +RMD160 (simplejson-3.3.1.tar.gz) = 843fcd2f5899b03f3e36d7c7fc02c3c39922a3a0 +Size (simplejson-3.3.1.tar.gz) = 67371 bytes |