1 |
commit: 7e32abd474f8945b2b2540b42e4c902d9950524b |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 29 09:03:28 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 29 09:05:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e32abd4 |
7 |
|
8 |
sys-process/glances: version bump to 3.0.2 |
9 |
|
10 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
sys-process/glances/Manifest | 1 + |
14 |
sys-process/glances/glances-3.0.2.ebuild | 82 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest |
18 |
index 96d610707b6..512559b193a 100644 |
19 |
--- a/sys-process/glances/Manifest |
20 |
+++ b/sys-process/glances/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST Glances-2.11.1.tar.gz 5665685 BLAKE2B 5de75e7770cc01a0ddd6fcb0583e5d23c02e5188c7d6cbd55d2999be9321a1affda351094b8614d206e640e5a1338266b5c77629ec53bb280b9166f7b6a996e2 SHA512 99adccff7d1531760834b76f9a9525df0bf9a8f6f57dbd1f7c3c0515ba3b5c94f26172e19bbc7c93cecbe4bdebcca87ab3a11dd592259509eff85346780ef43a |
23 |
DIST Glances-3.0.1.tar.gz 6247919 BLAKE2B 15c59c76037d0e268687762b7539deab0a40748c27837177aa59d97c551471694e5bef6caebc818b4d17e1e5aef5c7cfccbd671e4821446b3bc9175a7ad240ea SHA512 e035de66572facffb2f4ffd85cbb23bf035128ccfb3b31b22deee779b8d7c4606e390fa7c7eeb6421375fbfbdfc451f8d9f112cbf94f36092f2e6997f8cbe9d3 |
24 |
+DIST Glances-3.0.2.tar.gz 6248035 BLAKE2B 1f26788d1b1b66899bcbff8478cea75c8cc376a946b20299243f6f48aee59529560863eed329f10b58650b467a2c3032a1df613d5a8b5ea1e71085b3c0222a62 SHA512 db0ec256e2ae371db8840e7e51f0395a581efa89ab233bbaa219d5c138e751373aa79afd4de6120dd0085cd3305397c84435f22068b186e4a1d5fe83fae9d914 |
25 |
|
26 |
diff --git a/sys-process/glances/glances-3.0.2.ebuild b/sys-process/glances/glances-3.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8d9c095beb9 |
29 |
--- /dev/null |
30 |
+++ b/sys-process/glances/glances-3.0.2.ebuild |
31 |
@@ -0,0 +1,82 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
38 |
+PYTHON_REQ_USE="ncurses" |
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="mirror://pypi/G/${PN^}/${P^}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="doc" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ doc? ( |
53 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
54 |
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+RDEPEND="${DEPEND} |
59 |
+ >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}]" |
60 |
+ |
61 |
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" |
62 |
+ |
63 |
+S="${WORKDIR}/${P^}" |
64 |
+ |
65 |
+pkg_setup() { |
66 |
+ linux-info_pkg_setup |
67 |
+} |
68 |
+ |
69 |
+python_prepare_all() { |
70 |
+ # Remove duplicate entries of a prebuilt doc build and |
71 |
+ # ensure install of the file glances.conf in /etc/${PN} |
72 |
+ sed \ |
73 |
+ -e '/share\/doc\/glances/d' \ |
74 |
+ -e "s/'CONTRIBUTING.md',//" \ |
75 |
+ -e "s:'conf/glances.conf':('${EPREFIX}/etc/glances', ['conf/glances.conf':g" \ |
76 |
+ -i setup.py || die |
77 |
+ |
78 |
+ distutils-r1_python_prepare_all |
79 |
+} |
80 |
+ |
81 |
+python_install_all() { |
82 |
+ # add an intended file from original data set from setup.py to DOCS |
83 |
+ local DOCS=( README.rst CONTRIBUTING.md conf/glances.conf ) |
84 |
+ # build docs |
85 |
+ if use doc; then |
86 |
+ pushd docs |
87 |
+ make html |
88 |
+ popd |
89 |
+ local HTML_DOCS=( docs/_build/html/. ) |
90 |
+ fi |
91 |
+ distutils-r1_python_install_all |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ optfeature "Action script feature" dev-python/pystache |
96 |
+ optfeature "Autodiscover mode" dev-python/zeroconf |
97 |
+ optfeature "Battery monitoring support" dev-python/batinfo |
98 |
+ optfeature "Docker monitoring support" dev-python/docker-py |
99 |
+ optfeature "Graphical/chart support" dev-python/matplotlib |
100 |
+ # https://bitbucket.org/gleb_zhulik/py3sensors |
101 |
+ # optfeature "Hardware monitoring support" dev-python/py3sensors |
102 |
+ optfeature "IP plugin" dev-python/netifaces |
103 |
+ optfeature "InfluxDB export module" dev-python/influxdb |
104 |
+ optfeature "Hard drive temperature monitoring" app-admin/hddtemp |
105 |
+ optfeature "Quicklook CPU info" dev-python/py-cpuinfo |
106 |
+ optfeature "RAID support" dev-python/pymdstat |
107 |
+ optfeature "RabbitMQ/ActiveMQ export module" dev-python/pika |
108 |
+ # https://github.com/banjiewen/bernhard |
109 |
+ # optfeature "Riemann export" dev-python/bernhard |
110 |
+ optfeature "SNMP support" dev-python/pysnmp |
111 |
+ optfeature "StatsD export module" dev-python/statsd |
112 |
+ optfeature "Web server mode" dev-python/bottle |
113 |
+} |