# -*- 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 nicolargo glances 4.1.2.1 v github.tarball_from archive revision 1 categories sysutils license GPL-3 maintainers {hotmail.com:amtor @RobK88} \ openmaintainer supported_archs noarch description Glances is a CLI curses based monitoring tool for GNU/Linux and BSD OS. long_description Glances is a cross-platform monitoring tool which aims to present a large \ amount of monitoring information through a curses or Web based interface. \ The information dynamically adapts depending on the size of the user interface. platforms {darwin any} checksums rmd160 366f61e9f431445981b652e5a384a674013b905e \ sha256 879e0cc53d0765d6b23f2572ef9e36c58d7ca468a66b0f344f1dedc0a430283a \ size 6579592 python.default_version \ 312 depends_lib-append port:py${python.version}-packaging \ port:py${python.version}-psutil \ port:py${python.version}-future \ port:py${python.version}-setuptools if {${os.platform} ne "darwin" || ${os.major} > 11} { depends_lib-append \ port:py${python.version}-orjson \ port:py${python.version}-pydantic } else { # Until the issue is fixed by upstream. # https://github.com/nicolargo/glances/issues/2930 patchfiles-append \ 0001-Unrustify-glances.patch depends_run-append \ port:py${python.version}-ujson } depends_run-append port:py${python.version}-defusedxml post-patch { reinplace "s|/usr/local|${prefix}|" glances/config.py } variant html_export description {Adds HTML export option} { depends_lib-append port:py${python.version}-jinja2 }