# -*- 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-prometheus_client
version             0.7.0
revision            0
categories-append   devel
platforms           darwin
license             Apache-2
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Prometheus instrumentation library for Python applications
long_description    ${description}

homepage            https://github.com/prometheus/client_python
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  d62eac473e8d6456643cd7f5c305f9ed43683c11 \
                    sha256  ee0c90350595e4a9f36591f291e6f9933246ea67d7cd7d1d6139a9781b14eaae \
                    size    38076

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

    livecheck.type      none
}