Thu Jul 8 12:15:39 2010 UTC ()
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


(obache)
diff -r1.9 -r1.10 pkgsrc/converters/py-simplejson/Makefile
diff -r1.5 -r1.6 pkgsrc/converters/py-simplejson/PLIST
diff -r1.2 -r1.3 pkgsrc/converters/py-simplejson/distinfo

cvs diff -r1.9 -r1.10 pkgsrc/converters/py-simplejson/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/py-simplejson/Makefile 2009/08/20 17:15:21 1.9
+++ pkgsrc/converters/py-simplejson/Makefile 2010/07/08 12:15:39 1.10
@@ -1,24 +1,22 @@ @@ -1,24 +1,22 @@
1# $NetBSD: Makefile,v 1.9 2009/08/20 17:15:21 epg Exp $ 1# $NetBSD: Makefile,v 1.10 2010/07/08 12:15:39 obache Exp $
2# 2#
3 3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4DISTNAME= simplejson-2.1.1
5DISTNAME= simplejson-2.0.9 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
6#PKGREVISION= 1 
7CATEGORIES= converters 6CATEGORIES= converters
8MASTER_SITES= http://pypi.python.org/packages/source/s/simplejson/ 7MASTER_SITES= http://pypi.python.org/packages/source/s/simplejson/
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://undefined.org/python/#simplejson 10HOMEPAGE= http://undefined.org/python/#simplejson
12COMMENT= Simplejson is a simple, fast, extensible JSON encoder/decoder 11COMMENT= Simplejson is a simple, fast, extensible JSON encoder/decoder
 12LICENSE= mit
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16USE_LANGUAGES= c 16USE_LANGUAGES= c
17 
18PYDISTUTILSPKG= yes 
19 17
20do-test: 18do-test:
21 cd ${WRKSRC} && ${PYTHONBIN} setup.py test -q 19 cd ${WRKSRC} && ${PYTHONBIN} setup.py test -q
22 20
23.include "../../lang/python/egg.mk" 21.include "../../lang/python/egg.mk"
24.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/converters/py-simplejson/PLIST (expand / switch to unified diff)

