Skip to content

Commit

Permalink
Update to latest release, 3.3.1. Add:
Browse files Browse the repository at this point in the history
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
  simplejson/simplejson#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.
  simplejson/simplejson#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.
  simplejson/simplejson#63
* New for_json kwarg in encoder to make it possible to for
  subclasses of dict and list to be specialized.
  simplejson/simplejson#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
  simplejson/simplejson#59
* Test suite should be compatible with debug builds of Python 2.x and 3.x
  simplejson/simplejson#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
  simplejson/simplejson#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.
  simplejson/simplejson#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
  simplejson/simplejson#49
* Fixed Python 3.3 deprecation warnings in test suite
  simplejson/simplejson#48

Version 3.0.4 released 2013-01-02

* MSVC compatibility for Python 3.3
  simplejson/simplejson#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
  simplejson/simplejson#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
  simplejson/simplejson#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.
  • Loading branch information
rodent committed Jan 3, 2014
1 parent 7648004 commit 2b18e32
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
10 changes: 7 additions & 3 deletions converters/py-simplejson/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down
11 changes: 10 additions & 1 deletion converters/py-simplejson/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions converters/py-simplejson/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b18e32

Please sign in to comment.