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 Nov 30 15:02:30 UTC 2025
Modified Files:
pkgsrc/sysutils/py-Glances: Makefile PLIST distinfo
Added Files:
pkgsrc/sysutils/py-Glances/patches:
patch-glances_plugins_diskio_____init____.py
Log Message:
sysutils/py-Glances: Update to 4.4.1
Changes since 4.4.1:
=============
Version 4.4.1
=============
Bug corrected:
* Restful API issue after a while (stats are no more updated) #3333
=============
Version 4.4.0
=============
Breaking changes:
* A new Python API is now available to use Glances as a Python lib in your
hown development #3237
* In the process list, the long command line is now truncated by default. Use
the arrow keys to show the full command line. SHIFT + arrow keys are used to
switch between column sorts (TUI).
* Prometheus export format is now more user friendly (see detail in #3283)
Enhancements:
* Make a Glances API in order to use Glances as a Python lib #3237
* Add a new --fetch (neofetch like) option to display a snapshot of the
current system status #3281
* Show used port in container section #2054
* Show long command line with arrow key #1553
* Sensors plugin refresh by default every 10 seconds
* Do not call update if a call is done to a specific plugin through the API
#3033
* [UI] Process virtual memory display can be disable by configuration #3299
* Choose between used or available in the mem plugin #3288
* [Experimental] Add export to DuckDB database #3205
* Add Disk I/O Latency stats #1070
* Filter fields to export #3258
* Remove .keys() from loops over dicts #3253
* Remove iterator helpers #3252
Bug corrected:
* [MACOS] Glances not showing Processes on MacOS #3100
* Last dev build broke Homepage API calls ? only 1 widget still working #3322
* Cloud plugin always generate communication with 169.254.169.254, even if the
plugin is disabled #3316
* API response delay (3+ minutes) when VMs are running #3317
* [WINDOWS] Glances do not display CPU stat correctly #3155
* Glances hangs if network device (NFS) is no available #3290
* Fix prometheus export format #3283
* Issue #3279 zfs cache and memory math issues #3289
* [MACOS] Glances crashes when I try to filter #3266
* Glances hang when killing process with muliple CTRL-C #3264
* Issues after disabling system and processcount plugins #3248
* Headers missing from predefined fields in TUI browser machine list #3250
* Add another check for the famous Netifaces issue - Related to #3219
* Key error 'type' in server_list_static.py (load_server_list) #3247
Continious integration and documentation:
* Glances now use uv for the dev environment #3025
* Glances is compatible with Python 3.14 #3319
* Glances provides requirements files with specific versions for each release
* Requirements files are now generated dynamically with the make requirements
or requirements-upgrade target
* Add duplicate line check in pre-commit (strange behavor with some VScode
extension)
* Solve issue with multiprocessing exception with Snap package
* Add a test script for identify CPU consumption of sensor plugin
* Refactor port to take into account netifaces2
* Correct issue with Chrome driver in WebUI unit test
* Upgrade export test with InfluxDB 1.12
* Fix typo of --export-process-filter help message #3314
* In the outdated feature, catch error message if Pypi server not reachable
* Add unit test for auto_unit
* Label error in docs #3286
* Put WebUI conf generator in a dedicated script
* Refactor the Makefile to generate WebUI config file for all webui targets
* Update sensors documentation #3275
* Update docker compose env quote #3273
* Update docker-compose.yml #3249
* Update API doc generation
* Update README with nice icons #3236
* Add documentation for WebUI test
Thanks to all contributors and bug reporters !
Special thanks to:
- Adi
- Bennett Kanuka
- Tim Potter
- Ariel Otilibili
- Boris Okassa
- Lawrence
- Shohei YOSHIDA
- jmwallach
- korn3r
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/sysutils/py-Glances/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/py-Glances/PLIST
cvs rdiff -u -r1.36 -r1.37 pkgsrc/sysutils/py-Glances/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_diskio_____init____.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.43 pkgsrc/sysutils/py-Glances/Makefile:1.44
--- pkgsrc/sysutils/py-Glances/Makefile:1.43 Fri Aug 1 06:50:05 2025
+++ pkgsrc/sysutils/py-Glances/Makefile Sun Nov 30 15:02:29 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2025/08/01 06:50:05 fox Exp $
+# $NetBSD: Makefile,v 1.44 2025/11/30 15:02:29 fox Exp $
-DISTNAME= glances-4.3.3
+DISTNAME= glances-4.4.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/g/G/}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/glances/}
@@ -14,6 +14,7 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools
DEPENDS+= ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-psutil>=5.6.7:../../sysutils/py-psutil
+DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.1.6:../../textproc/py-jinja2
# optional
DEPENDS+= ${PYPKGPREFIX}-orjson>=0:../../textproc/py-orjson
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
Index: pkgsrc/sysutils/py-Glances/PLIST
diff -u pkgsrc/sysutils/py-Glances/PLIST:1.17 pkgsrc/sysutils/py-Glances/PLIST:1.18
--- pkgsrc/sysutils/py-Glances/PLIST:1.17 Sun Jul 27 23:47:19 2025
+++ pkgsrc/sysutils/py-Glances/PLIST Sun Nov 30 15:02:29 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2025/07/27 23:47:19 fox Exp $
+@comment $NetBSD: PLIST,v 1.18 2025/11/30 15:02:29 fox Exp $
bin/glances-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -37,6 +37,9 @@ ${PYSITELIB}/glances/amps/systemv/__init
${PYSITELIB}/glances/amps_list.py
${PYSITELIB}/glances/amps_list.pyc
${PYSITELIB}/glances/amps_list.pyo
+${PYSITELIB}/glances/api.py
+${PYSITELIB}/glances/api.pyc
+${PYSITELIB}/glances/api.pyo
${PYSITELIB}/glances/attribute.py
${PYSITELIB}/glances/attribute.pyc
${PYSITELIB}/glances/attribute.pyo
@@ -73,6 +76,9 @@ ${PYSITELIB}/glances/exports/glances_cou
${PYSITELIB}/glances/exports/glances_csv/__init__.py
${PYSITELIB}/glances/exports/glances_csv/__init__.pyc
${PYSITELIB}/glances/exports/glances_csv/__init__.pyo
+${PYSITELIB}/glances/exports/glances_duckdb/__init__.py
+${PYSITELIB}/glances/exports/glances_duckdb/__init__.pyc
+${PYSITELIB}/glances/exports/glances_duckdb/__init__.pyo
${PYSITELIB}/glances/exports/glances_elasticsearch/__init__.py
${PYSITELIB}/glances/exports/glances_elasticsearch/__init__.pyc
${PYSITELIB}/glances/exports/glances_elasticsearch/__init__.pyo
@@ -172,12 +178,18 @@ ${PYSITELIB}/glances/outputs/glances_spa
${PYSITELIB}/glances/outputs/glances_stdout.py
${PYSITELIB}/glances/outputs/glances_stdout.pyc
${PYSITELIB}/glances/outputs/glances_stdout.pyo
-${PYSITELIB}/glances/outputs/glances_stdout_apidoc.py
-${PYSITELIB}/glances/outputs/glances_stdout_apidoc.pyc
-${PYSITELIB}/glances/outputs/glances_stdout_apidoc.pyo
+${PYSITELIB}/glances/outputs/glances_stdout_api_doc.py
+${PYSITELIB}/glances/outputs/glances_stdout_api_doc.pyc
+${PYSITELIB}/glances/outputs/glances_stdout_api_doc.pyo
+${PYSITELIB}/glances/outputs/glances_stdout_api_restful_doc.py
+${PYSITELIB}/glances/outputs/glances_stdout_api_restful_doc.pyc
+${PYSITELIB}/glances/outputs/glances_stdout_api_restful_doc.pyo
${PYSITELIB}/glances/outputs/glances_stdout_csv.py
${PYSITELIB}/glances/outputs/glances_stdout_csv.pyc
${PYSITELIB}/glances/outputs/glances_stdout_csv.pyo
+${PYSITELIB}/glances/outputs/glances_stdout_fetch.py
+${PYSITELIB}/glances/outputs/glances_stdout_fetch.pyc
+${PYSITELIB}/glances/outputs/glances_stdout_fetch.pyo
${PYSITELIB}/glances/outputs/glances_stdout_issue.py
${PYSITELIB}/glances/outputs/glances_stdout_issue.pyc
${PYSITELIB}/glances/outputs/glances_stdout_issue.pyo
@@ -236,6 +248,9 @@ ${PYSITELIB}/glances/plugins/folders/__i
${PYSITELIB}/glances/plugins/fs/__init__.py
${PYSITELIB}/glances/plugins/fs/__init__.pyc
${PYSITELIB}/glances/plugins/fs/__init__.pyo
+${PYSITELIB}/glances/plugins/fs/zfs.py
+${PYSITELIB}/glances/plugins/fs/zfs.pyc
+${PYSITELIB}/glances/plugins/fs/zfs.pyo
${PYSITELIB}/glances/plugins/gpu/__init__.py
${PYSITELIB}/glances/plugins/gpu/__init__.pyc
${PYSITELIB}/glances/plugins/gpu/__init__.pyo
@@ -278,6 +293,9 @@ ${PYSITELIB}/glances/plugins/percpu/__in
${PYSITELIB}/glances/plugins/plugin/__init__.py
${PYSITELIB}/glances/plugins/plugin/__init__.pyc
${PYSITELIB}/glances/plugins/plugin/__init__.pyo
+${PYSITELIB}/glances/plugins/plugin/dag.py
+${PYSITELIB}/glances/plugins/plugin/dag.pyc
+${PYSITELIB}/glances/plugins/plugin/dag.pyo
${PYSITELIB}/glances/plugins/plugin/model.py
${PYSITELIB}/glances/plugins/plugin/model.pyc
${PYSITELIB}/glances/plugins/plugin/model.pyo
Index: pkgsrc/sysutils/py-Glances/distinfo
diff -u pkgsrc/sysutils/py-Glances/distinfo:1.36 pkgsrc/sysutils/py-Glances/distinfo:1.37
--- pkgsrc/sysutils/py-Glances/distinfo:1.36 Fri Aug 1 06:50:05 2025
+++ pkgsrc/sysutils/py-Glances/distinfo Sun Nov 30 15:02:29 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.36 2025/08/01 06:50:05 fox Exp $
+$NetBSD: distinfo,v 1.37 2025/11/30 15:02:29 fox Exp $
-BLAKE2s (glances-4.3.3.tar.gz) = 44d751e7faaf75e693a3fb3e2504e71262faa6e22a14d5e299267c34b7c942b5
-SHA512 (glances-4.3.3.tar.gz) = 9d02e1325dffd6942c74dfb02b2c1ee3dee3734b961cc79311833f8b9e3e77724eccf7eaebb9b0c04f12ab3a75bb1ee425cdd1a70157b82d398624f7cf0d0340
-Size (glances-4.3.3.tar.gz) = 6955936 bytes
+BLAKE2s (glances-4.4.1.tar.gz) = b88e39c8d86a0380a38324cc6bff25f0f9c730b9610b9917f05cc212f5b636a4
+SHA512 (glances-4.4.1.tar.gz) = 057fe7ae935a4836333af231d5752bb1f09deb7cd2d08496e0a7f4ab900d975c8311eaf36d1af96af5c475e1201f2fdaf8aded01af9f91bf00b3d11f8724ff74
+Size (glances-4.4.1.tar.gz) = 7059387 bytes
+SHA1 (patch-glances_plugins_diskio_____init____.py) = 1656f96b41b9fce10a3f0dca9d39012f0b51200c
Added files:
Index: pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_diskio_____init____.py
diff -u /dev/null pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_diskio_____init____.py:1.1
--- /dev/null Sun Nov 30 15:02:30 2025
+++ pkgsrc/sysutils/py-Glances/patches/patch-glances_plugins_diskio_____init____.py Sun Nov 30 15:02:29 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-glances_plugins_diskio_____init____.py,v 1.1 2025/11/30 15:02:29 fox Exp $
+
+For now stub these values, so that it does not crash in NetBSD.
+
+--- glances/plugins/diskio/__init__.py.orig 2025-11-30 14:56:51.001077556 +0000
++++ glances/plugins/diskio/__init__.py
+@@ -168,6 +168,10 @@ class DiskioPlugin(GlancesPluginModel):
+ # Add disk name
+ stat['disk_name'] = disk_name
+
++ # For NetBSD stub the read / write time values.
++ stat['read_time'] = 0
++ stat['write_time'] = 0
++
+ # Add alias if exist (define in the configuration file)
+ if self.has_alias(disk_name) is not None:
+ stat['alias'] = self.has_alias(disk_name)
Home |
Main Index |
Thread Index |
Old Index