# $Id: Portfile 59841 2009-10-24 04:21:47Z blair@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-anyjson
version             0.2.2
categories          python www
platforms           darwin
maintainers         blair
homepage            http://bitbucket.org/runeh/anyjson/
description         Wrap the best available JSON implementation in a common API
long_description    Anyjson wraps the best available JSON implementation \
                    in a common interface.  Anyjson loads whichever is the \
                    fastest JSON module installed and provides a uniform API \
                    regardless of which JSON implementation is used.

master_sites        http://pypi.python.org/packages/source/a/anyjson
distname            anyjson-${version}
checksums           md5 626bc3fa2531762b772100b23f4a0925 \
                    sha1 9e0adb75ac2d316c7da4755ef078b4c78fe7abf5 \
                    rmd160 7826be0e8133daf182cfe1c039b879612ce67f29

# Depend upon cjson so that the best JSON module can be used.
depends_lib-append  port:py26-cjson

livecheck.type      regex
livecheck.url       http://pypi.python.org/pypi/anyjson
livecheck.regex     {anyjson ([0-9]+\.[0-9]+(?:\.[0-9]+)?)}
