# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
python.rootname python-cjson
description Fast JSON encoder/decoder for Python
long_description This module implements a very fast JSON \
encoder/decoder for Python. The module is written \
in C and it is up to 250 times faster when \
compared to the other python JSON implementations \
which are written directly in python. This speed \
gain varies with the complexity of the data and \
the operation and is the the range of 10-200 times \
for encoding operations and in the range of \
100-250 times for decoding operations.
homepage https://github.com/AGProjects/python-cjson
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 867ddc7312685999e966128893c2eeb11fa01f0a \
sha256 52db2745264624768bfd9b604acb38f631bde5c2ec9b23861677d747e4558626 \
if {${name} ne ${subport}} {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README LICENSE ChangeLog ${destroot}${docdir}
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
test.cmd ${python.bin} jsontest.py