pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/py-simplejson Update to 2.2.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c80e9539234
branches:  trunk
changeset: 604291:6c80e9539234
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 29 13:19:42 2012 +0000

description:
Update to 2.2.1:

Version 2.2.1 released 2011-09-06

* Fix MANIFEST.in issue when building a sdist from a sdist.
  https://github.com/simplejson/simplejson/issues/16

Version 2.2.0 released 2011-09-04

* Remove setuptools requirement, reverted to pure distutils
* use_decimal default for encoding (dump, dumps, JSONEncoder) is now True
* tuple encoding as JSON objects can be turned off with new
  tuple_as_array=False option.
  https://github.com/simplejson/simplejson/pull/6
* namedtuple (or other tuple subclasses with _asdict methods) are now
  encoded as JSON objects rather than arrays by default. Can be disabled
  and treated as a tuple with the new namedtuple_as_object=False option.
  https://github.com/simplejson/simplejson/pull/6
* JSONDecodeError is now raised instead of ValueError when a document
  ends with an opening quote and the C speedups are in use.
  https://github.com/simplejson/simplejson/issues/15
* Updated documentation with information about JSONDecodeError
* Force unicode linebreak characters to be escaped (U+2028 and U+2029)
  http://timelessrepo.com/json-isnt-a-javascript-subset
* Moved documentation from a git submodule to
  http://simplejson.readthedocs.org/

Version 2.1.6 released 2011-05-08

* Prevent segfaults with deeply nested JSON documents
  https://github.com/simplejson/simplejson/issues/11
* Fix compatibility with Python 2.5
  https://github.com/simplejson/simplejson/issues/5

Version 2.1.5 released 2011-04-17

* Built sdist tarball with setuptools_git installed. Argh.

Version 2.1.4 released 2011-04-17

* Does not try to build the extension when using PyPy
* Trailing whitespace after commas no longer emitted when indent is used
* Migrated to github http://github.com/simplejson/simplejson

diffstat:

 converters/py-simplejson/Makefile |   6 +++---
 converters/py-simplejson/PLIST    |  14 ++++++++------
 converters/py-simplejson/distinfo |   8 ++++----
 3 files changed, 15 insertions(+), 13 deletions(-)

diffs (68 lines):

diff -r 2eded5bd589c -r 6c80e9539234 converters/py-simplejson/Makefile
--- a/converters/py-simplejson/Makefile Tue May 29 13:17:22 2012 +0000
+++ b/converters/py-simplejson/Makefile Tue May 29 13:19:42 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2012/02/15 22:18:15 gls Exp $
+# $NetBSD: Makefile,v 1.12 2012/05/29 13:19:42 wiz Exp $
 #
 
-DISTNAME=      simplejson-2.1.3
+DISTNAME=      simplejson-2.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    converters
 MASTER_SITES=  http://pypi.python.org/packages/source/s/simplejson/
@@ -18,5 +18,5 @@
 do-test:
        cd ${WRKSRC} && ${PYTHONBIN} setup.py test -q
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2eded5bd589c -r 6c80e9539234 converters/py-simplejson/PLIST
--- a/converters/py-simplejson/PLIST    Tue May 29 13:17:22 2012 +0000
+++ b/converters/py-simplejson/PLIST    Tue May 29 13:19:42 2012 +0000
@@ -1,9 +1,5 @@
-@comment $NetBSD: PLIST,v 1.7 2012/02/15 22:18:15 gls Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
+@comment $NetBSD: PLIST,v 1.8 2012/05/29 13:19:42 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/simplejson/__init__.py
 ${PYSITELIB}/simplejson/__init__.pyc
 ${PYSITELIB}/simplejson/__init__.pyo
@@ -56,6 +52,9 @@
 ${PYSITELIB}/simplejson/tests/test_indent.py
 ${PYSITELIB}/simplejson/tests/test_indent.pyc
 ${PYSITELIB}/simplejson/tests/test_indent.pyo
+${PYSITELIB}/simplejson/tests/test_namedtuple.py
+${PYSITELIB}/simplejson/tests/test_namedtuple.pyc
+${PYSITELIB}/simplejson/tests/test_namedtuple.pyo
 ${PYSITELIB}/simplejson/tests/test_pass1.py
 ${PYSITELIB}/simplejson/tests/test_pass1.pyc
 ${PYSITELIB}/simplejson/tests/test_pass1.pyo
@@ -77,6 +76,9 @@
 ${PYSITELIB}/simplejson/tests/test_speedups.py
 ${PYSITELIB}/simplejson/tests/test_speedups.pyc
 ${PYSITELIB}/simplejson/tests/test_speedups.pyo
+${PYSITELIB}/simplejson/tests/test_tuple.py
+${PYSITELIB}/simplejson/tests/test_tuple.pyc
+${PYSITELIB}/simplejson/tests/test_tuple.pyo
 ${PYSITELIB}/simplejson/tests/test_unicode.py
 ${PYSITELIB}/simplejson/tests/test_unicode.pyc
 ${PYSITELIB}/simplejson/tests/test_unicode.pyo
diff -r 2eded5bd589c -r 6c80e9539234 converters/py-simplejson/distinfo
--- a/converters/py-simplejson/distinfo Tue May 29 13:17:22 2012 +0000
+++ b/converters/py-simplejson/distinfo Tue May 29 13:19:42 2012 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2012/02/15 22:18:15 gls Exp $
+$NetBSD: distinfo,v 1.5 2012/05/29 13:19:42 wiz Exp $
 
-SHA1 (simplejson-2.1.3.tar.gz) = ab9b677d1d14c9fd8283132ea1fe9cefcf1a67e3
-RMD160 (simplejson-2.1.3.tar.gz) = 850b2a2bac644440043a8ad9756c9d9444ff0c17
-Size (simplejson-2.1.3.tar.gz) = 131671 bytes
+SHA1 (simplejson-2.2.1.tar.gz) = e48daf374f6131f7875e790a84c218df7a2a710b
+RMD160 (simplejson-2.2.1.tar.gz) = c50cf48bf38a734dbd5905c8b4a136c7c2fa56bc
+Size (simplejson-2.2.1.tar.gz) = 49957 bytes



Home | Main Index | Thread Index | Old Index