From 68419cbb40c13dae3215755a211f97fea5e18bb62bba4148862c10745a07f381 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 28 Jul 2022 20:38:11 +0000 Subject: [PATCH] Accepting request 991579 from home:stroeder:branches:devel:languages:python Update to version 3.2.7 OBS-URL: https://build.opensuse.org/request/show/991579 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glances?expand=0&rev=37 --- fix-tests.patch | 28 +++++++++++++-------------- python-Glances.changes | 43 ++++++++++++++++++++++++++++++++++++++++++ python-Glances.spec | 2 +- v3.2.5.tar.gz | 3 --- v3.2.7.tar.gz | 3 +++ 5 files changed, 60 insertions(+), 19 deletions(-) delete mode 100644 v3.2.5.tar.gz create mode 100644 v3.2.7.tar.gz diff --git a/fix-tests.patch b/fix-tests.patch index 248f626..b52e74a 100644 --- a/fix-tests.patch +++ b/fix-tests.patch @@ -1,8 +1,7 @@ -diff --git a/unitest-restful.py b/unitest-restful.py -index 7b77a2b..5f991bd 100755 ---- a/unitest-restful.py -+++ b/unitest-restful.py -@@ -22,6 +22,7 @@ +diff -ur glances-3.2.7.orig/unitest-restful.py glances-3.2.7/unitest-restful.py +--- glances-3.2.7.orig/unitest-restful.py 2022-07-28 18:10:35.000000000 +0200 ++++ glances-3.2.7/unitest-restful.py 2022-07-28 20:22:43.516291302 +0200 +@@ -12,6 +12,7 @@ import shlex import subprocess @@ -10,20 +9,19 @@ index 7b77a2b..5f991bd 100755 import time import numbers import unittest -@@ -64,7 +65,7 @@ class TestGlances(unittest.TestCase): +@@ -54,7 +55,7 @@ global pid print('INFO: [TEST_000] Start the Glances Web Server') -- cmdline = "python -m glances -w -p %s" % SERVER_PORT -+ cmdline = "%s -m glances -w -p %s" % (sys.executable, SERVER_PORT) +- cmdline = "python -m glances -B localhost -w -p %s" % SERVER_PORT ++ cmdline = "%s -m glances -B localhost -w -p %s" % (sys.executable, SERVER_PORT) print("Run the Glances Web Server on port %s" % SERVER_PORT) args = shlex.split(cmdline) pid = subprocess.Popen(args) -diff --git a/unitest-xmlrpc.py b/unitest-xmlrpc.py -index 7e52ec5..384fa46 100755 ---- a/unitest-xmlrpc.py -+++ b/unitest-xmlrpc.py -@@ -23,6 +23,7 @@ +diff -ur glances-3.2.7.orig/unitest-xmlrpc.py glances-3.2.7/unitest-xmlrpc.py +--- glances-3.2.7.orig/unitest-xmlrpc.py 2022-07-28 18:10:35.000000000 +0200 ++++ glances-3.2.7/unitest-xmlrpc.py 2022-07-28 20:22:49.160260716 +0200 +@@ -13,6 +13,7 @@ import json import shlex import subprocess @@ -31,11 +29,11 @@ index 7e52ec5..384fa46 100755 import time import unittest -@@ -53,7 +54,7 @@ class TestGlances(unittest.TestCase): +@@ -43,7 +44,7 @@ global pid print('INFO: [TEST_000] Start the Glances Web Server') -- cmdline = "python -m glances -s -p %s" % SERVER_PORT +- cmdline = "python -m glances -B localhost -s -p %s" % SERVER_PORT + cmdline = "%s -m glances -s -p %s" % (sys.executable, SERVER_PORT) print("Run the Glances Server on port %s" % SERVER_PORT) args = shlex.split(cmdline) diff --git a/python-Glances.changes b/python-Glances.changes index 4ec8ffc..ca74f3f 100644 --- a/python-Glances.changes +++ b/python-Glances.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Jul 28 18:12:36 UTC 2022 - Michael Ströder + +- Update to version 3.2.7 + * Version 3.2.7 + + Enhancements: + * Config to disable all plugins by default (or enable an exclusive list) #2089 + * Keybind(s) for modifying nice level #2081 + * [WEBUI] Reorganize help screen #2037 + * Add a Json stdout option #2060 + * Improve error message when export error occures + * Improve error message when MQTT error occures + * Change the way core are displayed + * Remove unused key in the process list + * Refactor top menu of the curse interface + * Improve Irix display for the load plugin + + Bug corrected: + * In the sensor plugin thresholds in the configuration file should overwrite system ones #2058 + * Drive names truncated in Web UI #2055 + * Correct issue with CPU label + + Documentation and CI: + * Improve makefile help #2078 + * Add quote to the update command line (already ok for the installation). Related to #2073 + * Make Glances (almost) compliant with REUSE #2042 + * Update README for Debian package users + * Update documentation for Docker + * Update docs for new shortcut + * Disable Pyright on the Git actions pipeline + * Refactor comments + * Except datutil import error + * Another dep issue solved in the Alpine Docker + issue in the outdated method + * Version 3.2.6 + + Enhancement requests: + * Create a Show option in the configuration file to only show some stats #2052 + * Use glances.conf file inside docker-compose folder for Docker images + * Optionally disable public ip #2030 + * Update public ip at intervals #2029 + + Bug corrected: + * Unitary tests should run loopback interface #2051 + * Add python-datutil dep for Focker plugin #2045 + * Add venv to list of .PHONY in Makefile #2043 + * Glances API Documentation displays non valid json #2036 + ------------------------------------------------------------------- Sun Apr 10 14:40:49 UTC 2022 - Michael Ströder diff --git a/python-Glances.spec b/python-Glances.spec index d3d124d..82746f6 100644 --- a/python-Glances.spec +++ b/python-Glances.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-Glances -Version: 3.2.5 +Version: 3.2.7 Release: 0 Summary: A cross-platform curses-based monitoring tool License: LGPL-3.0-only diff --git a/v3.2.5.tar.gz b/v3.2.5.tar.gz deleted file mode 100644 index 3044394..0000000 --- a/v3.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4170e6b1959570d0ddaff7239d16e71a28789740643c7c7b1885c73bbc1e7f6 -size 6913167 diff --git a/v3.2.7.tar.gz b/v3.2.7.tar.gz new file mode 100644 index 0000000..e62f2f3 --- /dev/null +++ b/v3.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8eee819667b39e20f8ba3881dbe5c148146baf2da880a78e5ed184a8f790abd0 +size 6950597