# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 120199 2014-05-19 10:45:06Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-raven
version             4.2.3
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 33 34

maintainers         stromnov openmaintainer

description         Raven is a client for Sentry
long_description    ${description}

homepage            http://github.com/getsentry/raven-python
master_sites        https://pypi.python.org/packages/source/r/raven/

distname            raven-${version}

checksums           rmd160  ed05be836540154b4e8facbdf26937cecbb12a0e \
                    sha256  c65f743aef76d922b765e1cf51e24b128bf834858c2c12f5a69a3c149c0ee77f

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools

    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     {raven-(\d+(?:\.\d+)*)\.[tz]}
}
