# -*- 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           github  1.0
PortGroup           python  1.0

github.setup        nschloe tiptop 0.2.5 v
github.tarball_from archive
revision            0

description         \
    Command-line system monitoring

long_description    \
    tiptop is a command-line system monitoring tool in the spirit of top. It \
    displays various interesting system stats, graphs it, and works on Linux \
    and macOS.

supported_archs     noarch
platforms           {darwin any}
license             MIT
categories-prepend  sysutils
maintainers         {gmail.com:herby.gillot @herbygillot} openmaintainer

checksums           rmd160  180cd84c2b31e0f5afd4755961ce84573b705b1d \
                    sha256  5392945518abecd41d904af89e2fa7ea8fedd2f008996d541958f1ed9049bb94 \
                    size    17618

python.default_version  310
python.pep517           yes
python.pep517_backend   flit

depends_run-append  port:py${python.version}-cpuinfo \
                    port:py${python.version}-distro \
                    port:py${python.version}-psutil \
                    port:py${python.version}-rich \
                    port:py${python.version}-textual

depends_test-append port:py${python.version}-pytest

test.run            yes
test.cmd            pytest-${python.branch}
test.target
test.env-append     PYTHONPATH=${worksrcpath}/build/lib
