glances: update to 3.2.7.

This commit is contained in:
icp 2022-08-13 21:11:08 +05:30 committed by classabbyamp
parent d106adfd1c
commit ca99b24f2f
2 changed files with 18 additions and 11 deletions

View file

@ -1,6 +1,6 @@
--- a/glances/main.py --- a/glances/main.py
+++ b/glances/main.py +++ b/glances/main.py
@@ -109,6 +109,7 @@ @@ -97,6 +97,7 @@
"""Manage the command line arguments.""" """Manage the command line arguments."""
# Read the command line arguments # Read the command line arguments
self.args = self.parse_args() self.args = self.parse_args()
@ -8,11 +8,17 @@
def init_args(self): def init_args(self):
"""Init all the command line arguments.""" """Init all the command line arguments."""
@@ -256,8 +257,6 @@ @@ -514,13 +515,6 @@
parser.add_argument('--theme-white', action='store_true', default=False, )
dest='theme_white', help='optimize display colors for white background')
# Globals options # Globals options
- parser.add_argument('--disable-check-update', action='store_true', default=False, parser.add_argument(
- dest='disable_check_update', help='disable online Glances version ckeck') - '--disable-check-update',
parser.add_argument('--strftime', dest='strftime_format', default='', - action='store_true',
help='strftime format string for displaying current date in standalone mode') - default=False,
- dest='disable_check_update',
- help='disable online Glances version ckeck',
- )
- parser.add_argument(
'--strftime',
dest='strftime_format',
default='',

View file

@ -1,7 +1,7 @@
# Template file for 'glances' # Template file for 'glances'
pkgname=glances pkgname=glances
version=3.2.4.2 version=3.2.7
revision=2 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-future python3-psutil python3-defusedxml python3-packaging" depends="python3-future python3-psutil python3-defusedxml python3-packaging"
@ -10,8 +10,9 @@ short_desc="Cross-platform curses-based monitoring tool"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
license="LGPL-3.0-or-later" license="LGPL-3.0-or-later"
homepage="https://github.com/nicolargo/glances" homepage="https://github.com/nicolargo/glances"
changelog="https://raw.githubusercontent.com/nicolargo/glances/develop/NEWS.rst"
distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz" distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz"
checksum=88ac8103d777b2a55cee9418a5940269c640c3ad964ec44de0e9bb80cdbead37 checksum=8eee819667b39e20f8ba3881dbe5c148146baf2da880a78e5ed184a8f790abd0
post_install() { post_install() {
vsconf conf/glances.conf vsconf conf/glances.conf