Accepting request 1108745 from devel:languages:python

- Update to 3.4.0.3:
  * Influxdb2 export not working #2407
  * 3.4.0 crash on startupwith minimal deps #2401
  * Enhance process "extended stats" display (in Curses interface) #2225
  * Improve Glances start time by disabling Docker and Podman version getter
  * Customizable InfluxDB2 export interval #2348
  * Improve kill signal management #2194
  * Display a critical error message if Glances is ran with both webserver
    and rpcserver mode
  * Refactor the Cloud plugin, disable it by default in the default
    configuration file - Related to #2279
  * Correct clear-text logging of sensitive information (security alert #29)
  * Use of a broken or weak cryptographic hashing algorithm (SHA256) on
    password storage #2175
  * Correct issue (error message) concerning the Cloud plugin
  * InfluxDB2 export doesn't process folders correctly - missing key #2327
  * Index error when displaying programs on MacOS #2360
  * Dissociate 2 sensors with exactly the same names #2280
  * It is not possible to return API data for a particular mount
    point (FS plugin) #1162
- Drop patch remove-shebang.patch, no longer required.
- Switch to pyproject and autosetup macros.

OBS-URL: https://build.opensuse.org/request/show/1108745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glances?expand=0&rev=27
This commit is contained in:
Ana Guerrero 2023-09-04 20:53:03 +00:00 committed by Git OBS Bridge
commit 05fa481e8c
5 changed files with 37 additions and 21 deletions

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Sep 4 03:10:49 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.4.0.3:
* Influxdb2 export not working #2407
* 3.4.0 crash on startupwith minimal deps #2401
* Enhance process "extended stats" display (in Curses interface) #2225
* Improve Glances start time by disabling Docker and Podman version getter
* Customizable InfluxDB2 export interval #2348
* Improve kill signal management #2194
* Display a critical error message if Glances is ran with both webserver
and rpcserver mode
* Refactor the Cloud plugin, disable it by default in the default
configuration file - Related to #2279
* Correct clear-text logging of sensitive information (security alert #29)
* Use of a broken or weak cryptographic hashing algorithm (SHA256) on
password storage #2175
* Correct issue (error message) concerning the Cloud plugin
* InfluxDB2 export doesn't process folders correctly - missing key #2327
* Index error when displaying programs on MacOS #2360
* Dissociate 2 sensors with exactly the same names #2280
* It is not possible to return API data for a particular mount
point (FS plugin) #1162
- Drop patch remove-shebang.patch, no longer required.
- Switch to pyproject and autosetup macros.
-------------------------------------------------------------------
Thu Jul 6 11:11:15 UTC 2023 - ecsos <ecsos@openssuse.org>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-Glances
Version: 3.3.1
Version: 3.4.0.3
Release: 0
Summary: A cross-platform curses-based monitoring tool
License: LGPL-3.0-only
@ -27,22 +27,22 @@ Source: https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
Source2: glances.service
Source3: glances.firewalld
Patch0: adjust-data-files.patch
Patch1: remove-shebang.patch
Patch2: skip-online-tests.patch
Patch3: fix-tests.patch
Patch4: unitest-wait-for-server.patch
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module defusedxml}
BuildRequires: %{python_module future}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil >= 5.3.0}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module ujson}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-bottle
Requires: python-defusedxml
Requires: python-future
Requires: python-packaging
Requires: python-psutil >= 5.3.0
Requires: python-requests
Requires: python-ujson
@ -75,14 +75,13 @@ This packages contains the service file to start a glances server
from systemd and a firewalld file to open the default port.
%prep
%setup -q -n glances-%{version}
%autopatch -p1
%autosetup -p1 -n glances-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_mandir}/man1/glances.1
%python_clone -a %{buildroot}%{_bindir}/glances
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -125,7 +124,7 @@ export LANG=en_US.UTF-8
%python_alternative %{_bindir}/glances
%python_alternative %{_mandir}/man1/glances.1%{?ext_man}
%{python_sitelib}/glances
%{python_sitelib}/Glances-%{version}*-info
%{python_sitelib}/Glances-%{version}.dist-info
%exclude %{python_sitelib}/glances/outputs/static/.eslintrc.js
%exclude %{python_sitelib}/glances/outputs/static/.gitignore
%exclude %{python_sitelib}/glances/outputs/static/.prettierrc.js

View File

@ -1,9 +0,0 @@
Index: glances-3.3.1/glances/__main__.py
===================================================================
--- glances-3.3.1.orig/glances/__main__.py
+++ glances-3.3.1/glances/__main__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Glances - An eye on your system

View File

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

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

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