Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/glances/
Date: Sat, 02 Sep 2017 18:59:07
Message-Id: 1504378736.b31cf2c4c27d4b0e4d6542aae30be6150729bbd3.mgorny@gentoo
1 commit: b31cf2c4c27d4b0e4d6542aae30be6150729bbd3
2 Author: soredake <fdsfgs <AT> krutt <DOT> org>
3 AuthorDate: Thu Aug 31 21:21:34 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 18:58:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b31cf2c4
7
8 sys-process/glances: version bump to 2.11
9
10 Closes: https://github.com/gentoo/gentoo/pull/5573
11
12 sys-process/glances/Manifest | 1 +
13 sys-process/glances/glances-2.11.ebuild | 73 +++++++++++++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest
17 index 2770689d9e2..dcaf1f5e40a 100644
18 --- a/sys-process/glances/Manifest
19 +++ b/sys-process/glances/Manifest
20 @@ -1,4 +1,5 @@
21 DIST Glances-2.10.tar.gz 5625608 SHA256 3e3ebd41a4f627b76ee1cdf107482d81e787efde8a5e41e6568169d38eb2e696 SHA512 a63c8280cd50564c6304979d2ea41eb05fca33c0618f78777f8c956249a345138d14cc6d745441cd73de85e88bc1074d0d8445ff531b0dafe9d565a326337993 WHIRLPOOL 985ceedeb8951e03f202c39c7e7eead570e80154408baf123be35e067ecca0f91aba01dbdb1c098e6fe6fae632200b6b2dfd3624c1d86822e77d590b8267cb58
22 +DIST Glances-2.11.tar.gz 5658061 SHA256 94c9d54c6d158492aed454918cca91103387e03170397ba8cc7e9328db8dc9a1 SHA512 b215326df86e4168ce54237595746d0ef119100f5fc50ee50781fa8b17fff7b91e85d9b67dacf7cb53fc5d847472eab786e87443c43f769744bbdbc1f77f3007 WHIRLPOOL 9ce82e2819f001312e91a874e3c5b47c307c43f8b2a7515596a278b15ef9975183eaeaeb97d509c989b815bed9c8b17b2ba9444fed21ba1b7b03be5c8f085b1c
23 DIST Glances-2.7.1.tar.gz 13277845 SHA256 afdfdb4b14ae514422c4a882788800473c6cff53719266735c9a2af400c14b86 SHA512 c13e7fb8e6025d284cfabade4eaf10189f6605f53f219889c3c636780ac11773c579f39d956a9eebcf5618de2bffec42446982fb892d775109341af74e621b83 WHIRLPOOL 119792772e45e4a23ca7ddb0e84081eb79a6e72d68311fcba42f4305ae068b105a882b8dda3d14b3f9da6fb7fa55208a125d16c4170767c623c1d1286927fa11
24 DIST Glances-2.8.1.tar.gz 5530699 SHA256 12c10f9a9cac9c7ba70b0b5aa6551a97599731f2c8751c2cc53232da395c6b8b SHA512 27759f621d5e29e1f4da0465abf9112b3e4146a8644110481000a7bf0fc8f2d3171a8082e7db7acd9a4a12558a8b3de8db1ae1bf0b1e5503b618aa5648b07c10 WHIRLPOOL 93ea9affc069a7c00fc7795d9afa625bfe9ba6dddf784c45403a305b7c4e186f964eebf15638709487aa66040f8270daf5bae06bf0ece434da1a7011a4085a5a
25 DIST Glances-2.9.1.tar.gz 5644812 SHA256 03ce730566e183372ee73e45729485396bb62d1c0f108a00f27feff43206fc52 SHA512 b4629d0225c2b027f0b983ed40801910e44043e232313c5f2920d90053224a33406575ab03d21e2b7ee5195528a842d6cd806c50c45258a6bb3f6621f4fb84a7 WHIRLPOOL c2cf912f53877035d46f3f4a648356c3327dcfaeb963021d0712d88ce65b99f60f2efcb71df483a6056a7b3fad285300fb990b86827df3f99ec3de19c0e19dba
26
27 diff --git a/sys-process/glances/glances-2.11.ebuild b/sys-process/glances/glances-2.11.ebuild
28 new file mode 100644
29 index 00000000000..98a897e02d6
30 --- /dev/null
31 +++ b/sys-process/glances/glances-2.11.ebuild
32 @@ -0,0 +1,73 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python{2_7,3_{4,5}} )
39 +PYTHON_REQ_USE="ncurses"
40 +
41 +inherit distutils-r1 eutils linux-info
42 +
43 +DESCRIPTION="CLI curses based monitoring tool"
44 +HOMEPAGE="https://github.com/nicolargo/glances"
45 +SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz"
46 +
47 +LICENSE="LGPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
50 +IUSE="doc"
51 +
52 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
53 +# There is another optional extra batinfo, absent from portage
54 +RDEPEND="${DEPEND}
55 + >=dev-python/psutil-2.0.0[${PYTHON_USEDEP}]"
56 +
57 +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS"
58 +
59 +S="${WORKDIR}/${P^}"
60 +
61 +pkg_setup() {
62 + linux-info_pkg_setup
63 +}
64 +
65 +python_prepare_all() {
66 + # Remove duplicate entries of a prebuilt doc build and
67 + # ensure install of the file glances.conf in /etc/${PN}
68 + sed \
69 + -e '/share\/doc\/glances/d' \
70 + -e "s/'CONTRIBUTING.md',//" \
71 + -e "s:'conf/glances.conf':('/etc/glances', ['conf/glances.conf':g" \
72 + -i setup.py || die
73 +
74 + distutils-r1_python_prepare_all
75 +}
76 +
77 +python_install_all() {
78 + # add an intended file from original data set from setup.py to DOCS
79 + local DOCS=( README.rst CONTRIBUTING.md conf/glances.conf )
80 + # setup for pre-built html docs in setup.py
81 + use doc && local HTML_DOCS=( docs/_build/html/. )
82 +
83 + distutils-r1_python_install_all
84 +}
85 +
86 +pkg_postinst() {
87 + optfeature "Action script feature" dev-python/pystache
88 + optfeature "Autodiscover mode" dev-python/zeroconf
89 + optfeature "Battery monitoring support" dev-python/batinfo
90 + optfeature "Docker monitoring support" dev-python/docker-py
91 + optfeature "Graphical/chart support" dev-python/matplotlib
92 + # https://bitbucket.org/gleb_zhulik/py3sensors
93 + # optfeature "Hardware monitoring support" dev-python/py3sensors
94 + optfeature "IP plugin" dev-python/netifaces
95 + optfeature "InfluxDB export module" dev-python/influxdb
96 + optfeature "Hard drive temperature monitoring" app-admin/hddtemp
97 + optfeature "Quicklook CPU info" dev-python/py-cpuinfo
98 + optfeature "RAID support" dev-python/pymdstat
99 + optfeature "RabbitMQ/ActiveMQ export module" dev-python/pika
100 + # https://github.com/banjiewen/bernhard
101 + # optfeature "Riemann export" dev-python/bernhard
102 + optfeature "SNMP support" dev-python/pysnmp
103 + optfeature "StatsD export module" dev-python/statsd
104 + optfeature "Web server mode" dev-python/bottle
105 +}