* [PR PATCH] glances: update to 4.0.5.
@ 2024-05-24 19:43 icp1994
2024-05-26 20:26 ` [PR PATCH] [Merged]: " Piraty
0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2024-05-24 19:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages glances
https://github.com/void-linux/void-packages/pull/50508
glances: update to 4.0.5.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/50508.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glances-50508.patch --]
[-- Type: text/x-diff, Size: 3501 bytes --]
From c346595345b21ee5846007612854f7aa23d479ce Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 15 May 2024 01:48:19 +0530
Subject: [PATCH] glances: update to 4.0.5.
---
srcpkgs/glances/patches/no-check-update.patch | 17 +++++++----------
srcpkgs/glances/template | 11 ++++++-----
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch
index 9de402a29bb3cb..b44e7d11866bcf 100644
--- a/srcpkgs/glances/patches/no-check-update.patch
+++ b/srcpkgs/glances/patches/no-check-update.patch
@@ -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"
- )
-
diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template
index 6022e7f809b606..199d4b1dcd287f 100644
--- a/srcpkgs/glances/template
+++ b/srcpkgs/glances/template
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: glances: update to 4.0.5.
2024-05-24 19:43 [PR PATCH] glances: update to 4.0.5 icp1994
@ 2024-05-26 20:26 ` Piraty
0 siblings, 0 replies; 2+ messages in thread
From: Piraty @ 2024-05-26 20:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
There's a merged pull request on the void-packages repository
glances: update to 4.0.5.
https://github.com/void-linux/void-packages/pull/50508
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-26 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-24 19:43 [PR PATCH] glances: update to 4.0.5 icp1994
2024-05-26 20:26 ` [PR PATCH] [Merged]: " Piraty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).