# -*- 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             1.1
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
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

distname            pympler-${version}

checksums           rmd160  6aca348ee411ed3d8a773b1cb3093b2365aaec9b \
                    sha256  1eaa867cb8992c218430f1708fdaccda53df064144d1c5656b1e6f1ee6000424 \
                    size    179954

python.versions     39 310 311 312 313

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}
    }
}
