pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-Glances



Module Name:    pkgsrc
Committed By:   fox
Date:           Sun Dec  5 11:46:40 UTC 2021

Modified Files:
        pkgsrc/sysutils/py-Glances: Makefile distinfo
Added Files:
        pkgsrc/sysutils/py-Glances/patches:
            patch-glances_plugins_glances__cpu.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/py-Glances/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/py-Glances/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-Glances/Makefile
diff -u pkgsrc/sysutils/py-Glances/Makefile:1.13 pkgsrc/sysutils/py-Glances/Makefile:1.14
--- pkgsrc/sysutils/py-Glances/Makefile:1.13    Sat Aug 21 21:45:52 2021
+++ pkgsrc/sysutils/py-Glances/Makefile Sun Dec  5 11:46:40 2021
@@ -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]*:.
 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
 

Index: pkgsrc/sysutils/py-Glances/distinfo
diff -u pkgsrc/sysutils/py-Glances/distinfo:1.15 pkgsrc/sysutils/py-Glances/distinfo:1.16
--- pkgsrc/sysutils/py-Glances/distinfo:1.15    Tue Oct 26 11:20:02 2021
+++ pkgsrc/sysutils/py-Glances/distinfo Sun Dec  5 11:46:40 2021
@@ -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

Added files:

Index: pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py
diff -u /dev/null pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py:1.1
--- /dev/null   Sun Dec  5 11:46:41 2021
+++ pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_glances__cpu.py    Sun Dec  5 11:46:40 2021
@@ -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