diff options
author | fox <fox@pkgsrc.org> | 2021-12-05 11:46:40 +0000 |
---|---|---|
committer | fox <fox@pkgsrc.org> | 2021-12-05 11:46:40 +0000 |
commit | afafec6d9308d8dbd6a825e8f21807ac374b2afd (patch) | |
tree | 37dc2b3f20b0e3e64e5844c9bda5fe0c72cfdc0e | |
parent | 2e0fedf9c9ff2d1c2801ed79b88f5f433a95f8ca (diff) | |
download | pkgsrc-afafec6d9308d8dbd6a825e8f21807ac374b2afd.tar.gz |
sysutils/py-Glances: Update to 3.2.4.2
Changes since 3.2.3.1:
===============
Version 3.2.4.1
===============
Bugs corrected:
* Missing packaging dependency when using pip install #1955
===============
Version 3.2.4
===============
Bugs corrected:
* Failure to start on Apple M1 Max #1939
* Influxdb2 via SSL #1934
* Update WebUI (security patch). Thanks to @notFloran.
* Swith from black <> white theme with the '9' hotkey - Related to issue #976
* Fix: Docker plugin - Invalid IO stats with Arch Linux #1945
* Bug Fix: Docker plugin - Network stats not being displayed #1944
* Fix Grafana CPU temperature panel #1954
* is_disabled name fix #1949
* Fix tipo in documentation #1932
* distutils is deprecated in Python 3.10 #1923
* Separate battery percentages #1920
* Update docs and correct make docs-server target in Makefile
Enhancement requests:
* Improve --issue by displaying the second update iteration and not the first one. More relevant
* Improve --issue option with Python version and paths
* Correct an issue on idle display
* Refactor Mem + MemSwap Curse
* Refactor CPU Curses code
Contributors for this version:
* Nicolargo
* RazCrimson
* Floran Brutel
* H4ckerxx44
* Mohamad Mansour
* Néfix Estrada
* Zameer Manji
-rw-r--r-- | sysutils/py-Glances/Makefile | 5 | ||||
-rw-r--r-- | sysutils/py-Glances/distinfo | 9 | ||||
-rw-r--r-- | sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py | 23 |
3 files changed, 31 insertions, 6 deletions
diff --git a/sysutils/py-Glances/Makefile b/sysutils/py-Glances/Makefile index ec0c53d9df4..2438b19383d 100644 --- a/sysutils/py-Glances/Makefile +++ b/sysutils/py-Glances/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2021/08/21 21:45:52 fox Exp $ +# $NetBSD: Makefile,v 1.14 2021/12/05 11:46:40 fox Exp $ -DISTNAME= Glances-3.2.3.1 +DISTNAME= Glances-3.2.4.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= sysutils python MASTER_SITES= ${MASTER_SITE_PYPI:=G/Glances/} @@ -15,6 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses DEPENDS+= ${PYPKGPREFIX}-cursespanel-[0-9]*:../../devel/py-cursespanel DEPENDS+= ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml +DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging USE_LANGUAGES= # none diff --git a/sysutils/py-Glances/distinfo b/sysutils/py-Glances/distinfo index 9d46a8c0e0c..60cea8da4ee 100644 --- a/sysutils/py-Glances/distinfo +++ b/sysutils/py-Glances/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.15 2021/10/26 11:20:02 nia Exp $ +$NetBSD: distinfo,v 1.16 2021/12/05 11:46:40 fox Exp $ -BLAKE2s (Glances-3.2.3.1.tar.gz) = 393ab62d56195e4c7c6fa2136caa716f21e4313f704ba84679b44b7de23d1ccb -SHA512 (Glances-3.2.3.1.tar.gz) = 66325108a6957ff8b9455823e445ebc9fa109d04661d4046543125d57f9cff4957887469788c0477b9b965b9b2c6972a7b4297dc4092d952e29fcac719683b7a -Size (Glances-3.2.3.1.tar.gz) = 6855145 bytes +BLAKE2s (Glances-3.2.4.2.tar.gz) = bfa0483181a2baf293df7dcdf81230f55d4fc88aec1e1de0563c3092425de2e7 +SHA512 (Glances-3.2.4.2.tar.gz) = 17502d0bfdc1fc67e3c8f909e229b84fdfd7aa4a971c2c925a8b59f933b29406bfcde6600b5f400506281d2a480f9488f74d6d1b3bd6f20486d7a202819f09b3 +Size (Glances-3.2.4.2.tar.gz) = 6893198 bytes +SHA1 (patch-glances_plugins_glances__cpu.py) = 0692c14bd8ac79a7a6a4ff7dfe1a6dfc61c8a8c5 SHA1 (patch-glances_plugins_glances__quicklook.py) = 349a469bd11ad5aaafb264d2689b52d7404b4d62 diff --git a/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py b/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py new file mode 100644 index 00000000000..b1725f2859f --- /dev/null +++ b/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py @@ -0,0 +1,23 @@ +$NetBSD: patch-glances_plugins_glances__cpu.py,v 1.1 2021/12/05 11:46:40 fox Exp $ + +Disable system call counts in BSD. +--- glances/plugins/glances_cpu.py.orig 2021-11-20 09:22:55.000000000 +0000 ++++ glances/plugins/glances_cpu.py +@@ -23,7 +23,7 @@ from glances.logger import logger + from glances.timer import getTimeSinceLastUpdate + from glances.compat import iterkeys + from glances.cpu_percent import cpu_percent +-from glances.globals import LINUX ++from glances.globals import LINUX, BSD + from glances.plugins.glances_core import Plugin as CorePlugin + from glances.plugins.glances_plugin import GlancesPlugin + +@@ -347,7 +347,7 @@ class Plugin(GlancesPlugin): + # Steal CPU usage + ret.extend(self.curse_add_stat('steal', width=15, header=' ')) + # syscalls: number of system calls since boot. Always set to 0 on Linux. (do not display) +- if not LINUX: ++ if not LINUX and not BSD: + ret.extend(self.curse_add_stat('syscalls', width=15, header=' ')) + + # Return the message with decoration |