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 C7B901395E3 for ; Sat, 26 Nov 2016 12:55:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E04A721C054; Sat, 26 Nov 2016 12:55:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8A4421C054 for ; Sat, 26 Nov 2016 12:55:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 887FC341236 for ; Sat, 26 Nov 2016 12:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6169F7E1 for ; Sat, 26 Nov 2016 12:55:02 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1480164900.06d9c93ad0ce1b66d85edffebab76415ec511289.jlec@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-2.7.1.ebuild sys-process/glances/metadata.xml X-VCS-Directories: sys-process/glances/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 06d9c93ad0ce1b66d85edffebab76415ec511289 X-VCS-Branch: master Date: Sat, 26 Nov 2016 12:55:02 +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-Archives-Salt: c4211068-d02f-4da6-8573-6cd831181f8b X-Archives-Hash: 6d3eb635ccf1385b422a77e78181b36d commit: 06d9c93ad0ce1b66d85edffebab76415ec511289 Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 26 12:42:31 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 26 12:55:00 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d9c93a sys-process/glances: Version Bump Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> sys-process/glances/Manifest | 1 + sys-process/glances/glances-2.7.1.ebuild | 73 ++++++++++++++++++++++++++++++++ sys-process/glances/metadata.xml | 4 +- 3 files changed, 76 insertions(+), 2 deletions(-) diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 14933bd..e28bb74 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1,4 +1,5 @@ DIST Glances-2.4.2.tar.gz 5497895 SHA256 31f1e4c2e129904a373f3b20d6800472375e415e01161168469ccebb320c9517 SHA512 ada7e2a9766dec54b26fa1fccac3b1abe6b9abcc16a96c6bb30d537370648732a99cff41c6c812908531a4995e118cb3d1127196184f40dee7a01a6a8a85d9b9 WHIRLPOOL 91cd5dfbe891c16bbbe5c6ae17500498c230d36a0795ba134a0384770cae04cbdf08b5236fd56157e438eaff17a7bd9cac3bc42bee7980239faf5c9fc18fc683 DIST Glances-2.5.1.tar.gz 5807072 SHA256 d3db40ce50b7157a94195aa0076d0eadae85dc4f24557e51c3b1a4dbd972359e SHA512 ea099f5db7e73676aaedcd8b416708f2374de57afe0b8292b86f2d0e6295053f0af7bfdb51e3e6cafcb3d7f2b967b788c8d2d1ec806256d2e11b413a7e25ed98 WHIRLPOOL 64a758068436647027a602095194bffdea3cb8b8ac04107b1306f15aa69f23a2c2e9d8b2d222c18434ad5cf26f88e12dd63e4a30b17b3f8665355f0d9d8f292c DIST Glances-2.6.1.tar.gz 8233445 SHA256 822f0f37455d46732a059f8e2b49762edb90ad66edd61cdf869a4b3683ac2b59 SHA512 09cc8a8a96b53de14de4c0476273e1f3b9655d2d9b4d3220342851b476073ef30ea2c1ac4a33c240ead7911ec2e193398c1e1032860ace607afd4de277249c14 WHIRLPOOL 8e7742368051c6c2c7c5cdf8f093e1aaee5bca012801ac9edaf9043b7e3a3b508daa3dea199407c1ad5947b7cc001071491afc1336d877dd81a14106816888c0 +DIST Glances-2.7.1.tar.gz 13277845 SHA256 afdfdb4b14ae514422c4a882788800473c6cff53719266735c9a2af400c14b86 SHA512 c13e7fb8e6025d284cfabade4eaf10189f6605f53f219889c3c636780ac11773c579f39d956a9eebcf5618de2bffec42446982fb892d775109341af74e621b83 WHIRLPOOL 119792772e45e4a23ca7ddb0e84081eb79a6e72d68311fcba42f4305ae068b105a882b8dda3d14b3f9da6fb7fa55208a125d16c4170767c623c1d1286927fa11 DIST Glances-2.7.tar.gz 13277344 SHA256 4beab1d9532fb016a8236a7449b1ce994f391b7021d66b5cb23d8a26233ad48e SHA512 f2613207cd4f0deed88a8a1949cf78b2b2b334d2313c4b6bf0762bbc6e083b3365cd2a107a5dc52e330595a01f69c3ea8fda9278f22155fe3b16cd71d5b721c7 WHIRLPOOL 16e2d3364a4b382d278fb9d0fd3ac6e6518fd324263330fa5fe80d4159bc8e2824a18cb461810a913c4524e293f3c1e99f5c60c985dce92e58dc373f95c16374 diff --git a/sys-process/glances/glances-2.7.1.ebuild b/sys-process/glances/glances-2.7.1.ebuild new file mode 100644 index 00000000..0edf3a9 --- /dev/null +++ b/sys-process/glances/glances-2.7.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/${PN^:0:1}/${PN^}/${P^}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND="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 -i -r '\|share/doc/glances|,/\),/ { + s.*share/doc/glances.*|("etc/glances", ["conf/glances.conf"]),|p + d + }' -- '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 conf/glances.conf ) + # setup for pre-built html docs in setup.py + use doc && local HTML_DOCS=( docs/_build/html/. ) + + 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 +} diff --git a/sys-process/glances/metadata.xml b/sys-process/glances/metadata.xml index 4b75e76..b934c7d 100644 --- a/sys-process/glances/metadata.xml +++ b/sys-process/glances/metadata.xml @@ -2,8 +2,8 @@ - fdsfgs@krutt.org - soredake + fdsfgs@krutt.org + soredake Glances is a cross-platform curses-based monitoring tool written in Python.