From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1407E13835A for ; Thu, 27 Aug 2020 18:28:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54B2CE0B83; Thu, 27 Aug 2020 18:28:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 277FEE0B89 for ; Thu, 27 Aug 2020 18:28:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34FC7335DD0 for ; Thu, 27 Aug 2020 18:28:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C11E339 for ; Thu, 27 Aug 2020 18:28:36 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1598552899.3e154e204e59b6a6b426f3b71ce9aba77d8d2df0.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/glances/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/glances/Manifest sys-process/glances/glances-3.1.5.ebuild X-VCS-Directories: sys-process/glances/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 3e154e204e59b6a6b426f3b71ce9aba77d8d2df0 X-VCS-Branch: master Date: Thu, 27 Aug 2020 18:28:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bfe9786a-8b2e-456a-a072-c22217a4be63 X-Archives-Hash: 05c20848c851a34f365d927db873c9e9 commit: 3e154e204e59b6a6b426f3b71ce9aba77d8d2df0 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Aug 27 17:54:50 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Aug 27 18:28:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e154e20 sys-process/glances: bump to 3.1.5 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev gentoo.org> sys-process/glances/Manifest | 1 + sys-process/glances/glances-3.1.5.ebuild | 87 ++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 30202c168fc..b3d3acf1b8a 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1 +1,2 @@ DIST glances-3.1.4.1.tar.gz 6802041 BLAKE2B 7e27811e4721f9089e88bb2375f5b58104bdcb9a890bff4cb207800f49eaf320fa1bd777a2de1a7ce50744df2b4b79973823f9aee52a291e1af6788c95c359b0 SHA512 8e15149bde87d14d8176fe247e911a04b24900a95917e5711dfc8764ecec3238f696eea08c36bc59f68a4702e028909150e3318907f11fc53c5cc56441870ff3 +DIST glances-3.1.5.tar.gz 6804549 BLAKE2B a3bc71205110b0bfc285f009bbf1dea95f93a8621ca5b3c7768a1eee2af939a3605b2ec43b07da7abde079f89f4ebfe06dbaac2433de7e0379749bb001ac6d34 SHA512 20a2bc446f482506b847dd252c52edc9dcce501361742acde92d3f8a6e30e9386c8bc8c28387e981c5767e9c1fb88eba1858e243c2732e9fc4b5d64f643febd6 diff --git a/sys-process/glances/glances-3.1.5.ebuild b/sys-process/glances/glances-3.1.5.ebuild new file mode 100644 index 00000000000..ddac31590a0 --- /dev/null +++ b/sys-process/glances/glances-3.1.5.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_SETUPTOOLS=rdepend + +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 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-python/future[${PYTHON_USEDEP}] + >=dev-python/psutil-5.4.3[${PYTHON_USEDEP}]" + +# PYTHON_USEDEP omitted on purpose +BDEPEND="doc? ( dev-python/sphinx_rtd_theme )" + +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" + +PATCHES=( + "${FILESDIR}/disable-update-check.patch" +) + +distutils_enable_tests setup.py +distutils_enable_sphinx docs --no-autodoc + +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 + sed -i "s/, 'irq']/]/" unitest.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 ) + distutils-r1_python_install_all +} + +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 "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 +}