1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

py-demjson provides classes and functions for encoding or decoding

data represented in the language-neutral JSON format (which is often
used as a simpler substitute for XML in Ajax web applications). This
implementation tries to be as compliant to the JSON specification (RFC
4627) as possible, while still providing many optional extensions to
allow less restrictive JavaScript syntax. It includes complete Unicode
support, including UTF-32, BOM, and surrogate pair processing. It can
also support JavaScript's NaN and Infinity numeric types as well as
it's 'undefined' type. It also includes a lint-like JSON syntax
validator which tests JSON text for strict compliance to the standard.

WWW:	http://deron.meranda.us/python/demjson/

PR:		ports/129711
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2008-12-22 21:19:26 +00:00
parent 1315d3fc22
commit ef59d737d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224596
5 changed files with 40 additions and 0 deletions

View File

@ -2163,6 +2163,7 @@
SUBDIR += py-dbus
SUBDIR += py-decorator
SUBDIR += py-decoratortools
SUBDIR += py-demjson
SUBDIR += py-dialog
SUBDIR += py-distorm
SUBDIR += py-durus

21
devel/py-demjson/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: py-demjson
# Date created: 2008-12-17
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= demjson
PORTVERSION= 1.4
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
http://deron.meranda.us/python/demjson/dist/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wenheping@gmail.com
COMMENT= Encoder, Decoder, and Lint/Validator for JSON
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (demjson-1.4.tar.gz) = 6f6c88bfe2443390230109c709243fcd
SHA256 (demjson-1.4.tar.gz) = e5858dc54a80290cecbc1d1514c6ce50dca44fbd15ccc195c4a8b6969b45a41f
SIZE (demjson-1.4.tar.gz) = 62439

View File

@ -0,0 +1,12 @@
py-demjson provides classes and functions for encoding or decoding
data represented in the language-neutral JSON format (which is often
used as a simpler substitute for XML in Ajax web applications). This
implementation tries to be as compliant to the JSON specification (RFC
4627) as possible, while still providing many optional extensions to
allow less restrictive JavaScript syntax. It includes complete Unicode
support, including UTF-32, BOM, and surrogate pair processing. It can
also support JavaScript's NaN and Infinity numeric types as well as
it's 'undefined' type. It also includes a lint-like JSON syntax
validator which tests JSON text for strict compliance to the standard.
WWW: http://deron.meranda.us/python/demjson/

View File

@ -0,0 +1,3 @@
%%PYTHON_SITELIBDIR%%/demjson.py
%%PYTHON_SITELIBDIR%%/demjson.pyo
%%PYTHON_SITELIBDIR%%/demjson.pyc