Thu Mar 12 16:32:31 2020 UTC ()
py-ujson: updated to 2.0.1

2.0.1

Fixed
Fix Windows build and test Python 3.5-3.8 on Windows

2.0.0

Added
Include license file in manifest
added "static" to C functions, where possible
bring back benchmark introduction
Add syntax highlighting to README
Test on new Travis CPUs
Test on GitHub Actions
Test on Python 3.9-dev to avoid surprises
Use Release Drafter to draft releases
Deploy from GitHub Actions instead of Travis CI
Autodeploy to PyPI from Travis CI
Lint with pre-commit: Black, isort, Flake8

Changed
Use Google's double-conversion lib to fix floating-point precision when converting doubles to and from strings, improves double encoding by 4-5x
Reduce default buffer on stack size
Update ultrajsondec.c
Indent dict values
Test with pytest
Less Travis
Update links
Tests: Remove unused, unmaintained blist
Only deploy sdist from Travis CI

Removed
Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8
Remove serialization of date/datetime objects
Remove double_precision encoding option and precise_float decoding option
Remove generic serialization of objects/iterables
Remove support for __json__ method on str
Remove blist tests

Fixed
Fix for sort_keys bug and a typo
Fix for overflowing long causing invalid JSON
Following std JSON handling of None dict key
Fix for incorrect order when using OrderedDict
Fix reference counting bug for dict values
Fix a couple of memory leaks.
Correct JSON decoding implementation to die on trailing commas in Objects
fixup dconv_wrapper linkage
Fix Warning: 'classifiers' should be a list, got type 'filter'
Remove redundant license parameter
do not forcefully remove the build directory manually
Merged pull request to fix memory leak.
http -> https


(adam)
diff -r1.1 -r1.2 pkgsrc/textproc/py-ujson/Makefile
diff -r1.1 -r1.2 pkgsrc/textproc/py-ujson/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/textproc/py-ujson/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-ujson/Makefile 2017/06/24 07:18:11 1.1
+++ pkgsrc/textproc/py-ujson/Makefile 2020/03/12 16:32:31 1.2
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1# $NetBSD: Makefile,v 1.1 2017/06/24 07:18:11 adam Exp $ 1# $NetBSD: Makefile,v 1.2 2020/03/12 16:32:31 adam Exp $
2 2
3DISTNAME= ujson-1.35 3DISTNAME= ujson-2.0.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= textproc python 5CATEGORIES= textproc python
6MASTER_SITES= ${MASTER_SITE_PYPI:=u/ujson/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=u/ujson/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/esnme/ultrajson 9HOMEPAGE= https://github.com/esnme/ultrajson
10COMMENT= Ultra fast JSON encoder and decoder for Python 10COMMENT= Ultra fast JSON encoder and decoder for Python
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
 13USE_LANGUAGES= c c++
 14
13.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
14.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/textproc/py-ujson/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-ujson/distinfo 2017/06/24 07:18:11 1.1
+++ pkgsrc/textproc/py-ujson/distinfo 2020/03/12 16:32:31 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2017/06/24 07:18:11 adam Exp $ 1$NetBSD: distinfo,v 1.2 2020/03/12 16:32:31 adam Exp $
2 2
3SHA1 (ujson-1.35.tar.gz) = 566e2936c0fbd0132667fea735ee7096019a63e4 3SHA1 (ujson-2.0.1.tar.gz) = 04524f4ff3a1986d27a606b63a46ab86a3cb2674
4RMD160 (ujson-1.35.tar.gz) = 74d577963a3759fbacc6c2453e5807f5fd075857 4RMD160 (ujson-2.0.1.tar.gz) = dff2c4d3f463a9f5e0a11dacc7f3df158bdc0714
5SHA512 (ujson-1.35.tar.gz) = 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7 5SHA512 (ujson-2.0.1.tar.gz) = b17826cb6fb5731bf7c152e9b491edef7f94cc08a90af74d1685aafaec353092e7d5afa9988c93ee6889162d5a4db9da5393b4a2eecaff39ba5f1e029a847e3a
6Size (ujson-1.35.tar.gz) = 192027 bytes 6Size (ujson-2.0.1.tar.gz) = 7127056 bytes