# -*- 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-pympler
python.rootname     Pympler
version             0.8
revision            0

categories-append   devel
platforms           darwin
supported_archs     noarch
license             Apache-2 BSD MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         measure, monitor and analyze the memory behavior of Python objects
long_description    \
    Pympler is a development tool to measure, monitor and analyze the memory \
    behavior of Python objects in a running Python application. \
    By pympling a Python application, detailed insight in the size and the \
    lifetime of Python objects can be obtained. Undesirable or unexpected runtime \
    behavior like memory bloat and other "pymples" can easily be identified.

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

checksums           rmd160  5aa51a1af8befa8e5126cf9a9cbc1d6c4a8c4f35 \
                    sha256  f74cd2982c5cd92ded55561191945616f2bb904a0ae5cdacdb566c6696bdb922 \
                    size    175927

python.versions     27 35 36 37 38

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} NOTICE LICENSE \
            README.md ${destroot}${docdir}
    }

    livecheck.type  none
}