From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] glances: update to 3.1.7.
Date: Mon, 31 May 2021 13:23:55 +0200 [thread overview]
Message-ID: <20210531112355.oRaPYxAG_Iwl0zsE5WYTiP0t0hgYl4whvLl9r6XnXfI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31229@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages glances-3.1.7
https://github.com/void-linux/void-packages/pull/31229
glances: update to 3.1.7.
<!-- Mark items with [x] where applicable -->
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
A patch file from https://github.com/void-linux/void-packages/pull/31229.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-glances-3.1.7-31229.patch --]
[-- Type: text/x-diff, Size: 2524 bytes --]
From 3af453fcd89539668e8eb390005c0a0aa78904ce Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Mon, 31 May 2021 12:49:33 +0200
Subject: [PATCH] glances: update to 3.1.7.
---
srcpkgs/glances/patches/no-check-update.patch | 22 +++++++++++++++++++
srcpkgs/glances/template | 4 ++--
2 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/glances/patches/no-check-update.patch
diff --git a/srcpkgs/glances/patches/no-check-update.patch b/srcpkgs/glances/patches/no-check-update.patch
new file mode 100644
index 000000000000..49f4a56191f2
--- /dev/null
+++ b/srcpkgs/glances/patches/no-check-update.patch
@@ -0,0 +1,22 @@
+--- glances/main.py
++++ glances/main.py
+@@ -109,6 +109,7 @@
+ """Manage the command line arguments."""
+ # Read the command line arguments
+ self.args = self.parse_args()
++ self.args.disable_check_update = False
+
+ def init_args(self):
+ """Init all the command line arguments."""
+@@ -256,8 +257,6 @@
+ parser.add_argument('--theme-white', action='store_true', default=False,
+ dest='theme_white', help='optimize display colors for white background')
+ # 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='',
+ help='strftime format string for displaying current date in standalone mode')
+
+Only in glances-3.1.7/glances: main.py.orig
+Only in glances-3.1.7/glances: main.py.rej
+Only in glances-3.1.7: no-check-update.patch
diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template
index 58fc1a562089..29bc7790e11d 100644
--- a/srcpkgs/glances/template
+++ b/srcpkgs/glances/template
@@ -1,6 +1,6 @@
# Template file for 'glances'
pkgname=glances
-version=3.1.6.2
+version=3.1.7
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/nicolargo/glances"
distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz"
-checksum=1eddc35a887159096eb4ca3e09dd144f5e60f4879b1e662478dbc18b39d77817
+checksum=5839a110af35af35b7a1d30c15e59c59359480c2eaec852d30480c96b8cf8d76
post_install() {
vsconf conf/glances.conf
next prev parent reply other threads:[~2021-05-31 11:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 10:50 [PR PATCH] " Piraty
2021-05-31 11:23 ` Piraty [this message]
2021-05-31 11:24 ` [PR PATCH] [Updated] " Piraty
2021-06-08 19:28 ` [PR PATCH] [Merged]: " Piraty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210531112355.oRaPYxAG_Iwl0zsE5WYTiP0t0hgYl4whvLl9r6XnXfI@z \
--to=piraty@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).