summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoredake <fdsfgs@krutt.org>2017-11-04 16:52:13 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-11-05 22:14:05 +0100
commit1b016139ee17c351bb388cecdcc01ad17e3dc792 (patch)
tree163326f5c5a6f55d1bf8f79d7189096bcdf13cbf
parentapp-emulation/runc: Remove old (diff)
downloadgentoo-1b016139ee17c351bb388cecdcc01ad17e3dc792.tar.gz
gentoo-1b016139ee17c351bb388cecdcc01ad17e3dc792.tar.bz2
gentoo-1b016139ee17c351bb388cecdcc01ad17e3dc792.zip
sys-process/glances: version bump to 2.11.1.
Closes: https://github.com/gentoo/gentoo/pull/6116
-rw-r--r--sys-process/glances/Manifest1
-rw-r--r--sys-process/glances/glances-2.11.1.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest
index dcaf1f5e40aa..7144f892f1af 100644
--- a/sys-process/glances/Manifest
+++ b/sys-process/glances/Manifest
@@ -1,4 +1,5 @@
DIST Glances-2.10.tar.gz 5625608 SHA256 3e3ebd41a4f627b76ee1cdf107482d81e787efde8a5e41e6568169d38eb2e696 SHA512 a63c8280cd50564c6304979d2ea41eb05fca33c0618f78777f8c956249a345138d14cc6d745441cd73de85e88bc1074d0d8445ff531b0dafe9d565a326337993 WHIRLPOOL 985ceedeb8951e03f202c39c7e7eead570e80154408baf123be35e067ecca0f91aba01dbdb1c098e6fe6fae632200b6b2dfd3624c1d86822e77d590b8267cb58
+DIST Glances-2.11.1.tar.gz 5665685 SHA256 b369d70835520ff7c4fad63958fcf5a09212d15a6c026131db6d0d3c20cdef5f SHA512 99adccff7d1531760834b76f9a9525df0bf9a8f6f57dbd1f7c3c0515ba3b5c94f26172e19bbc7c93cecbe4bdebcca87ab3a11dd592259509eff85346780ef43a WHIRLPOOL d9b9aea335483c36ab9f6f1f9603aaac768eb867462bd0f3a82de87091988aa0886b657835abdb3ff6770b2dab54c4904d18328318fe0a905c7a8f10dcb12de6
DIST Glances-2.11.tar.gz 5658061 SHA256 94c9d54c6d158492aed454918cca91103387e03170397ba8cc7e9328db8dc9a1 SHA512 b215326df86e4168ce54237595746d0ef119100f5fc50ee50781fa8b17fff7b91e85d9b67dacf7cb53fc5d847472eab786e87443c43f769744bbdbc1f77f3007 WHIRLPOOL 9ce82e2819f001312e91a874e3c5b47c307c43f8b2a7515596a278b15ef9975183eaeaeb97d509c989b815bed9c8b17b2ba9444fed21ba1b7b03be5c8f085b1c
DIST Glances-2.7.1.tar.gz 13277845 SHA256 afdfdb4b14ae514422c4a882788800473c6cff53719266735c9a2af400c14b86 SHA512 c13e7fb8e6025d284cfabade4eaf10189f6605f53f219889c3c636780ac11773c579f39d956a9eebcf5618de2bffec42446982fb892d775109341af74e621b83 WHIRLPOOL 119792772e45e4a23ca7ddb0e84081eb79a6e72d68311fcba42f4305ae068b105a882b8dda3d14b3f9da6fb7fa55208a125d16c4170767c623c1d1286927fa11
DIST Glances-2.8.1.tar.gz 5530699 SHA256 12c10f9a9cac9c7ba70b0b5aa6551a97599731f2c8751c2cc53232da395c6b8b SHA512 27759f621d5e29e1f4da0465abf9112b3e4146a8644110481000a7bf0fc8f2d3171a8082e7db7acd9a4a12558a8b3de8db1ae1bf0b1e5503b618aa5648b07c10 WHIRLPOOL 93ea9affc069a7c00fc7795d9afa625bfe9ba6dddf784c45403a305b7c4e186f964eebf15638709487aa66040f8270daf5bae06bf0ece434da1a7011a4085a5a
diff --git a/sys-process/glances/glances-2.11.1.ebuild b/sys-process/glances/glances-2.11.1.ebuild
new file mode 100644
index 000000000000..954945702d12
--- /dev/null
+++ b/sys-process/glances/glances-2.11.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1 eutils linux-info
+
+DESCRIPTION="CLI curses based monitoring tool"
+HOMEPAGE="https://github.com/nicolargo/glances"
+SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="+doc"
+
+DEPEND="
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+# There is another optional extra batinfo, absent from portage
+RDEPEND="${DEPEND}
+ >=dev-python/psutil-2.0.0[${PYTHON_USEDEP}]"
+
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS"
+
+S="${WORKDIR}/${P^}"
+
+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
+
+ 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 )
+ # build docs
+ if use doc; then
+ pushd docs
+ make html
+ popd
+ local HTML_DOCS=( docs/_build/html/. )
+ fi
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "Action script feature" dev-python/pystache
+ optfeature "Autodiscover mode" dev-python/zeroconf
+ optfeature "Battery monitoring support" dev-python/batinfo
+ optfeature "Docker monitoring support" dev-python/docker-py
+ optfeature "Graphical/chart support" dev-python/matplotlib
+ # https://bitbucket.org/gleb_zhulik/py3sensors
+ # optfeature "Hardware monitoring support" dev-python/py3sensors
+ optfeature "IP plugin" dev-python/netifaces
+ optfeature "InfluxDB export module" dev-python/influxdb
+ optfeature "Hard drive temperature monitoring" app-admin/hddtemp
+ optfeature "Quicklook CPU info" dev-python/py-cpuinfo
+ optfeature "RAID support" dev-python/pymdstat
+ optfeature "RabbitMQ/ActiveMQ export module" dev-python/pika
+ # https://github.com/banjiewen/bernhard
+ # optfeature "Riemann export" dev-python/bernhard
+ optfeature "SNMP support" dev-python/pysnmp
+ optfeature "StatsD export module" dev-python/statsd
+ optfeature "Web server mode" dev-python/bottle
+}