diff options
Diffstat (limited to 'sys-process/glances/glances-3.1.0.ebuild')
-rw-r--r-- | sys-process/glances/glances-3.1.0.ebuild | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/sys-process/glances/glances-3.1.0.ebuild b/sys-process/glances/glances-3.1.0.ebuild deleted file mode 100644 index 8d44d6e568d8..000000000000 --- a/sys-process/glances/glances-3.1.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{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" -RESTRICT="!test? ( test )" - -RDEPEND=">=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 "Web server mode" dev-python/bottle dev-python/requests - optfeature "WIFI plugin" net-wireless/python-wifi -} |