forked from pool/python-Glances
Accepting request 732883 from devel:languages:python
- Update to 3.1.2: * Make CSV export append instead of replace #1525 * HDDTEMP config IP and Port #1508 * Option in config to change character used to display percentage in Quicklook #1508 * Cannot restart glances with --export influxdb after update to 3.1.1 bug #1530 * ip plugin empty interface bug #1509 * Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 bug #1517 * Error with IP Plugin : object has no attribute bug #1528 * repair the problem that when running 'glances --stdout-csv amps' #1520 * Possible typo in glances_influxdb.py #1514 - update to version 3.1.1 Enhancements and new features: * Add authprovider for cassandra export (thanks to @EmilienMottet) #1395 * Curses's browser server list sorting added (thanks to @limfreee) #1396 * Performance issue with large folder #1491 * Can't connect to influxdb with https enabled #1497 Bugs corrected: * Fix Cassandra table name export #1402 * 500 Internal Server Error /api/3/network/interface_name #1401 * l keypress (hide alert log) not working after some time #1449 * IP plugin displays incorrect subnet mask #1417 Others: * Allow comma separated commands in AMP * See upstream changelog for more info - Added patch skip-online-tests.patch * self-explaining OBS-URL: https://build.opensuse.org/request/show/732883 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glances?expand=0&rev=3
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 73883c1..86f0be5 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -32,8 +32,6 @@ with open('README.rst', encoding='utf-8') as f:
|
||||
Index: glances-3.1.1/setup.py
|
||||
===================================================================
|
||||
--- glances-3.1.1.orig/setup.py
|
||||
+++ glances-3.1.1/setup.py
|
||||
@@ -32,8 +32,6 @@ with open('README.rst', encoding='utf-8'
|
||||
|
||||
def get_data_files():
|
||||
data_files = [
|
||||
- ('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS', 'README.rst',
|
||||
- ('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS.rst', 'README.rst',
|
||||
- 'CONTRIBUTING.md', 'conf/glances.conf']),
|
||||
('share/man/man1', ['docs/man/glances.1'])
|
||||
]
|
||||
|
||||
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 09:09:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.1.2:
|
||||
* Make CSV export append instead of replace #1525
|
||||
* HDDTEMP config IP and Port #1508
|
||||
* Option in config to change character used to display percentage in Quicklook #1508
|
||||
* Cannot restart glances with --export influxdb after update to 3.1.1 bug #1530
|
||||
* ip plugin empty interface bug #1509
|
||||
* Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 bug #1517
|
||||
* Error with IP Plugin : object has no attribute bug #1528
|
||||
* repair the problem that when running 'glances --stdout-csv amps' #1520
|
||||
* Possible typo in glances_influxdb.py #1514
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 11:49:15 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to version 3.1.1
|
||||
Enhancements and new features:
|
||||
* Add authprovider for cassandra export (thanks to @EmilienMottet) #1395
|
||||
* Curses's browser server list sorting added (thanks to @limfreee) #1396
|
||||
* Performance issue with large folder #1491
|
||||
* Can't connect to influxdb with https enabled #1497
|
||||
Bugs corrected:
|
||||
* Fix Cassandra table name export #1402
|
||||
* 500 Internal Server Error /api/3/network/interface_name #1401
|
||||
* l keypress (hide alert log) not working after some time #1449
|
||||
* IP plugin displays incorrect subnet mask #1417
|
||||
Others:
|
||||
* Allow comma separated commands in AMP
|
||||
* See upstream changelog for more info
|
||||
- Added patch skip-online-tests.patch
|
||||
* self-explaining
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 2 18:14:30 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Glances
|
||||
Version: 3.1.0
|
||||
Version: 3.1.2
|
||||
Release: 0
|
||||
Summary: A cross-platform curses-based monitoring tool
|
||||
License: LGPL-3.0-only
|
||||
@@ -27,22 +27,30 @@ URL: https://github.com/nicolargo/glances
|
||||
Source: https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
|
||||
Patch0: adjust-data-files.patch
|
||||
Patch1: remove-shebang.patch
|
||||
Patch2: skip-online-tests.patch
|
||||
BuildRequires: %{python_module bottle}
|
||||
BuildRequires: %{python_module curses}
|
||||
BuildRequires: %{python_module netifaces}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module psutil >= 5.3.0}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-future
|
||||
Requires: python-bottle
|
||||
Requires: python-curses
|
||||
Requires: python-psutil >= 5.3.0
|
||||
Requires: python-psutil >= 5.6.3
|
||||
Requires: python-requests
|
||||
Provides: python-glances = %{version}
|
||||
Obsoletes: python-glances
|
||||
Obsoletes: python-glances < %{version}
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python-future
|
||||
%endif
|
||||
%ifpython3
|
||||
Provides: glances
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,6 +66,7 @@ size of the user interface.
|
||||
%build
|
||||
%python_build
|
||||
|
||||
# tests are failing on upstream, they apparently don't mind
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec unitest.py
|
||||
@@ -70,7 +79,7 @@ export LANG=en_US.UTF-8
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc NEWS README.rst
|
||||
%doc NEWS.rst README.rst
|
||||
%python3_only %{_bindir}/glances
|
||||
%python3_only %{_mandir}/man1/glances.1.gz
|
||||
%{python_sitelib}/*
|
||||
|
||||
12
skip-online-tests.patch
Normal file
12
skip-online-tests.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: glances-3.1.1/unitest.py
|
||||
===================================================================
|
||||
--- glances-3.1.1.orig/unitest.py
|
||||
+++ glances-3.1.1/unitest.py
|
||||
@@ -191,6 +191,7 @@ class TestGlances(unittest.TestCase):
|
||||
self.assertTrue(type(stats_grab) is list, msg='Folders stats is not a list')
|
||||
print('INFO: Folders stats: %s' % stats_grab)
|
||||
|
||||
+ @unittest.skip("online")
|
||||
def test_012_ip(self):
|
||||
"""Check IP plugin."""
|
||||
print('INFO: [TEST_012] Check IP stats')
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56e67aee5960ecb575a7277e87b06d305ec87d2108f65860d13d9111d320bdf5
|
||||
size 6688798
|
||||
3
v3.1.2.tar.gz
Normal file
3
v3.1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:adda21ceaff7a04b18b0f71f2dbfcc1647bd0aa888d12f61f1e03f4f60216a12
|
||||
size 6740649
|
||||
Reference in New Issue
Block a user