From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/glances/
Date: Fri, 21 Oct 2022 06:04:38 +0000 (UTC) [thread overview]
Message-ID: <1666332272.adc4b986a0174997041530287bc563070257e5d3.ajak@gentoo> (raw)
commit: adc4b986a0174997041530287bc563070257e5d3
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 04:43:41 2022 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 06:04:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc4b986
sys-process/glances: revbump to add DISTUTILS_USE_PEP517
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
sys-process/glances/glances-3.2.7-r1.ebuild | 94 +++++++++++++++++++++++++++++
1 file changed, 94 insertions(+)
diff --git a/sys-process/glances/glances-3.2.7-r1.ebuild b/sys-process/glances/glances-3.2.7-r1.ebuild
new file mode 100644
index 000000000000..429aa5122822
--- /dev/null
+++ b/sys-process/glances/glances-3.2.7-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+PYTHON_REQ_USE="ncurses"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 linux-info optfeature
+
+DESCRIPTION="CLI curses based monitoring tool"
+HOMEPAGE="https://github.com/nicolargo/glances"
+SRC_URI="https://github.com/nicolargo/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ dev-python/future[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}]
+ ')
+"
+
+# PYTHON_USEDEP omitted on purpose
+BDEPEND="doc? ( dev-python/sphinx_rtd_theme )"
+
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.2.5-disable-update-check.patch"
+)
+
+distutils_enable_tests setup.py
+distutils_enable_sphinx docs --no-autodoc
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+python_prepare_all() {
+ # Remove duplicate entries of a prebuilt doc build and
+ # ensure install of the file glances.conf in /etc/${PN}
+ sed \
+ -e '/share\/doc\/glances/d' \
+ -e "s/'CONTRIBUTING.md',//" \
+ -e "s:'conf/glances.conf':('${EPREFIX}/etc/glances', ['conf/glances.conf':g" \
+ -i setup.py || die
+ sed -i "s/, 'irq']/]/" unitest.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ # add an intended file from original data set from setup.py to DOCS
+ local DOCS=( README.rst CONTRIBUTING.md conf/glances.conf )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ #optfeature "Action script feature" dev-python/pystache
+ optfeature "Autodiscover mode" dev-python/zeroconf
+ optfeature "Cloud support" dev-python/requests
+ optfeature "Docker monitoring support" dev-python/docker-py
+ #optfeature "Export module" \
+ # unpackaged/bernhard \
+ # unpackaged/cassandra-driver \
+ # unpackaged/potsdb \
+ # dev-python/couchdb-python \
+ # dev-python/elasticsearch-py \
+ # dev-python/influxdb \
+ # dev-python/kafka-python \
+ # dev-python/pika \
+ # dev-python/paho-mqtt \
+ # dev-python/prometheus_client \
+ # dev-python/pyzmq \
+ # dev-python/statsd
+ #optfeature "Nvidia GPU monitoring" unpackaged/nvidia-ml-py3
+ optfeature "SVG graph support" dev-python/pygal
+ optfeature "IP plugin" dev-python/netifaces
+ optfeature "RAID monitoring" dev-python/pymdstat
+ #optfeature "SMART support" unpackaged/pySMART.smartx
+ optfeature "RAID support" dev-python/pymdstat
+ optfeature "SNMP support" dev-python/pysnmp
+ #optfeature "sparklines plugin" unpackaged/sparklines
+ optfeature "Web server mode" dev-python/bottle dev-python/requests
+ optfeature "WIFI plugin" net-wireless/python-wifi
+}
next reply other threads:[~2022-10-21 6:04 UTC|newest]
Thread overview: 106+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 6:04 John Helmert III [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-28 18:51 [gentoo-commits] repo/gentoo:master commit in: sys-process/glances/ John Helmert III
2024-07-28 3:35 Sam James
2024-07-28 3:35 Sam James
2024-07-28 3:35 Sam James
2024-07-28 3:35 Sam James
2024-07-28 2:39 Sam James
2024-04-21 23:54 Sam James
2024-04-21 23:53 Sam James
2024-04-21 23:53 Sam James
2024-04-21 23:53 Sam James
2024-04-21 23:33 John Helmert III
2024-03-31 21:20 John Helmert III
2023-09-11 4:41 John Helmert III
2022-12-27 1:31 John Helmert III
2022-12-27 1:31 John Helmert III
2022-12-15 2:32 Sam James
2022-12-15 2:23 Sam James
2022-12-15 2:23 Sam James
2022-12-15 2:23 Sam James
2022-12-15 2:05 Sam James
2022-11-03 3:17 John Helmert III
2022-09-17 5:38 Arthur Zamarin
2022-09-10 0:48 Sam James
2022-09-09 19:02 Arthur Zamarin
2022-09-09 17:46 John Helmert III
2022-09-09 17:24 John Helmert III
2022-07-29 16:30 John Helmert III
2022-07-27 17:49 John Helmert III
2022-07-06 4:29 John Helmert III
2021-12-21 9:29 Georgy Yakovlev
2021-12-21 3:51 Georgy Yakovlev
2021-12-21 3:51 Georgy Yakovlev
2021-12-21 3:51 Georgy Yakovlev
2021-08-26 14:55 Sam James
2021-08-26 14:49 Sam James
2021-08-26 3:00 Sam James
2021-08-07 20:59 Georgy Yakovlev
2021-08-06 11:47 Georgy Yakovlev
2021-07-13 5:53 Georgy Yakovlev
2021-07-13 5:53 Georgy Yakovlev
2021-07-13 4:02 Sam James
2021-07-11 8:58 Agostino Sarubbo
2021-07-10 7:41 Georgy Yakovlev
2021-07-10 7:41 Georgy Yakovlev
2021-07-03 10:07 Georgy Yakovlev
2021-06-12 2:59 Georgy Yakovlev
2021-04-29 4:22 Georgy Yakovlev
2021-04-28 18:47 Sam James
2021-04-28 17:04 Sam James
2021-04-28 17:00 Sam James
2021-04-27 18:21 Georgy Yakovlev
2021-04-27 18:09 Sam James
2021-04-02 9:23 Georgy Yakovlev
2021-02-12 1:33 Georgy Yakovlev
2020-09-07 8:55 David Seifert
2020-08-27 18:28 Georgy Yakovlev
2020-08-27 18:28 Georgy Yakovlev
2020-06-07 8:48 Agostino Sarubbo
2020-06-06 17:29 Agostino Sarubbo
2020-05-30 21:19 Georgy Yakovlev
2020-05-30 21:19 Georgy Yakovlev
2020-05-02 18:30 Georgy Yakovlev
2020-05-02 13:30 Mart Raudsepp
2020-05-02 4:50 Georgy Yakovlev
2020-05-02 4:46 Georgy Yakovlev
2020-03-26 22:06 Georgy Yakovlev
2020-02-22 1:30 Georgy Yakovlev
2020-02-11 12:25 Michał Górny
2019-12-28 7:37 Georgy Yakovlev
2019-08-28 8:33 Georgy Yakovlev
2019-07-19 6:47 Georgy Yakovlev
2019-07-19 6:47 Georgy Yakovlev
2019-06-04 7:34 Georgy Yakovlev
2019-01-19 22:12 Georgy Yakovlev
2018-12-01 2:09 Georgy Yakovlev
2018-12-01 2:09 Georgy Yakovlev
2018-09-29 9:07 Georgy Yakovlev
2018-09-29 9:07 Georgy Yakovlev
2018-09-06 16:07 Georgy Yakovlev
2018-09-06 16:07 Georgy Yakovlev
2018-09-03 21:53 Georgy Yakovlev
2018-07-19 1:57 Georgy Yakovlev
2018-07-18 21:23 Georgy Yakovlev
2018-07-18 21:11 Jonas Stein
2018-06-07 6:35 Michał Górny
2018-04-15 17:27 Patrice Clement
2018-04-15 17:27 Patrice Clement
2017-11-05 21:19 Patrice Clement
2017-09-02 18:59 Michał Górny
2017-09-02 18:59 Michał Górny
2017-08-10 14:06 Amy Liffey
2017-08-07 13:07 Jason Donenfeld
2017-03-15 21:52 Amy Liffey
2017-03-15 21:49 Amy Liffey
2017-01-09 23:30 Patrice Clement
2017-01-09 23:30 Patrice Clement
2017-01-09 23:30 Patrice Clement
2016-11-26 18:24 David Seifert
2016-11-26 12:55 Justin Lecher
2016-11-26 12:55 Justin Lecher
2016-11-25 21:49 Patrice Clement
2016-10-29 21:17 Michał Górny
2016-04-28 12:48 Ian Delaney
2016-04-28 12:48 Ian Delaney
2016-02-17 8:57 Justin Lecher
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=1666332272.adc4b986a0174997041530287bc563070257e5d3.ajak@gentoo \
--to=ajak@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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