From 09868a033cdea3758cc9c30cfeced61320b42426 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 13 Aug 2022 21:11:08 +0530 Subject: [PATCH] glances: update to 3.2.7. --- srcpkgs/glances/patches/no-check-update.patch | 22 ++++++++++++------- srcpkgs/glances/template | 7 +++--- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch index d7d3a149fc18..7b334f1551ff 100644 --- a/srcpkgs/glances/patches/no-check-update.patch +++ b/srcpkgs/glances/patches/no-check-update.patch @@ -1,6 +1,6 @@ --- a/glances/main.py +++ b/glances/main.py -@@ -109,6 +109,7 @@ +@@ -97,6 +97,7 @@ """Manage the command line arguments.""" # Read the command line arguments self.args = self.parse_args() @@ -8,11 +8,17 @@ 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') +@@ -514,13 +515,6 @@ + ) # 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') + 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='', diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template index f6576497929e..5bfb6a87b0d0 100644 --- a/srcpkgs/glances/template +++ b/srcpkgs/glances/template @@ -1,7 +1,7 @@ # Template file for 'glances' pkgname=glances -version=3.2.4.2 -revision=2 +version=3.2.7 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-future python3-psutil python3-defusedxml python3-packaging" @@ -10,8 +10,9 @@ short_desc="Cross-platform curses-based monitoring tool" maintainer="Alessio Sergi " license="LGPL-3.0-or-later" 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" -checksum=88ac8103d777b2a55cee9418a5940269c640c3ad964ec44de0e9bb80cdbead37 +checksum=8eee819667b39e20f8ba3881dbe5c148146baf2da880a78e5ed184a8f790abd0 post_install() { vsconf conf/glances.conf