# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem        1.0
PortGroup         python25 1.0

name              py25-demjson
version           1.4
categories        python
platforms         darwin
maintainers       alakazam

description       encoder, decoder, and validator for JSON compliant with RFC 4627
long_description  encoder, decoder, and lint/validator for JSON (JavaScript \
                  Object Notation) compliant with RFC 4627. This module \
                  provides classes and functions for encoding or decoding data \
                  represented in the language-neutral JSON format. 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 its 'undefined' type. It also includes a lint-like \
                  JSON syntax validator which tests JSON text for strict \
                  compliance to the standard.

homepage          http://deron.meranda.us/python/demjson/
master_sites      http://pypi.python.org/packages/source/d/demjson/
distname          demjson-${version}

depends_lib-append port:py25-distribute

checksums         md5     6f6c88bfe2443390230109c709243fcd \
                  sha1    046946f7c98006e890b6a6896421107e6b537077 \
                  rmd160  b2935d932cb6c344de3684353f0b7090e673439c

livecheck.type    regex
livecheck.url     http://pypi.python.org/pypi/demjson/
livecheck.regex   {demjson&nbsp;(\d+(?:\.\d+)*)}
