glances: update to 3.1.7.

This commit is contained in:
Piraty 2021-05-31 12:49:33 +02:00
parent 2055a697d8
commit 912dcc79bd
2 changed files with 20 additions and 2 deletions

View file

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

View file

@ -1,6 +1,6 @@
# Template file for 'glances'
pkgname=glances
version=3.1.6.2
version=3.1.7
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -11,7 +11,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/nicolargo/glances"
distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz"
checksum=1eddc35a887159096eb4ca3e09dd144f5e60f4879b1e662478dbc18b39d77817
checksum=5839a110af35af35b7a1d30c15e59c59359480c2eaec852d30480c96b8cf8d76
post_install() {
vsconf conf/glances.conf