pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-cjson py-cjson: update to 1.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a2fb3e47a0a
branches:  trunk
changeset: 369346:8a2fb3e47a0a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 28 16:21:21 2017 +0000

description:
py-cjson: update to 1.2.1

Changes in version 1.2.1
* Updated project homepage

Changes in version 1.2.0
* Implemented recursion limit check for encoding/decoding arrays and objects
* Updated copyright years and stripped licensing info from source code

Changes in version 1.1.0
* Use repr instead of str when encoding floats to preserve full preicision
* Fixed windows compilation problem introduced in 1.0.5
* Fixed float write test to work with latest high precision float encoding
* Fixed some list/dict decoding bugs. Use a state machine for decoding them.
* Improved decoding speed by using PyString_GET_SIZE instead of strlen
* Integrate modified 0001-fix-for-CVE-2010-1666 patch from Debian

diffstat:

 textproc/py-cjson/Makefile      |  20 ++++++++++----------
 textproc/py-cjson/PLIST         |   3 ++-
 textproc/py-cjson/buildlink3.mk |  14 --------------
 textproc/py-cjson/distinfo      |  10 +++++-----
 4 files changed, 17 insertions(+), 30 deletions(-)

diffs (76 lines):

diff -r f8631c4ac306 -r 8a2fb3e47a0a textproc/py-cjson/Makefile
--- a/textproc/py-cjson/Makefile        Thu Sep 28 16:15:49 2017 +0000
+++ b/textproc/py-cjson/Makefile        Thu Sep 28 16:21:21 2017 +0000
@@ -1,21 +1,21 @@
-# $NetBSD: Makefile,v 1.6 2017/01/01 14:44:00 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.7 2017/09/28 16:21:21 adam Exp $
 
-DISTNAME=      python-cjson-1.0.5
-PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/1}
-CATEGORIES=    python textproc
+DISTNAME=      python-cjson-1.2.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-cjson/}
 
 MAINTAINER=    kamelderouiche%yahoo.com@localhost
-HOMEPAGE=      http://ag-projects.com/
+HOMEPAGE=      https://github.com/AGProjects/python-cjson
 COMMENT=       Fast JSON encoder/decoder for Python
 LICENSE=       gnu-lgpl-v2
 
-PYDISTUTILSPKG= yes
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # Uses old string API.
+PYDISTUTILSPKG=        yes
+
+PYTHON_VERSIONS_ACCEPTED=      27 # Uses old string API.
 
 do-test:
-       ( cd ${WKSRC} && ${PYTHONBIN} jsontest.py )
+       cd ${WRKSRC} && ${PYTHONBIN} jsontest.py
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f8631c4ac306 -r 8a2fb3e47a0a textproc/py-cjson/PLIST
--- a/textproc/py-cjson/PLIST   Thu Sep 28 16:15:49 2017 +0000
+++ b/textproc/py-cjson/PLIST   Thu Sep 28 16:21:21 2017 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/03 15:34:22 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/09/28 16:21:21 adam Exp $
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/cjson.so
diff -r f8631c4ac306 -r 8a2fb3e47a0a textproc/py-cjson/buildlink3.mk
--- a/textproc/py-cjson/buildlink3.mk   Thu Sep 28 16:15:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2014/05/03 15:34:22 rodent Exp $
-
-BUILDLINK_TREE+=       py-cjson
-
-.if !defined(PY_CJSON_BUILDLINK3_MK)
-PY_CJSON_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_API_DEPENDS.py-cjson+=       ${PYPKGPREFIX}-cjson>=1.0.5
-BUILDLINK_PKGSRCDIR.py-cjson?= ../../textproc/py-cjson
-.endif # PY_CJSON_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -py-cjson
diff -r f8631c4ac306 -r 8a2fb3e47a0a textproc/py-cjson/distinfo
--- a/textproc/py-cjson/distinfo        Thu Sep 28 16:15:49 2017 +0000
+++ b/textproc/py-cjson/distinfo        Thu Sep 28 16:21:21 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:00:01 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/28 16:21:21 adam Exp $
 
-SHA1 (python-cjson-1.0.5.tar.gz) = a00519debfdc6dcc33acfe68dc10ee4866fdcd8b
-RMD160 (python-cjson-1.0.5.tar.gz) = c1256cf176af3194233de3704ec07ab4ccfb522c
-SHA512 (python-cjson-1.0.5.tar.gz) = ba47337df70e27a9d44daa96c1d4f8d1a846193486ad78279e29ae7016bb2adb9146c0926fb99c7312c6fe9fea63b6cf947ef2a8faea376e27e004bdd55fb0ed
-Size (python-cjson-1.0.5.tar.gz) = 10978 bytes
+SHA1 (python-cjson-1.2.1.tar.gz) = cc1d3568cc23d28eba0903df2e57b6de1dd558c8
+RMD160 (python-cjson-1.2.1.tar.gz) = 867ddc7312685999e966128893c2eeb11fa01f0a
+SHA512 (python-cjson-1.2.1.tar.gz) = dd998d1a77c4ac2f48316a66bb10741860a1ed7b8f54431bd72f949a4070284fa5040ed51c3030f7ad9fed4d76e12112206d32acf204800010c8b79b1665d684
+Size (python-cjson-1.2.1.tar.gz) = 12575 bytes



Home | Main Index | Thread Index | Old Index