--- pkgsrc/converters/py-simplejson/PLIST 2009/08/20 17:15:21 1.5
+++ pkgsrc/converters/py-simplejson/PLIST 2010/07/08 12:15:39 1.6
@@ -1,50 +1,59 @@ @@ -1,50 +1,59 @@
1@comment $NetBSD: PLIST,v 1.5 2009/08/20 17:15:21 epg Exp $ 1@comment $NetBSD: PLIST,v 1.6 2010/07/08 12:15:39 obache Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 5${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/${EGG_INFODIR}/zip-safe 6${PYSITELIB}/${EGG_INFODIR}/zip-safe
7${PYSITELIB}/simplejson/__init__.py 7${PYSITELIB}/simplejson/__init__.py
8${PYSITELIB}/simplejson/__init__.pyc 8${PYSITELIB}/simplejson/__init__.pyc
9${PYSITELIB}/simplejson/__init__.pyo 9${PYSITELIB}/simplejson/__init__.pyo
10${PYSITELIB}/simplejson/_speedups.so 10${PYSITELIB}/simplejson/_speedups.so
11${PYSITELIB}/simplejson/decoder.py 11${PYSITELIB}/simplejson/decoder.py
12${PYSITELIB}/simplejson/decoder.pyc 12${PYSITELIB}/simplejson/decoder.pyc
13${PYSITELIB}/simplejson/decoder.pyo 13${PYSITELIB}/simplejson/decoder.pyo
14${PYSITELIB}/simplejson/encoder.py 14${PYSITELIB}/simplejson/encoder.py
15${PYSITELIB}/simplejson/encoder.pyc 15${PYSITELIB}/simplejson/encoder.pyc
16${PYSITELIB}/simplejson/encoder.pyo 16${PYSITELIB}/simplejson/encoder.pyo
 17${PYSITELIB}/simplejson/ordered_dict.py
 18${PYSITELIB}/simplejson/ordered_dict.pyc
 19${PYSITELIB}/simplejson/ordered_dict.pyo
17${PYSITELIB}/simplejson/scanner.py 20${PYSITELIB}/simplejson/scanner.py
18${PYSITELIB}/simplejson/scanner.pyc 21${PYSITELIB}/simplejson/scanner.pyc
19${PYSITELIB}/simplejson/scanner.pyo 22${PYSITELIB}/simplejson/scanner.pyo
20${PYSITELIB}/simplejson/tests/__init__.py 23${PYSITELIB}/simplejson/tests/__init__.py
21${PYSITELIB}/simplejson/tests/__init__.pyc 24${PYSITELIB}/simplejson/tests/__init__.pyc
22${PYSITELIB}/simplejson/tests/__init__.pyo 25${PYSITELIB}/simplejson/tests/__init__.pyo
23${PYSITELIB}/simplejson/tests/test_check_circular.py 26${PYSITELIB}/simplejson/tests/test_check_circular.py
24${PYSITELIB}/simplejson/tests/test_check_circular.pyc 27${PYSITELIB}/simplejson/tests/test_check_circular.pyc
25${PYSITELIB}/simplejson/tests/test_check_circular.pyo 28${PYSITELIB}/simplejson/tests/test_check_circular.pyo
 29${PYSITELIB}/simplejson/tests/test_decimal.py
 30${PYSITELIB}/simplejson/tests/test_decimal.pyc
 31${PYSITELIB}/simplejson/tests/test_decimal.pyo
26${PYSITELIB}/simplejson/tests/test_decode.py 32${PYSITELIB}/simplejson/tests/test_decode.py
27${PYSITELIB}/simplejson/tests/test_decode.pyc 33${PYSITELIB}/simplejson/tests/test_decode.pyc
28${PYSITELIB}/simplejson/tests/test_decode.pyo 34${PYSITELIB}/simplejson/tests/test_decode.pyo
29${PYSITELIB}/simplejson/tests/test_default.py 35${PYSITELIB}/simplejson/tests/test_default.py
30${PYSITELIB}/simplejson/tests/test_default.pyc 36${PYSITELIB}/simplejson/tests/test_default.pyc
31${PYSITELIB}/simplejson/tests/test_default.pyo 37${PYSITELIB}/simplejson/tests/test_default.pyo
32${PYSITELIB}/simplejson/tests/test_dump.py 38${PYSITELIB}/simplejson/tests/test_dump.py
33${PYSITELIB}/simplejson/tests/test_dump.pyc 39${PYSITELIB}/simplejson/tests/test_dump.pyc
34${PYSITELIB}/simplejson/tests/test_dump.pyo 40${PYSITELIB}/simplejson/tests/test_dump.pyo
35${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.py 41${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.py
36${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyc 42${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyc
37${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyo 43${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyo
 44${PYSITELIB}/simplejson/tests/test_encode_for_html.py
 45${PYSITELIB}/simplejson/tests/test_encode_for_html.pyc
 46${PYSITELIB}/simplejson/tests/test_encode_for_html.pyo
38${PYSITELIB}/simplejson/tests/test_fail.py 47${PYSITELIB}/simplejson/tests/test_fail.py
39${PYSITELIB}/simplejson/tests/test_fail.pyc 48${PYSITELIB}/simplejson/tests/test_fail.pyc
40${PYSITELIB}/simplejson/tests/test_fail.pyo 49${PYSITELIB}/simplejson/tests/test_fail.pyo
41${PYSITELIB}/simplejson/tests/test_float.py 50${PYSITELIB}/simplejson/tests/test_float.py
42${PYSITELIB}/simplejson/tests/test_float.pyc 51${PYSITELIB}/simplejson/tests/test_float.pyc
43${PYSITELIB}/simplejson/tests/test_float.pyo 52${PYSITELIB}/simplejson/tests/test_float.pyo
44${PYSITELIB}/simplejson/tests/test_indent.py 53${PYSITELIB}/simplejson/tests/test_indent.py
45${PYSITELIB}/simplejson/tests/test_indent.pyc 54${PYSITELIB}/simplejson/tests/test_indent.pyc
46${PYSITELIB}/simplejson/tests/test_indent.pyo 55${PYSITELIB}/simplejson/tests/test_indent.pyo
47${PYSITELIB}/simplejson/tests/test_pass1.py 56${PYSITELIB}/simplejson/tests/test_pass1.py
48${PYSITELIB}/simplejson/tests/test_pass1.pyc 57${PYSITELIB}/simplejson/tests/test_pass1.pyc
49${PYSITELIB}/simplejson/tests/test_pass1.pyo 58${PYSITELIB}/simplejson/tests/test_pass1.pyo
50${PYSITELIB}/simplejson/tests/test_pass2.py 59${PYSITELIB}/simplejson/tests/test_pass2.py
@@ -52,19 +61,22 @@ ${PYSITELIB}/simplejson/tests/test_pass2 @@ -52,19 +61,22 @@ ${PYSITELIB}/simplejson/tests/test_pass2
52${PYSITELIB}/simplejson/tests/test_pass2.pyo 61${PYSITELIB}/simplejson/tests/test_pass2.pyo
53${PYSITELIB}/simplejson/tests/test_pass3.py 62${PYSITELIB}/simplejson/tests/test_pass3.py
54${PYSITELIB}/simplejson/tests/test_pass3.pyc 63${PYSITELIB}/simplejson/tests/test_pass3.pyc
55${PYSITELIB}/simplejson/tests/test_pass3.pyo 64${PYSITELIB}/simplejson/tests/test_pass3.pyo
56${PYSITELIB}/simplejson/tests/test_recursion.py 65${PYSITELIB}/simplejson/tests/test_recursion.py
57${PYSITELIB}/simplejson/tests/test_recursion.pyc 66${PYSITELIB}/simplejson/tests/test_recursion.pyc
58${PYSITELIB}/simplejson/tests/test_recursion.pyo 67${PYSITELIB}/simplejson/tests/test_recursion.pyo
59${PYSITELIB}/simplejson/tests/test_scanstring.py 68${PYSITELIB}/simplejson/tests/test_scanstring.py
60${PYSITELIB}/simplejson/tests/test_scanstring.pyc 69${PYSITELIB}/simplejson/tests/test_scanstring.pyc
61${PYSITELIB}/simplejson/tests/test_scanstring.pyo 70${PYSITELIB}/simplejson/tests/test_scanstring.pyo
62${PYSITELIB}/simplejson/tests/test_separators.py 71${PYSITELIB}/simplejson/tests/test_separators.py
63${PYSITELIB}/simplejson/tests/test_separators.pyc 72${PYSITELIB}/simplejson/tests/test_separators.pyc
64${PYSITELIB}/simplejson/tests/test_separators.pyo 73${PYSITELIB}/simplejson/tests/test_separators.pyo
 74${PYSITELIB}/simplejson/tests/test_speedups.py
 75${PYSITELIB}/simplejson/tests/test_speedups.pyc
 76${PYSITELIB}/simplejson/tests/test_speedups.pyo
65${PYSITELIB}/simplejson/tests/test_unicode.py 77${PYSITELIB}/simplejson/tests/test_unicode.py
66${PYSITELIB}/simplejson/tests/test_unicode.pyc 78${PYSITELIB}/simplejson/tests/test_unicode.pyc
67${PYSITELIB}/simplejson/tests/test_unicode.pyo 79${PYSITELIB}/simplejson/tests/test_unicode.pyo
68${PYSITELIB}/simplejson/tool.py 80${PYSITELIB}/simplejson/tool.py
69${PYSITELIB}/simplejson/tool.pyc 81${PYSITELIB}/simplejson/tool.pyc
70${PYSITELIB}/simplejson/tool.pyo 82${PYSITELIB}/simplejson/tool.pyo

cvs diff -r1.2 -r1.3 pkgsrc/converters/py-simplejson/distinfo (expand / switch to unified diff)

--- pkgsrc/converters/py-simplejson/distinfo 2009/08/20 17:15:21 1.2
+++ pkgsrc/converters/py-simplejson/distinfo 2010/07/08 12:15:39 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.2 2009/08/20 17:15:21 epg Exp $ 1$NetBSD: distinfo,v 1.3 2010/07/08 12:15:39 obache Exp $
2 2
3SHA1 (simplejson-2.0.9.tar.gz) = b5b26059adbe677b06c299bed30557fcb0c7df8c 3SHA1 (simplejson-2.1.1.tar.gz) = 106fe3481c9a3a9488cbe7d212eca7671837783f
4RMD160 (simplejson-2.0.9.tar.gz) = 814a0b7aa11a361ba5eda0be93e30505c44409ad 4RMD160 (simplejson-2.1.1.tar.gz) = 7cb7b2b5052bf09ae5010d6d96cba28ebd490aac
5Size (simplejson-2.0.9.tar.gz) = 115443 bytes 5Size (simplejson-2.1.1.tar.gz) = 131203 bytes