mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
63 lines
2.3 KiB
Tcl
63 lines
2.3 KiB
Tcl
# -*- 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.4.1 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
categories sysutils
|
|
license LGPL-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 c419420d1e07c4344d0203fcff3c6a12fdb6ab04 \
|
|
sha256 17f80815c2427e81ac3cad132daae6b9abaf26e40c83426d76c7e2b7a87c08d2 \
|
|
size 7113292
|
|
|
|
python.default_version \
|
|
314
|
|
|
|
depends_lib-append port:py${python.version}-defusedxml \
|
|
port:py${python.version}-markupsafe \
|
|
port:py${python.version}-packaging \
|
|
port:py${python.version}-psutil \
|
|
port:py${python.version}-shtab \
|
|
port:py${python.version}-jinja2
|
|
|
|
if {${os.platform} ne "darwin" || ${os.major} > 16} {
|
|
depends_lib-append \
|
|
port:py${python.version}-orjson \
|
|
port:py${python.version}-pydantic
|
|
} else {
|
|
# https://github.com/nicolargo/glances/issues/2930
|
|
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
|
|
}
|
|
|
|
variant WebUI_Browser description {Adds WebUI Central Glances Browser option} {
|
|
depends_lib-append port:py${python.version}-fastapi \
|
|
port:py${python.version}-annotated-doc
|
|
|
|
depends_run-append port:py${python.version}-uvicorn
|
|
}
|