From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/glances/
Date: Tue, 21 Dec 2021 03:51:40 +0000 (UTC) [thread overview]
Message-ID: <1640058692.92abb1aa1955a9bb8eb0f5ba04ce582d377276a0.gyakovlev@gentoo> (raw)
commit: 92abb1aa1955a9bb8eb0f5ba04ce582d377276a0
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 03:40:47 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 03:51:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92abb1aa
sys-process/glances: add 3.2.4.2, make it single-impl
stop building glances for all pythons on the system
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
sys-process/glances/Manifest | 1 +
sys-process/glances/glances-3.2.4.2.ebuild | 92 ++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest
index 7a8af27dff0b..87d56e6e4083 100644
--- a/sys-process/glances/Manifest
+++ b/sys-process/glances/Manifest
@@ -1 +1,2 @@
DIST glances-3.2.2.tar.gz 6861708 BLAKE2B 99ed3298724a82f036660f05cfd374f8dfa4883ef3c710dfe789ed9f9986bfe873117096564f1dd46d91cd3d0304e0cd1876d17ecd6e3aad98c7dd9df2095265 SHA512 e77b62e5fa6131914b56f0b5249789b3bcac0c625cd429eeb0870a14be55f15c401956c002376e5868fa1332bbb219e9bd3a5bd14c739e3404b068a063af6821
+DIST glances-3.2.4.2.tar.gz 6914758 BLAKE2B faab5df2689477c5b6df047a2e0d03b09981f064d13ece4e66bdabb816168e035771ed7fd8863723b57c88f47d42674ca3553b5538c0386eab32516fdc7e2a1d SHA512 74d495303b8c0e421a2139167d998c56adfb09434f72faf34c46e0be07087c0a152a1a637b62badaf3b1934ee7892c1a9e205c260aa10655b0bfff91491fc5e1
diff --git a/sys-process/glances/glances-3.2.4.2.ebuild b/sys-process/glances/glances-3.2.4.2.ebuild
new file mode 100644
index 000000000000..c2441489ec5a
--- /dev/null
+++ b/sys-process/glances/glances-3.2.4.2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_REQ_USE="ncurses"
+
+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}.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}/disable-update-check.patch"
+)
+
+distutils_enable_tests setup.py
+distutils_enable_sphinx docs --no-autodoc
+
+pkg_setup() {
+ linux-info_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:[~2021-12-21 3:51 UTC|newest]
Thread overview: 106+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 3:51 Georgy Yakovlev [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-10-21 6:04 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-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=1640058692.92abb1aa1955a9bb8eb0f5ba04ce582d377276a0.gyakovlev@gentoo \
--to=gyakovlev@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