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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1E6E158094 for ; Wed, 27 Jul 2022 17:49:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 082FFE1155; Wed, 27 Jul 2022 17:49:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E208CE1155 for ; Wed, 27 Jul 2022 17:49:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E481340AB5 for ; Wed, 27 Jul 2022 17:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69D834FB for ; Wed, 27 Jul 2022 17:49:48 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1658944183.8b3dd10a283e3d465166044c0d5de94844c9feec.ajak@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.2.6.4.ebuild X-VCS-Directories: sys-process/glances/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: 8b3dd10a283e3d465166044c0d5de94844c9feec X-VCS-Branch: master Date: Wed, 27 Jul 2022 17:49:48 +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: 74246ee5-4ec3-4d5d-8baf-a4a5b3e6bbd3 X-Archives-Hash: 510fa2577573704aa49c8c24c20fcea5 commit: 8b3dd10a283e3d465166044c0d5de94844c9feec Author: John Helmert III gentoo org> AuthorDate: Wed Jul 27 17:48:39 2022 +0000 Commit: John Helmert III gentoo org> CommitDate: Wed Jul 27 17:49:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b3dd10a sys-process/glances: add 3.2.6.4 Signed-off-by: John Helmert III gentoo.org> sys-process/glances/Manifest | 1 + sys-process/glances/glances-3.2.6.4.ebuild | 93 ++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 6884b3fd3103..7b9d5ab0f796 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1,3 +1,4 @@ DIST glances-3.2.2.tar.gz 6861708 BLAKE2B 99ed3298724a82f036660f05cfd374f8dfa4883ef3c710dfe789ed9f9986bfe873117096564f1dd46d91cd3d0304e0cd1876d17ecd6e3aad98c7dd9df2095265 SHA512 e77b62e5fa6131914b56f0b5249789b3bcac0c625cd429eeb0870a14be55f15c401956c002376e5868fa1332bbb219e9bd3a5bd14c739e3404b068a063af6821 DIST glances-3.2.4.2.tar.gz 6914758 BLAKE2B faab5df2689477c5b6df047a2e0d03b09981f064d13ece4e66bdabb816168e035771ed7fd8863723b57c88f47d42674ca3553b5538c0386eab32516fdc7e2a1d SHA512 74d495303b8c0e421a2139167d998c56adfb09434f72faf34c46e0be07087c0a152a1a637b62badaf3b1934ee7892c1a9e205c260aa10655b0bfff91491fc5e1 DIST glances-3.2.5.tar.gz 6913167 BLAKE2B 8dc96e59f3cfd624211e0e30d5c5c5bc790a2fea62cd92068bfb779048d51fd95e6c83e62fd70ad2d1e8450435616803e01f7434d419b4f4187ad41fc193121a SHA512 ebff1cf893ca4d3e490f4a6b72fa70df0afb4c36ac1b3fa762dcaa47206bc1e613c8d87f1b2fc5cae27636612a89b417ae91d016a129da4ac43a2a8a6f913945 +DIST glances-3.2.6.4.gh.tar.gz 6950769 BLAKE2B 69437cce71640c4291bc9f91a6c65a05d608e91e834193fabb5b66c4a5fba92238a3aad3b972e71e8e4baff6c92045d1807e65bad43f1318a7cc077c89c4f978 SHA512 21e2a6dacd2181d9b84927365425d4cf7767b73f92949e778c42db68634cf655802c371418c51265c89099bbe11ed130e4b74ca0605601b7703dc0ee992f5417 diff --git a/sys-process/glances/glances-3.2.6.4.ebuild b/sys-process/glances/glances-3.2.6.4.ebuild new file mode 100644 index 000000000000..ae070a4b0976 --- /dev/null +++ b/sys-process/glances/glances-3.2.6.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( pypy3 python3_{8..11} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 linux-info optfeature + +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}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/packaging[${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}/${PN}-3.2.5-disable-update-check.patch" +) + +distutils_enable_tests setup.py +distutils_enable_sphinx docs --no-autodoc + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_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 "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 +}