Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] glances: update to 3.3.1.1.
@ 2023-01-26 18:54 icp1994
  2023-01-29 22:29 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2023-01-26 18:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 474 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/41888

glances: update to 3.3.1.1.
#### 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/41888.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glances-41888.patch --]
[-- Type: text/x-diff, Size: 3564 bytes --]

From fe186d6112b30aa6e1c21f76d536f9e803ed1a5b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 26 Jan 2023 00:44:50 +0530
Subject: [PATCH] glances: update to 3.3.1.1.

Adopt.
---
 srcpkgs/glances/patches/no-check-update.patch | 52 +++++++++++--------
 srcpkgs/glances/template                      |  8 +--
 2 files changed, 33 insertions(+), 27 deletions(-)

diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch
index 7b334f1551ff..1487ab0b3bdc 100644
--- a/srcpkgs/glances/patches/no-check-update.patch
+++ b/srcpkgs/glances/patches/no-check-update.patch
@@ -1,24 +1,30 @@
---- a/glances/main.py
-+++ b/glances/main.py
-@@ -97,6 +97,7 @@
-         """Manage the command line arguments."""
-         # Read the command line arguments
-         self.args = self.parse_args()
-+        self.args.disable_check_update = False
+Description: Disable nagging suggestion to upgrade using pip
+Author: Sebastien Badia <sbadia@debian.org>
+Bug-Debian: https://bugs.debian.org/877127
+
+--- a/glances/standalone.py
++++ b/glances/standalone.py
+@@ -103,9 +103,6 @@
+             # Init screen
+             self.screen = GlancesCursesStandalone(config=config, args=args)
  
-     def init_args(self):
-         """Init all the command line arguments."""
-@@ -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='',
+-        # Check the latest Glances version
+-        self.outdated = Outdated(config=config, args=args)
+-
+     @property
+     def quiet(self):
+         return self._quiet
+@@ -184,12 +181,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")
+
diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template
index d9ad47ccd85e..ace5c3b674ad 100644
--- a/srcpkgs/glances/template
+++ b/srcpkgs/glances/template
@@ -1,18 +1,18 @@
 # Template file for 'glances'
 pkgname=glances
-version=3.3.0.4
+version=3.3.1.1
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-future python3-psutil python3-defusedxml python3-packaging"
+depends="python3-psutil python3-defusedxml python3-packaging python3-ultrajson"
 checkdepends="$depends"
 short_desc="Cross-platform curses-based monitoring tool"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="icp <pangolin@vivaldi.net>"
 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=464905c9b4806b80782eb8e43552ccbfa346d6f905f8a2d28de48613ccba0e53
+checksum=450c604ddfe05398ec88bd237648c7d851ad3c537b5f785eccafab4e9789c235
 
 post_install() {
 	vsconf conf/glances.conf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: glances: update to 3.3.1.1.
  2023-01-26 18:54 [PR PATCH] glances: update to 3.3.1.1 icp1994
@ 2023-01-29 22:29 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-01-29 22:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

There's a merged pull request on the void-packages repository

glances: update to 3.3.1.1.
https://github.com/void-linux/void-packages/pull/41888

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:[~2023-01-29 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 18:54 [PR PATCH] glances: update to 3.3.1.1 icp1994
2023-01-29 22:29 ` [PR PATCH] [Merged]: " classabbyamp

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).