Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 10:48:54 GMT
From:      Li-Wen Hsu <lwhsu@lwhsu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lwhsu@lwhsu.org
Subject:   ports/108420: [NEW PORT] devel/py24-cjson: Fast JSON encoder/decoder for Python
Message-ID:  <200701271048.l0RAmscY094451@jail0.lwhsu.csie.net>
Resent-Message-ID: <200701271050.l0RAoM5j021123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108420
>Category:       ports
>Synopsis:       [NEW PORT] devel/py24-cjson: Fast JSON encoder/decoder for Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 27 10:50:21 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Jan 14 15:25:58 CST 2007
>Description:
This module implements a very fast JSON encoder/decoder for Python.

JSON stands for JavaScript Object Notation and is a text based lightweight
data exchange format which is easy for humans to read/write and for machines
to parse/generate. JSON is completely language independent and has multiple
implementations in most of the programming languages, making it ideal for
data exchange and storage.

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.

WWW:	http://www.python.org/pypi/python-cjson/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py24-cjson-1.0.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-cjson
#	py-cjson/pkg-descr
#	py-cjson/Makefile
#	py-cjson/distinfo
#
echo c - py-cjson
mkdir -p py-cjson > /dev/null 2>&1
echo x - py-cjson/pkg-descr
sed 's/^X//' >py-cjson/pkg-descr << 'END-of-py-cjson/pkg-descr'
XThis module implements a very fast JSON encoder/decoder for Python.
X
XJSON stands for JavaScript Object Notation and is a text based lightweight
Xdata exchange format which is easy for humans to read/write and for machines
Xto parse/generate. JSON is completely language independent and has multiple
Ximplementations in most of the programming languages, making it ideal for
Xdata exchange and storage.
X
XThe module is written in C and it is up to 250 times faster when compared to
Xthe other python JSON implementations which are written directly in python.
XThis speed gain varies with the complexity of the data and the operation and
Xis the the range of 10-200 times for encoding operations and in the range of
X100-250 times for decoding operations.
X
XWWW:	http://www.python.org/pypi/python-cjson/
END-of-py-cjson/pkg-descr
echo x - py-cjson/Makefile
sed 's/^X//' >py-cjson/Makefile << 'END-of-py-cjson/Makefile'
X# New ports collection makefile for:	py-cjson
X# Date created:		Jan. 27, 2007
X# Whom:			Li-Wen Hsu <lwhsu@lwhsu.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cjson
XPORTVERSION=	1.0.3
XCATEGORIES=	devel python
XMASTER_SITES=	http://cheeseshop.python.org/packages/source/p/python-cjson/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	python-cjson-${PORTVERSION}
X
XMAINTAINER=	lwhsu@lwhsu.org
XCOMMENT=	Fast JSON encoder/decoder for Python
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
XPLIST_FILES=	%%PYTHON_SITELIBDIR%%/cjson.so
X
X.include <bsd.port.mk>
END-of-py-cjson/Makefile
echo x - py-cjson/distinfo
sed 's/^X//' >py-cjson/distinfo << 'END-of-py-cjson/distinfo'
XMD5 (python-cjson-1.0.3.tar.gz) = 4c8ad537173103d8acfb12d20a2f5d38
XSHA256 (python-cjson-1.0.3.tar.gz) = 5d114c51791d7b4799c98514de1cbbb0915c873999aaf382186e9da059702797
XSIZE (python-cjson-1.0.3.tar.gz) = 10714
END-of-py-cjson/distinfo
exit
--- py24-cjson-1.0.3.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701271048.l0RAmscY094451>