From d013710e98f60399675555adaaf446ad912f1620 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 16 May 2023 15:03:18 +0530 Subject: [PATCH] glances: update to 3.4.0. --- srcpkgs/glances/patches/no-check-update.patch | 9 +++++++-- srcpkgs/glances/template | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch index 1487ab0b3bdc..9de402a29bb3 100644 --- a/srcpkgs/glances/patches/no-check-update.patch +++ b/srcpkgs/glances/patches/no-check-update.patch @@ -4,7 +4,7 @@ Bug-Debian: https://bugs.debian.org/877127 --- a/glances/standalone.py +++ b/glances/standalone.py -@@ -103,9 +103,6 @@ +@@ -105,9 +105,6 @@ # Init screen self.screen = GlancesCursesStandalone(config=config, args=args) @@ -14,7 +14,7 @@ Bug-Debian: https://bugs.debian.org/877127 @property def quiet(self): return self._quiet -@@ -184,12 +181,3 @@ +@@ -186,17 +183,3 @@ # Exit from export modules self.stats.end() @@ -27,4 +27,9 @@ Bug-Debian: https://bugs.debian.org/877127 - ) - ) - print("You should consider upgrading using: pip install --upgrade glances") +- print("Disable this warning temporarily using: glances --disable-check-update") +- print( +- "To disable it permanently, refer config reference at " +- "https://glances.readthedocs.io/en/latest/config.html#syntax" +- ) diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template index ace5c3b674ad..41315e0acd55 100644 --- a/srcpkgs/glances/template +++ b/srcpkgs/glances/template @@ -1,6 +1,6 @@ # Template file for 'glances' pkgname=glances -version=3.3.1.1 +version=3.4.0 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" @@ -12,7 +12,7 @@ license="LGPL-3.0-or-later" homepage="https://nicolargo.github.io/glances/" changelog="https://raw.githubusercontent.com/nicolargo/glances/develop/NEWS.rst" distfiles="https://github.com/nicolargo/glances/archive/refs/tags/v${version}.tar.gz" -checksum=450c604ddfe05398ec88bd237648c7d851ad3c537b5f785eccafab4e9789c235 +checksum=387891560fc2cdb338d81fd60647bba90ae90e8853415fff1673cfd7d652aa5f post_install() { vsconf conf/glances.conf