c7814dba1e
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
21 lines
572 B
Makefile
21 lines
572 B
Makefile
# $NetBSD: Makefile,v 1.7 2017/09/28 16:21:21 adam Exp $
|
|
|
|
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
|
|
HOMEPAGE= https://github.com/AGProjects/python-cjson
|
|
COMMENT= Fast JSON encoder/decoder for Python
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # Uses old string API.
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} jsontest.py
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|