# $Id: Portfile 107419 2013-06-28 04:04:24Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-django-debug-toolbar
version             0.9.4
categories-append   www
license             BSD
platforms           darwin
supported_archs     noarch
maintainers         nomaintainer
homepage            https://github.com/django-debug-toolbar/django-debug-toolbar
description         Configurable debug information for the Django Framework.
long_description    A configurable set of panels for the Django Framework \
                    that display various debug information about the current \
                    request/response.

master_sites        https://pypi.python.org/packages/source/d/django-debug-toolbar/
distname            django-debug-toolbar-${version}
checksums           md5    85c1c70a31f0a3a646a603214d235e9f \
                    rmd160 ef7b0db00f1640787e6fefa611ae4e8643d5e7a3 \
                    sha256 d6bc217b672ddf0e729f76da2df1d4a50d45f1c934239851f7f7ae6a51201f4b

python.versions     26 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-setuptools
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       https://pypi.python.org/pypi/django-debug-toolbar
    livecheck.regex     "django-debug-toolbar (0\.\[0-9\]+\.\[0-9\]+)"
}
