# -*- 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-statprof
version             0.1.2
license             LGPL-2.1
maintainers         nomaintainer
description         Statistical profiling for Python
long_description    This package provides a simple statistical profiler for Python.
platforms           {darwin any}
supported_archs     noarch
homepage            https://pypi.python.org/pypi/statprof

checksums           rmd160  f52c929dc5a9a942e3fc6c2281b823b59047c01d \
                    sha256  adb8654edd5183e91e1538ee9112314f8129a52796bfa32cfa34b2f0e73295b4

python.versions     27
python.link_binaries_suffix

if {${name} ne ${subport}} {
    depends_build-append        port:py${python.version}-setuptools
    livecheck.type              none
} else {
    livecheck.type              regex
    livecheck.regex             {statprof/(\d+(?:\.\d+)*)}
}
