# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-raven
version             6.10.0
revision            0

categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

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

homepage            https://github.com/getsentry/raven-python
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  29eea73d7de786ae721758b75845c5798a268792 \
                    sha256  3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54 \
                    size    288902

if {${name} ne ${subport}} {
    # raven depends on pkg_resources from setuptools
    depends_lib-append  port:py${python.version}-setuptools

    if {${python.version} < 32} {
        depends_lib-append  port:py${python.version}-contextlib2
    }

    livecheck.type      none
}
