Commit graph

10 commits

Author SHA1 Message Date
obache
f9ae805494 Update py-simplejson to 2.1.1.
Based on PR#43447 by Wen Heping.
While here, set LICENSE=mit with some cosmetic fixes.

Version 2.1.1 released 2010-03-31

* Change how setup.py imports ez_setup.py to try and workaround old versions
  of setuptools.
  http://code.google.com/p/simplejson/issues/detail?id=75
* Fix compilation on Windows platform (and other platforms with very
  picky compilers)
* Corrected simplejson.__version__ and other minor doc changes.
* Do not fail speedups tests if speedups could not be built.
  http://code.google.com/p/simplejson/issues/detail?id=73

Version 2.1.0 released 2010-03-10

* Decimal serialization officially supported for encoding with
  use_decimal=True. For encoding this encodes Decimal objects and
  for decoding it implies parse_float=Decimal
* Python 2.4 no longer supported (may still work, but no longer tested)
* Decoding performance and memory utilization enhancements
  http://bugs.python.org/issue7451
* JSONEncoderForHTML class for escaping &, <, >
  http://code.google.com/p/simplejson/issues/detail?id=66
* Memoization of object keys during encoding (when using speedups)
* Encoder changed to use PyIter_Next for list iteration to avoid
  potential threading issues
* Encoder changed to use iteritems rather than PyDict_Next in order to
  support dict subclasses that have a well defined ordering
  http://bugs.python.org/issue6105
* indent encoding parameter changed to be a string rather than an integer
  (integer use still supported for backwards compatibility)
  http://code.google.com/p/simplejson/issues/detail?id=56
* Test suite (python setup.py test) now automatically runs with and without
  speedups
  http://code.google.com/p/simplejson/issues/detail?id=55
* Fixed support for older versions of easy_install (e.g. stock Mac OS X config)
  http://code.google.com/p/simplejson/issues/detail?id=54
* Fixed str/unicode mismatches when using ensure_ascii=False
  http://code.google.com/p/simplejson/issues/detail?id=48
* Fixed error message when parsing an array with trailing comma with speedups
  http://code.google.com/p/simplejson/issues/detail?id=46
* Refactor decoder errors to raise JSONDecodeError instead of ValueError
  http://code.google.com/p/simplejson/issues/detail?id=45
* New ordered_pairs_hook feature in decoder which makes it possible to
  preserve key order. http://bugs.python.org/issue5381
* Fixed containerless unicode float decoding (same bug as 2.0.4, oops!)
  http://code.google.com/p/simplejson/issues/detail?id=43
* Share PosInf definition between encoder and decoder
* Minor reformatting to make it easier to backport simplejson changes
  to Python 2.7/3.1 json module
2010-07-08 12:15:39 +00:00
epg
05d48ceeca Update simplejson to 2.0.9 and add do-test rule.
The only changelog appears to be the blog:
http://bob.pythonmac.org/archives/category/python/simplejson/

All optimizations and bug-fixes, as far as I can tell.
2009-08-20 17:15:21 +00:00
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00
joerg
5c9e2e583d Fix native_libs.txt issue. Bump revision. 2009-02-17 15:35:45 +00:00
obache
cb8f95b94b pkgsrc@ => pkgsrc-users@. 2009-02-11 11:45:24 +00:00
epg
2953ef302b EGG_NAME now defaults to ${DISTNAME} so don't set it here. 2008-09-12 07:08:47 +00:00
mjl
840959f0bb Use egg.mk instead of manually infer egg name and add destdir support.
Thanks to Eric Gillespie epg@ for the patch.
2008-09-11 16:32:06 +00:00
mjl
bb61515a6a Enable c language for building sped up library version. 2008-09-10 14:01:35 +00:00
mjl
e7aea0795e Correct package name. 2008-09-10 13:56:40 +00:00
mjl
52773d0467 Import py-simplejson 1.9.2
simplejson is a simple, fast, extensible JSON encoder/decoder for Python

simplejson is compatible with Python 2.3 and later with no external
dependencies. It covers the full JSON specification for both encoding and
decoding, with unicode support. By default, encoding is done in an encoding
neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).

The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).

The decoder can handle incoming JSON strings of any specified encoding
(UTF-8 by default).
2008-09-10 13:53:29 +00:00