1 |
commit: 3e154e204e59b6a6b426f3b71ce9aba77d8d2df0 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 17:54:50 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 18:28:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e154e20 |
7 |
|
8 |
sys-process/glances: bump to 3.1.5 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
sys-process/glances/Manifest | 1 + |
14 |
sys-process/glances/glances-3.1.5.ebuild | 87 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 88 insertions(+) |
16 |
|
17 |
diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest |
18 |
index 30202c168fc..b3d3acf1b8a 100644 |
19 |
--- a/sys-process/glances/Manifest |
20 |
+++ b/sys-process/glances/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST glances-3.1.4.1.tar.gz 6802041 BLAKE2B 7e27811e4721f9089e88bb2375f5b58104bdcb9a890bff4cb207800f49eaf320fa1bd777a2de1a7ce50744df2b4b79973823f9aee52a291e1af6788c95c359b0 SHA512 8e15149bde87d14d8176fe247e911a04b24900a95917e5711dfc8764ecec3238f696eea08c36bc59f68a4702e028909150e3318907f11fc53c5cc56441870ff3 |
23 |
+DIST glances-3.1.5.tar.gz 6804549 BLAKE2B a3bc71205110b0bfc285f009bbf1dea95f93a8621ca5b3c7768a1eee2af939a3605b2ec43b07da7abde079f89f4ebfe06dbaac2433de7e0379749bb001ac6d34 SHA512 20a2bc446f482506b847dd252c52edc9dcce501361742acde92d3f8a6e30e9386c8bc8c28387e981c5767e9c1fb88eba1858e243c2732e9fc4b5d64f643febd6 |
24 |
|
25 |
diff --git a/sys-process/glances/glances-3.1.5.ebuild b/sys-process/glances/glances-3.1.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ddac31590a0 |
28 |
--- /dev/null |
29 |
+++ b/sys-process/glances/glances-3.1.5.ebuild |
30 |
@@ -0,0 +1,87 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+PYTHON_REQ_USE="ncurses" |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 eutils linux-info |
41 |
+ |
42 |
+DESCRIPTION="CLI curses based monitoring tool" |
43 |
+HOMEPAGE="https://github.com/nicolargo/glances" |
44 |
+SRC_URI="https://github.com/nicolargo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="" |
50 |
+ |
51 |
+RDEPEND="dev-python/future[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}]" |
53 |
+ |
54 |
+# PYTHON_USEDEP omitted on purpose |
55 |
+BDEPEND="doc? ( dev-python/sphinx_rtd_theme )" |
56 |
+ |
57 |
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/disable-update-check.patch" |
61 |
+) |
62 |
+ |
63 |
+distutils_enable_tests setup.py |
64 |
+distutils_enable_sphinx docs --no-autodoc |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ linux-info_pkg_setup |
68 |
+} |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ # Remove duplicate entries of a prebuilt doc build and |
72 |
+ # ensure install of the file glances.conf in /etc/${PN} |
73 |
+ sed \ |
74 |
+ -e '/share\/doc\/glances/d' \ |
75 |
+ -e "s/'CONTRIBUTING.md',//" \ |
76 |
+ -e "s:'conf/glances.conf':('${EPREFIX}/etc/glances', ['conf/glances.conf':g" \ |
77 |
+ -i setup.py || die |
78 |
+ sed -i "s/, 'irq']/]/" unitest.py || die |
79 |
+ distutils-r1_python_prepare_all |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ # add an intended file from original data set from setup.py to DOCS |
84 |
+ local DOCS=( README.rst CONTRIBUTING.md conf/glances.conf ) |
85 |
+ distutils-r1_python_install_all |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ #optfeature "Action script feature" dev-python/pystache |
90 |
+ optfeature "Autodiscover mode" dev-python/zeroconf |
91 |
+ optfeature "Cloud support" dev-python/requests |
92 |
+ optfeature "Quicklook CPU info" dev-python/py-cpuinfo |
93 |
+ optfeature "Docker monitoring support" dev-python/docker-py |
94 |
+ #optfeature "Export module" \ |
95 |
+ # unpackaged/bernhard \ |
96 |
+ # unpackaged/cassandra-driver \ |
97 |
+ # unpackaged/potsdb \ |
98 |
+ # dev-python/couchdb-python \ |
99 |
+ # dev-python/elasticsearch-py \ |
100 |
+ # dev-python/influxdb \ |
101 |
+ # dev-python/kafka-python \ |
102 |
+ # dev-python/pika \ |
103 |
+ # dev-python/paho-mqtt \ |
104 |
+ # dev-python/prometheus_client \ |
105 |
+ # dev-python/pyzmq \ |
106 |
+ # dev-python/statsd |
107 |
+ #optfeature "Nvidia GPU monitoring" unpackaged/nvidia-ml-py3 |
108 |
+ optfeature "SVG graph support" dev-python/pygal |
109 |
+ optfeature "IP plugin" dev-python/netifaces |
110 |
+ optfeature "RAID monitoring" dev-python/pymdstat |
111 |
+ #optfeature "SMART support" unpackaged/pySMART.smartx |
112 |
+ optfeature "RAID support" dev-python/pymdstat |
113 |
+ optfeature "SNMP support" dev-python/pysnmp |
114 |
+ #optfeature "sparklines plugin" unpackaged/sparklines |
115 |
+ optfeature "Web server mode" dev-python/bottle dev-python/requests |
116 |
+ optfeature "WIFI plugin" net-wireless/python-wifi |
117 |
+} |