pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-ujson py-ujson: updated to 2.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/235e142b4904
branches:  trunk
changeset: 412829:235e142b4904
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 12 16:32:31 2020 +0000

description:
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

diffstat:

 textproc/py-ujson/Makefile |   6 ++++--
 textproc/py-ujson/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 29171967ba0a -r 235e142b4904 textproc/py-ujson/Makefile
--- a/textproc/py-ujson/Makefile        Thu Mar 12 16:24:00 2020 +0000
+++ b/textproc/py-ujson/Makefile        Thu Mar 12 16:32:31 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/06/24 07:18:11 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/12 16:32:31 adam Exp $
 
-DISTNAME=      ujson-1.35
+DISTNAME=      ujson-2.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/ujson/}
@@ -10,5 +10,7 @@
 COMMENT=       Ultra fast JSON encoder and decoder for Python
 LICENSE=       modified-bsd
 
+USE_LANGUAGES= c c++
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 29171967ba0a -r 235e142b4904 textproc/py-ujson/distinfo
--- a/textproc/py-ujson/distinfo        Thu Mar 12 16:24:00 2020 +0000
+++ b/textproc/py-ujson/distinfo        Thu Mar 12 16:32:31 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/06/24 07:18:11 adam Exp $
+$NetBSD: distinfo,v 1.2 2020/03/12 16:32:31 adam Exp $
 
-SHA1 (ujson-1.35.tar.gz) = 566e2936c0fbd0132667fea735ee7096019a63e4
-RMD160 (ujson-1.35.tar.gz) = 74d577963a3759fbacc6c2453e5807f5fd075857
-SHA512 (ujson-1.35.tar.gz) = 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7
-Size (ujson-1.35.tar.gz) = 192027 bytes
+SHA1 (ujson-2.0.1.tar.gz) = 04524f4ff3a1986d27a606b63a46ab86a3cb2674
+RMD160 (ujson-2.0.1.tar.gz) = dff2c4d3f463a9f5e0a11dacc7f3df158bdc0714
+SHA512 (ujson-2.0.1.tar.gz) = b17826cb6fb5731bf7c152e9b491edef7f94cc08a90af74d1685aafaec353092e7d5afa9988c93ee6889162d5a4db9da5393b4a2eecaff39ba5f1e029a847e3a
+Size (ujson-2.0.1.tar.gz) = 7127056 bytes



Home | Main Index | Thread Index | Old Index