From a136c1e6fc413e73c4666424b1dee23b40e49aa7 Mon Sep 17 00:00:00 2001 From: Piraty Date: Mon, 31 May 2021 12:49:33 +0200 Subject: [PATCH] glances: update to 3.1.7. --- srcpkgs/glances/patches/no-check-update.patch | 13 +++++++++++++ srcpkgs/glances/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/glances/patches/no-check-update.patch diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch new file mode 100644 index 000000000000..0c0635535fbd --- /dev/null +++ b/srcpkgs/glances/patches/no-check-update.patch @@ -0,0 +1,13 @@ +disable update check + +--- glances/main.py ++++ glances/main.py +@@ -252,7 +252,7 @@ + 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, ++ parser.add_argument('--disable-check-update', action='store_true', default=True, + 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') diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template index 58fc1a562089..29bc7790e11d 100644 --- a/srcpkgs/glances/template +++ b/srcpkgs/glances/template @@ -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 " 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