diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-28 00:58:44 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-28 00:59:02 -0800 |
commit | 56f58577c71f59a7644bb36760e7b30d55578813 (patch) | |
tree | 19e3b855fee151c85d70a2a80f0ed2b123f90a43 /sys-process/glances/files | |
parent | virtual/wireguard: simplify flags (diff) | |
download | gentoo-56f58577c71f59a7644bb36760e7b30d55578813.tar.gz gentoo-56f58577c71f59a7644bb36760e7b30d55578813.tar.bz2 gentoo-56f58577c71f59a7644bb36760e7b30d55578813.zip |
sys-process/glances: rebvump 3.1.3, fix tests, disable update check
Disable nagging suggestion to upgrade using pip, patch imported from debian
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-process/glances/files')
-rw-r--r-- | sys-process/glances/files/disable-update-check.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-process/glances/files/disable-update-check.patch b/sys-process/glances/files/disable-update-check.patch new file mode 100644 index 000000000000..3706959c2fbb --- /dev/null +++ b/sys-process/glances/files/disable-update-check.patch @@ -0,0 +1,28 @@ +Description: Disable nagging suggestion to upgrade using pip +Author: Sebastien Badia <sbadia@debian.org> +Bug-Debian: https://bugs.debian.org/877127 +Forwarded: not-needed +Last-Update: 2019-02-07 + +--- a/glances/standalone.py ++++ b/glances/standalone.py +@@ -92,9 +92,6 @@ + # Init screen + self.screen = GlancesCursesStandalone(config=config, args=args) + +- # Check the latest Glances version +- self.outdated = Outdated(config=config, args=args) +- + @property + def quiet(self): + return self._quiet +@@ -156,9 +153,3 @@ + + # Exit from export modules + self.stats.end() +- +- # Check Glances version versus PyPI one +- if self.outdated.is_outdated(): +- print("You are using Glances version {}, however version {} is available.".format( +- self.outdated.installed_version(), self.outdated.latest_version())) +- print("You should consider upgrading using: pip install --upgrade glances") |