aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-cjson
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-28 08:11:16 +0800
committermiwi <miwi@FreeBSD.org>2007-01-28 08:11:16 +0800
commit2641ea6a48290618379757cf9acdb1c69613b709 (patch)
treed1d4a628d2d4d60357aabaa46ab2527c7b7f54d5 /devel/py-cjson
parent6e2100e5e5be596909ab499ab7648a966bbda7c6 (diff)
downloadfreebsd-ports-gnome-2641ea6a48290618379757cf9acdb1c69613b709.tar.gz
freebsd-ports-gnome-2641ea6a48290618379757cf9acdb1c69613b709.tar.zst
freebsd-ports-gnome-2641ea6a48290618379757cf9acdb1c69613b709.zip
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/ PR: ports/108420 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Diffstat (limited to 'devel/py-cjson')
-rw-r--r--devel/py-cjson/Makefile23
-rw-r--r--devel/py-cjson/distinfo3
-rw-r--r--devel/py-cjson/pkg-descr15
3 files changed, 41 insertions, 0 deletions
diff --git a/devel/py-cjson/Makefile b/devel/py-cjson/Makefile
new file mode 100644
index 000000000000..ffb22240e21c
--- /dev/null
+++ b/devel/py-cjson/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-cjson
+# Date created: Jan. 27, 2007
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cjson
+PORTVERSION= 1.0.3
+CATEGORIES= devel python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/p/python-cjson/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-cjson-${PORTVERSION}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= Fast JSON encoder/decoder for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/cjson.so
+
+.include <bsd.port.mk>
diff --git a/devel/py-cjson/distinfo b/devel/py-cjson/distinfo
new file mode 100644
index 000000000000..868b4a916294
--- /dev/null
+++ b/devel/py-cjson/distinfo
@@ -0,0 +1,3 @@
+MD5 (python-cjson-1.0.3.tar.gz) = 4c8ad537173103d8acfb12d20a2f5d38
+SHA256 (python-cjson-1.0.3.tar.gz) = 5d114c51791d7b4799c98514de1cbbb0915c873999aaf382186e9da059702797
+SIZE (python-cjson-1.0.3.tar.gz) = 10714
diff --git a/devel/py-cjson/pkg-descr b/devel/py-cjson/pkg-descr
new file mode 100644
index 000000000000..47e3878d3efd
--- /dev/null
+++ b/devel/py-cjson/pkg-descr
@@ -0,0 +1,15 @@
+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/