glances: update to 4.0.5.
This commit is contained in:
parent
a3b9f7f77d
commit
7d1fa617fd
|
@ -4,9 +4,9 @@ Bug-Debian: https://bugs.debian.org/877127
|
|||
|
||||
--- a/glances/standalone.py
|
||||
+++ b/glances/standalone.py
|
||||
@@ -105,9 +105,6 @@
|
||||
# Init screen
|
||||
self.screen = GlancesCursesStandalone(config=config, args=args)
|
||||
@@ -112,9 +112,6 @@
|
||||
# It is done in the screen.init function
|
||||
self._quiet = args.quiet
|
||||
|
||||
- # Check the latest Glances version
|
||||
- self.outdated = Outdated(config=config, args=args)
|
||||
|
@ -14,22 +14,19 @@ Bug-Debian: https://bugs.debian.org/877127
|
|||
@property
|
||||
def quiet(self):
|
||||
return self._quiet
|
||||
@@ -186,17 +183,3 @@
|
||||
@@ -192,15 +189,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()
|
||||
- )
|
||||
- )
|
||||
- latest_version = self.outdated.latest_version()
|
||||
- installed_version = self.outdated.installed_version()
|
||||
- print(f"You are using Glances version {installed_version}, however version {latest_version} is available.")
|
||||
- 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"
|
||||
- )
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'glances'
|
||||
pkgname=glances
|
||||
version=3.4.0.5
|
||||
version=4.0.5
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-psutil python3-defusedxml python3-packaging python3-ultrajson"
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools python3-wheel"
|
||||
depends="python3-psutil python3-defusedxml python3-packaging python3-ultrajson
|
||||
python3-pydantic"
|
||||
checkdepends="$depends"
|
||||
short_desc="Cross-platform curses-based monitoring tool"
|
||||
maintainer="icp <pangolin@vivaldi.net>"
|
||||
|
@ -12,7 +13,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=420c394cb3f2dfd476d812adb88006d699c595fc75702b7fde075073a57050cd
|
||||
checksum=679faa8eded58fdef187d46b4c83225a8b1bfb67c1bc2cf1ccb197f76dffb241
|
||||
|
||||
post_install() {
|
||||
vsconf conf/glances.conf
|
||||
|
|
Loading…
Reference in New Issue