pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-Glances sysutils/py-Glances: Update to 3.2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67881182243b
branches:  trunk
changeset: 770613:67881182243b
user:      fox <fox%pkgsrc.org@localhost>
date:      Sun Dec 05 11:46:40 2021 +0000

description:
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

diffstat:

 sysutils/py-Glances/Makefile                                      |   5 +-
 sysutils/py-Glances/distinfo                                      |   9 ++-
 sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py |  23 ++++++++++
 3 files changed, 31 insertions(+), 6 deletions(-)

diffs (62 lines):

diff -r 1e6e32419674 -r 67881182243b sysutils/py-Glances/Makefile
--- a/sysutils/py-Glances/Makefile      Sun Dec 05 08:06:47 2021 +0000
+++ b/sysutils/py-Glances/Makefile      Sun Dec 05 11:46:40 2021 +0000
@@ -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}-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 -r 1e6e32419674 -r 67881182243b sysutils/py-Glances/distinfo
--- a/sysutils/py-Glances/distinfo      Sun Dec 05 08:06:47 2021 +0000
+++ b/sysutils/py-Glances/distinfo      Sun Dec 05 11:46:40 2021 +0000
@@ -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 -r 1e6e32419674 -r 67881182243b sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py Sun Dec 05 11:46:40 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index