# -*- 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
set real_name       Pympler
version             0.6
revision            0
categories-append   devel
license             Apache-2 BSD MIT
maintainers         nomaintainer

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.

platforms           darwin
supported_archs     noarch

homepage            https://github.com/pympler/pympler
master_sites        pypi:P/${real_name}/
distname            ${real_name}-${version}
checksums           rmd160  dd5394d53b662431a5027d745ce345182ed3add5 \
                    sha256  c262ceca4dac67b8b523956833c52443420eabc3321a07185990b358b8ba13a7 \
                    size    174276

python.versions     27 34 35 36 37

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
}