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

checksums           rmd160  b2dc8fcaf70a235ea6f2e6fb2249a748b6ac8bbb \
                    sha256  f2cbe7df622117af890249f2dea884eb702108a12d729d264b7c5983a6e06e47 \
                    size    178371

python.versions     27 35 36 37 38 39

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
}
