diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
commit | f1af93971b7490792d8541bc790e0d8c6d787059 (patch) | |
tree | a38046712bbc3a3844d77452d16c84e716caa3d4 /sys-process/glances | |
parent | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff) |
gentoo resync : 06.08.2019
Diffstat (limited to 'sys-process/glances')
-rw-r--r-- | sys-process/glances/Manifest | 2 | ||||
-rw-r--r-- | sys-process/glances/glances-3.1.2.ebuild | 96 |
2 files changed, 98 insertions, 0 deletions
diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 6335c7631d41..bc1091727900 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1,7 +1,9 @@ DIST Glances-2.11.1.tar.gz 5665685 BLAKE2B 5de75e7770cc01a0ddd6fcb0583e5d23c02e5188c7d6cbd55d2999be9321a1affda351094b8614d206e640e5a1338266b5c77629ec53bb280b9166f7b6a996e2 SHA512 99adccff7d1531760834b76f9a9525df0bf9a8f6f57dbd1f7c3c0515ba3b5c94f26172e19bbc7c93cecbe4bdebcca87ab3a11dd592259509eff85346780ef43a DIST glances-3.1.0.tar.gz 6688798 BLAKE2B 9ae2e6a4944d1af871b88ea325bc23cad24f11e70ff4871eeb6e4a510eb3a1e6f03fa5fa2cfde30d8b9aa0c32137aacb51d2dcb335c7ee6729e8d5913ec4e999 SHA512 a888cafa5987ab7a88caa0248e0cb3d9f65466d71ee8f1ca63565c5a8a59282be77c14f29afb2302fba0e79294c39e96384791cd89d23aa7727bfd4f20e2814d DIST glances-3.1.1.tar.gz 6737781 BLAKE2B ffd20d6ee994428dccb9b4aea481c9c3f618f0f7895098ff9be3cda206c1dc82b924eef002d13d9a93b53c28ba4faa8d88cfdb5f0691097cf31d89b7e3237d50 SHA512 d42ced74c9dc5150ff7242b61aaba94fd6009e150f637cadd4b6c9a7fc7b8028ea2e8835ae0ecf66bd12321cbc3f68e75cd526c97f5aecad6cf6df578e1b222f +DIST glances-3.1.2.tar.gz 6740649 BLAKE2B 109ce18d045aafd921ccfff64aaab12a8106fbf44bb8a1ca352d544244d5fcf911f85158964c84142e279112e8add3f7bbcc1eff22fb5b3e05b40c94d13e960e SHA512 f9b839532d2b53edb9dfeac9abe8f5a9e314b7bdf34e54083614c02262bb15f0db745762f06b609071d2a6fead8b52eed16b6f5a569904ef56dafb41b85b991b EBUILD glances-2.11.1.ebuild 2422 BLAKE2B 823c3d94cf61f8d7a430d69822b51197757aae76355769241e5306db2ad5e45efaf3e52a31ccbc233d0013889b206c50deeb63c7d987ee9ccd86dec2b5006b2e SHA512 a6a8e69cea51daec3426ff7bb26f0653c88f82d84350cb5177a4fbfb9166cf92688dd9d65552e5c74111b6ec43afab1a170882ca76e31505ca69c49cdc2a5535 EBUILD glances-3.1.0.ebuild 2666 BLAKE2B 428fd07a27872326a4ffedded04a25b24ae09bb0f93f81cdccaee69ab0b8f82b2c7b76b5b52f3c459f177d6af61635212c9b630afa3d699ec2cde159f819c488 SHA512 32eced872c4e2322b606f64db4798f973bbeafecda0f20aa14b525d6aaf32c4ff8837681b5ae3e889400fafbe45733e15f11f48435d51dc4eabc610a133d44ee EBUILD glances-3.1.1.ebuild 2759 BLAKE2B 9dcbe39e40359fecc84a27eca3986b1999ce8ff044494ca075a0abdc68b728bd89f8ba008bebde189ef383445464f419f754e4c688657003d8a827c67e95bcf1 SHA512 f4734856e1ea7525bfcfd1940eb0e35065a3cfd65d521ea577d2485adb07d964a2d951f4b651a89653aba6d8badc3c2e6d3805e34f5a47954d9fbc9397996d9c +EBUILD glances-3.1.2.ebuild 2759 BLAKE2B 9dcbe39e40359fecc84a27eca3986b1999ce8ff044494ca075a0abdc68b728bd89f8ba008bebde189ef383445464f419f754e4c688657003d8a827c67e95bcf1 SHA512 f4734856e1ea7525bfcfd1940eb0e35065a3cfd65d521ea577d2485adb07d964a2d951f4b651a89653aba6d8badc3c2e6d3805e34f5a47954d9fbc9397996d9c MISC metadata.xml 493 BLAKE2B 97c23025c2d239873dbdea975ab7d559895eb7373fab2bf0f47020890f5127f12bc3a5b5adc98f0538e4854886fb9ad1a4b20e2781abfb1832de9a6a436a4fe5 SHA512 10c02f8acca9afc8d09ac4ad42e8ae3f30d956fcc6ffb065feb3d43a5de8f5039d5da1115db3ada249b59993c3e4b18ea47f3178013710507b29b9cc0ccb6bec diff --git a/sys-process/glances/glances-3.1.2.ebuild b/sys-process/glances/glances-3.1.2.ebuild new file mode 100644 index 000000000000..3b83d26080fc --- /dev/null +++ b/sys-process/glances/glances-3.1.2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 eutils linux-info + +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 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND="dev-python/future[${PYTHON_USEDEP}] + >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}]" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( ${RDEPEND} ) +" + +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" + +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 +} + +python_test() { + esetup.py test +} + +pkg_postinst() { + optfeature "Action script feature" dev-python/pystache + optfeature "Autodiscover mode" dev-python/zeroconf + optfeature "Cloud support" dev-python/requests + optfeature "Quicklook CPU info" dev-python/py-cpuinfo + 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 "Folder monitoring" dev-python/scandir + #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 +} |