glances: update to 4.0.5.
This commit is contained in:
parent
a3b9f7f77d
commit
7d1fa617fd
2 changed files with 13 additions and 15 deletions
|
@ -4,9 +4,9 @@ Bug-Debian: https://bugs.debian.org/877127
|
||||||
|
|
||||||
--- a/glances/standalone.py
|
--- a/glances/standalone.py
|
||||||
+++ b/glances/standalone.py
|
+++ b/glances/standalone.py
|
||||||
@@ -105,9 +105,6 @@
|
@@ -112,9 +112,6 @@
|
||||||
# Init screen
|
# It is done in the screen.init function
|
||||||
self.screen = GlancesCursesStandalone(config=config, args=args)
|
self._quiet = args.quiet
|
||||||
|
|
||||||
- # Check the latest Glances version
|
- # Check the latest Glances version
|
||||||
- self.outdated = Outdated(config=config, args=args)
|
- self.outdated = Outdated(config=config, args=args)
|
||||||
|
@ -14,22 +14,19 @@ Bug-Debian: https://bugs.debian.org/877127
|
||||||
@property
|
@property
|
||||||
def quiet(self):
|
def quiet(self):
|
||||||
return self._quiet
|
return self._quiet
|
||||||
@@ -186,17 +183,3 @@
|
@@ -192,15 +189,3 @@
|
||||||
|
|
||||||
# Exit from export modules
|
# Exit from export modules
|
||||||
self.stats.end()
|
self.stats.end()
|
||||||
-
|
-
|
||||||
- # Check Glances version versus PyPI one
|
- # Check Glances version versus PyPI one
|
||||||
- if self.outdated.is_outdated():
|
- if self.outdated.is_outdated():
|
||||||
- print(
|
- latest_version = self.outdated.latest_version()
|
||||||
- "You are using Glances version {}, however version {} is available.".format(
|
- installed_version = self.outdated.installed_version()
|
||||||
- self.outdated.installed_version(), self.outdated.latest_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("You should consider upgrading using: pip install --upgrade glances")
|
||||||
- print("Disable this warning temporarily using: glances --disable-check-update")
|
- print("Disable this warning temporarily using: glances --disable-check-update")
|
||||||
- print(
|
- print(
|
||||||
- "To disable it permanently, refer config reference at "
|
- "To disable it permanently, refer config reference at "
|
||||||
- "https://glances.readthedocs.io/en/latest/config.html#syntax"
|
- "https://glances.readthedocs.io/en/latest/config.html#syntax"
|
||||||
- )
|
- )
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'glances'
|
# Template file for 'glances'
|
||||||
pkgname=glances
|
pkgname=glances
|
||||||
version=3.4.0.5
|
version=4.0.5
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools python3-wheel"
|
||||||
depends="python3-psutil python3-defusedxml python3-packaging python3-ultrajson"
|
depends="python3-psutil python3-defusedxml python3-packaging python3-ultrajson
|
||||||
|
python3-pydantic"
|
||||||
checkdepends="$depends"
|
checkdepends="$depends"
|
||||||
short_desc="Cross-platform curses-based monitoring tool"
|
short_desc="Cross-platform curses-based monitoring tool"
|
||||||
maintainer="icp <pangolin@vivaldi.net>"
|
maintainer="icp <pangolin@vivaldi.net>"
|
||||||
|
@ -12,7 +13,7 @@ license="LGPL-3.0-or-later"
|
||||||
homepage="https://nicolargo.github.io/glances/"
|
homepage="https://nicolargo.github.io/glances/"
|
||||||
changelog="https://raw.githubusercontent.com/nicolargo/glances/develop/NEWS.rst"
|
changelog="https://raw.githubusercontent.com/nicolargo/glances/develop/NEWS.rst"
|
||||||
distfiles="https://github.com/nicolargo/glances/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/nicolargo/glances/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=420c394cb3f2dfd476d812adb88006d699c595fc75702b7fde075073a57050cd
|
checksum=679faa8eded58fdef187d46b4c83225a8b1bfb67c1bc2cf1ccb197f76dffb241
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vsconf conf/glances.conf
|
vsconf conf/glances.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue