summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authormjl <mjl>2008-09-10 13:53:29 +0000
committermjl <mjl>2008-09-10 13:53:29 +0000
commitbee0111526a1ff6335e184468b57a611c9653191 (patch)
treed6e0785f67f20c24befdc95a109c62d4ea26d2a6 /converters
parentda820077bca82380cb001e51f7f218b83e1be836 (diff)
downloadpkgsrc-bee0111526a1ff6335e184468b57a611c9653191.tar.gz
Import py-simplejson 1.9.2
simplejson is a simple, fast, extensible JSON encoder/decoder for Python simplejson is compatible with Python 2.3 and later with no external dependencies. It covers the full JSON specification for both encoding and decoding, with unicode support. By default, encoding is done in an encoding neutral fashion (plain ASCII with \uXXXX escapes for unicode characters). The encoder may be subclassed to provide serialization in any kind of situation, without any special support by the objects to be serialized (somewhat like pickle). The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default).
Diffstat (limited to 'converters')
-rw-r--r--converters/py-simplejson/DESCR13
-rw-r--r--converters/py-simplejson/Makefile20
-rw-r--r--converters/py-simplejson/PLIST71
-rw-r--r--converters/py-simplejson/distinfo5
4 files changed, 109 insertions, 0 deletions
diff --git a/converters/py-simplejson/DESCR b/converters/py-simplejson/DESCR
new file mode 100644
index 00000000000..efcfae42a90
--- /dev/null
+++ b/converters/py-simplejson/DESCR
@@ -0,0 +1,13 @@
+simplejson is a simple, fast, extensible JSON encoder/decoder for Python
+
+simplejson is compatible with Python 2.3 and later with no external
+dependencies. It covers the full JSON specification for both encoding and
+decoding, with unicode support. By default, encoding is done in an encoding
+neutral fashion (plain ASCII with \uXXXX escapes for unicode characters).
+
+The encoder may be subclassed to provide serialization in any kind of
+situation, without any special support by the objects to be serialized
+(somewhat like pickle).
+
+The decoder can handle incoming JSON strings of any specified encoding
+(UTF-8 by default).
diff --git a/converters/py-simplejson/Makefile b/converters/py-simplejson/Makefile
new file mode 100644
index 00000000000..e16c463e4e9
--- /dev/null
+++ b/converters/py-simplejson/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/10 13:53:29 mjl Exp $
+#
+
+DISTNAME= simplejson-1.9.2
+CATEGORIES= converters
+MASTER_SITES= http://pypi.python.org/packages/source/s/simplejson/
+
+MAINTAINER= pkgsrc@NetBSD.org
+HOMEPAGE= http://undefined.org/python/#simplejson
+COMMENT= Simplejson is a simple, fast, extensible JSON encoder/decoder
+
+USE_LANGUAGES= # none
+
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+PYSETUPINSTALLARGS= --single-version-externally-managed --record plist.txt
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/py-simplejson/PLIST b/converters/py-simplejson/PLIST
new file mode 100644
index 00000000000..fb926bf8de2
--- /dev/null
+++ b/converters/py-simplejson/PLIST
@@ -0,0 +1,71 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/10 13:53:29 mjl Exp $
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/native_libs.txt
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info/zip-safe
+${PYSITELIB}/simplejson/__init__.py
+${PYSITELIB}/simplejson/__init__.pyc
+${PYSITELIB}/simplejson/__init__.pyo
+${PYSITELIB}/simplejson/_speedups.so
+${PYSITELIB}/simplejson/decoder.py
+${PYSITELIB}/simplejson/decoder.pyc
+${PYSITELIB}/simplejson/decoder.pyo
+${PYSITELIB}/simplejson/encoder.py
+${PYSITELIB}/simplejson/encoder.pyc
+${PYSITELIB}/simplejson/encoder.pyo
+${PYSITELIB}/simplejson/scanner.py
+${PYSITELIB}/simplejson/scanner.pyc
+${PYSITELIB}/simplejson/scanner.pyo
+${PYSITELIB}/simplejson/tests/__init__.py
+${PYSITELIB}/simplejson/tests/__init__.pyc
+${PYSITELIB}/simplejson/tests/__init__.pyo
+${PYSITELIB}/simplejson/tests/test_decode.py
+${PYSITELIB}/simplejson/tests/test_decode.pyc
+${PYSITELIB}/simplejson/tests/test_decode.pyo
+${PYSITELIB}/simplejson/tests/test_default.py
+${PYSITELIB}/simplejson/tests/test_default.pyc
+${PYSITELIB}/simplejson/tests/test_default.pyo
+${PYSITELIB}/simplejson/tests/test_dump.py
+${PYSITELIB}/simplejson/tests/test_dump.pyc
+${PYSITELIB}/simplejson/tests/test_dump.pyo
+${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.py
+${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyc
+${PYSITELIB}/simplejson/tests/test_encode_basestring_ascii.pyo
+${PYSITELIB}/simplejson/tests/test_fail.py
+${PYSITELIB}/simplejson/tests/test_fail.pyc
+${PYSITELIB}/simplejson/tests/test_fail.pyo
+${PYSITELIB}/simplejson/tests/test_float.py
+${PYSITELIB}/simplejson/tests/test_float.pyc
+${PYSITELIB}/simplejson/tests/test_float.pyo
+${PYSITELIB}/simplejson/tests/test_indent.py
+${PYSITELIB}/simplejson/tests/test_indent.pyc
+${PYSITELIB}/simplejson/tests/test_indent.pyo
+${PYSITELIB}/simplejson/tests/test_pass1.py
+${PYSITELIB}/simplejson/tests/test_pass1.pyc
+${PYSITELIB}/simplejson/tests/test_pass1.pyo
+${PYSITELIB}/simplejson/tests/test_pass2.py
+${PYSITELIB}/simplejson/tests/test_pass2.pyc
+${PYSITELIB}/simplejson/tests/test_pass2.pyo
+${PYSITELIB}/simplejson/tests/test_pass3.py
+${PYSITELIB}/simplejson/tests/test_pass3.pyc
+${PYSITELIB}/simplejson/tests/test_pass3.pyo
+${PYSITELIB}/simplejson/tests/test_recursion.py
+${PYSITELIB}/simplejson/tests/test_recursion.pyc
+${PYSITELIB}/simplejson/tests/test_recursion.pyo
+${PYSITELIB}/simplejson/tests/test_scanstring.py
+${PYSITELIB}/simplejson/tests/test_scanstring.pyc
+${PYSITELIB}/simplejson/tests/test_scanstring.pyo
+${PYSITELIB}/simplejson/tests/test_separators.py
+${PYSITELIB}/simplejson/tests/test_separators.pyc
+${PYSITELIB}/simplejson/tests/test_separators.pyo
+${PYSITELIB}/simplejson/tests/test_unicode.py
+${PYSITELIB}/simplejson/tests/test_unicode.pyc
+${PYSITELIB}/simplejson/tests/test_unicode.pyo
+${PYSITELIB}/simplejson/tool.py
+${PYSITELIB}/simplejson/tool.pyc
+${PYSITELIB}/simplejson/tool.pyo
+@dirrm ${PYSITELIB}/simplejson-1.9.2-py${PYVERSSUFFIX}.egg-info
+@dirrm ${PYSITELIB}/simplejson/tests
+@dirrm ${PYSITELIB}/simplejson
diff --git a/converters/py-simplejson/distinfo b/converters/py-simplejson/distinfo
new file mode 100644
index 00000000000..593b06c3e06
--- /dev/null
+++ b/converters/py-simplejson/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/10 13:53:29 mjl Exp $
+
+SHA1 (simplejson-1.9.2.tar.gz) = d761af80c38b80d8bc2a8e7cdcc8ffd9730e7788
+RMD160 (simplejson-1.9.2.tar.gz) = eb20847b093851026db995f0a451b8088f35041a
+Size (simplejson-1.9.2.tar.gz) = 70928 bytes