import py-simplejson-1.7.1

Simplejson is a simple, fast, extensible JSON encoder/decoder for
Python.  It 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.  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.

ok simon@ (who also spotted HOMEPAGE not escaping #)
This commit is contained in:
martynas 2007-06-24 21:51:30 +00:00
parent 6667787718
commit 0f9bae17c7
5 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/24 21:51:30 martynas Exp $
COMMENT= "JSON encoder/decoder"
DISTNAME= simplejson-1.7.1
PKGNAME= py-${DISTNAME}
CATEGORIES= devel lang/python
HOMEPAGE= http://undefined.org/python/\#simplejson
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cheeseshop.python.org/packages/source/s/simplejson/
MODULES= lang/python
REGRESS_DEPENDS= ::devel/py-nose
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson
cd ${WRKSRC}/docs && \
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/py-simplejson/{} \;
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (simplejson-1.7.1.tar.gz) = tyPUiOpDWDEiURJj6cLJOg==
RMD160 (simplejson-1.7.1.tar.gz) = fnSIwkq4OJDSBpKaVl8WxZcGg/w=
SHA1 (simplejson-1.7.1.tar.gz) = zH40t7vzSWAcyflryGHzyqwJ9H8=
SHA256 (simplejson-1.7.1.tar.gz) = woqpT4/euK+VBpZAvEG7YVRzlEx4r57w7aMYFy3WQ80=
SIZE (simplejson-1.7.1.tar.gz) = 60157

View File

@ -0,0 +1,8 @@
Simplejson is a simple, fast, extensible JSON encoder/decoder for
Python. It 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. 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.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/06/24 21:51:30 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/simplejson/_speedups.so

View File

@ -0,0 +1,60 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/24 21:51:30 martynas Exp $
%%SHARED%%
lib/python${MODPY_VERSION}/site-packages/simplejson/
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/simplejson-1.7.1-py${MODPY_VERSION}.egg-info/zip-safe
lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.py
lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.py
lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/encoder.py
lib/python${MODPY_VERSION}/site-packages/simplejson/encoder.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/jsonfilter.py
lib/python${MODPY_VERSION}/site-packages/simplejson/jsonfilter.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/scanner.py
lib/python${MODPY_VERSION}/site-packages/simplejson/scanner.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/__init__.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_attacks.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_attacks.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_dump.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_dump.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_fail.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_fail.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_indent.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_indent.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass1.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass1.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass2.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass2.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass3.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_pass3.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_recursion.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_recursion.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_separators.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_separators.pyc
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_unicode.py
lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_unicode.pyc
share/doc/py-simplejson/
share/doc/py-simplejson/class-simplejson.JSONDecoder.html
share/doc/py-simplejson/class-simplejson.JSONEncoder.html
share/doc/py-simplejson/class_to_source.js
share/doc/py-simplejson/index.html
share/doc/py-simplejson/layout.css
share/doc/py-simplejson/module-index.html
share/doc/py-simplejson/module-simplejson-index.html
share/doc/py-simplejson/module-simplejson.html
share/doc/py-simplejson/pudge.css
share/doc/py-simplejson/rst.css
share/doc/py-simplejson/simplejson/
share/doc/py-simplejson/simplejson/__init__.py.html
share/doc/py-simplejson/simplejson/decoder.py.html
share/doc/py-simplejson/simplejson/encoder.py.html
share/doc/py-simplejson/simplejson/jsonfilter.py.html
share/doc/py-simplejson/simplejson/scanner.py.html