diff options
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/Manifest.gz | bin | 9995 -> 9995 bytes | |||
-rw-r--r-- | sys-process/glances/Manifest | 3 | ||||
-rw-r--r-- | sys-process/glances/files/glances-3.2.5-disable-update-check.patch | 31 | ||||
-rw-r--r-- | sys-process/glances/glances-3.2.5.ebuild | 93 |
4 files changed, 127 insertions, 0 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex b56aa95d7e18..5ddc64268802 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 4caa9832e64a..c03c13028609 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -1,6 +1,9 @@ AUX disable-update-check.patch 992 BLAKE2B d06bc123aef2aec89bb4cca40334183aa5b6d198fcf9abffd15ad60f1c7c43f1e9a3103ebb5f2f743c83cc9d09cdf610c4e5d5caea89523f9ed37f3a4801e774 SHA512 02b06b01f8e3782da632677aa84b9131cb33dae3270677a1a4b0af3c139d100fa54c90c412d1e608e08859facb31e04768927e4862cfc4d9cfcbd061020a5dac +AUX glances-3.2.5-disable-update-check.patch 1049 BLAKE2B ae9e4e94dd7d9d096c6c5c94c7d0faf916cba6e53eacce34098aacf24a761b7c0ffaf18cb0e3f730c243d70e0dc58bd8f1547f7cae44076067fc0d1aa77bcb1d SHA512 7cfc2a0f8034cc746e024b6cd57944a2c4430fedb82efa1df669d4234ad002a4e2a4a32bbabe64a5145ffee335ddd2b2b2ca05cb7db109cf392eb1bd708b804b 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 EBUILD glances-3.2.2.ebuild 2642 BLAKE2B 30a1aaef83fceaf8a536e2f40e4700cf855efdb2ea6cdba7411143517e2c3bd56eff810e07f7c1322c1c7f073b9b15568df6e56b4c0d14f1d4bd35c2303d4db7 SHA512 638160f58f8e31cf1eb608171158147273be704f91c059c7208e51b2ada1c26dce54bec973d8f335c40bd8cb923027709f3e74fa48e208b9bc9e493a2b03a71f EBUILD glances-3.2.4.2.ebuild 2773 BLAKE2B 9420d6174eba92da6520d2081c57c5f7e578bdd76860d756ee44e28e246a436c3f0634a3a592bfbad8c5250cd7dc4bbe8b1551ff38c0277238c0a7b2bde736da SHA512 4777bf73f12df1357bc690c9a68c1431d295224e51b553d5f889d1ef2c2c5e2ba18077411a3308b2195178df36d4f5be943de2579ff4ec11bc0f3c39564651b3 +EBUILD glances-3.2.5.ebuild 2778 BLAKE2B c477c2be17d127a40c57cab8b941fe6c88b9897582b464ec160deeb37bb044c187b9ffd2947c1be4e0036461356b87e6f0facea8901102b0cfa93fb3bc2335f5 SHA512 1dd0e5abb860c65f28b7a72a76b60c37b1d3b3a6de8e59548658f31133bfabe8796f13d4adcd3a5e6b7434309739849952420d5b3bf292ae5b2dca84e1406a1a MISC metadata.xml 966 BLAKE2B d7161ddac280337b7054b2c1b898cb83b84d79d44bb11f587292d98cc70771c35da6a4e903250d9ae74a6ca33d316029fc569c6c1eab40b01e436c93757dac9a SHA512 acdbc968713b9863489933e6cb3625cf1e1bfe40278f6d0cc8bcc3146d2dac1c12c1157a6827eb4d3174035d706c820773fc50b5851981d855d4a04d10369a84 diff --git a/sys-process/glances/files/glances-3.2.5-disable-update-check.patch b/sys-process/glances/files/glances-3.2.5-disable-update-check.patch new file mode 100644 index 000000000000..da12729eefd4 --- /dev/null +++ b/sys-process/glances/files/glances-3.2.5-disable-update-check.patch @@ -0,0 +1,31 @@ +Description: Disable nagging suggestion to upgrade using pip +Author: Sebastien Badia <sbadia@debian.org> +Bug-Debian: https://bugs.debian.org/877127 +Forwarded: not-needed +Last-Update: 2022-04-16 + +--- a/glances/standalone.py ++++ b/glances/standalone.py +@@ -107,9 +107,6 @@ + # Init screen + self.screen = GlancesCursesStandalone(config=config, args=args) + +- # Check the latest Glances version +- self.outdated = Outdated(config=config, args=args) +- + @property + def quiet(self): + return self._quiet +@@ -188,12 +185,3 @@ + + # Exit from export modules + self.stats.end() +- +- # Check Glances version versus PyPI one +- if self.outdated.is_outdated(): +- print( +- "You are using Glances version {}, however version {} is available.".format( +- self.outdated.installed_version(), self.outdated.latest_version() +- ) +- ) +- print("You should consider upgrading using: pip install --upgrade glances") diff --git a/sys-process/glances/glances-3.2.5.ebuild b/sys-process/glances/glances-3.2.5.ebuild new file mode 100644 index 000000000000..b19e2edb4389 --- /dev/null +++ b/sys-process/glances/glances-3.2.5.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}.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}/${P}-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 +} |