Accepting request 991603 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/991603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glances?expand=0&rev=20
This commit is contained in:
Richard Brown 2022-07-29 14:47:22 +00:00 committed by Git OBS Bridge
commit eefd8f8733
5 changed files with 60 additions and 19 deletions

View File

@ -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)

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Thu Jul 28 18:12:36 UTC 2022 - Michael Ströder <michael@stroeder.com>
- 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 <michael@stroeder.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4170e6b1959570d0ddaff7239d16e71a28789740643c7c7b1885c73bbc1e7f6
size 6913167

3
v3.2.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8eee819667b39e20f8ba3881dbe5c148146baf2da880a78e5ed184a8f790abd0
size 6950597