diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-09-24 08:26:30 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-09-24 08:26:30 +0000 |
commit | 0d5be047c00be5727b68d1351f2d06ea04152e67 (patch) | |
tree | 4af96852dd387df99cb108605f192d621542a351 /sys-process | |
parent | version bump, clean up old (diff) | |
download | historical-0d5be047c00be5727b68d1351f2d06ea04152e67.tar.gz historical-0d5be047c00be5727b68d1351f2d06ea04152e67.tar.bz2 historical-0d5be047c00be5727b68d1351f2d06ea04152e67.zip |
bump; drop py3.2, add IUSE chart for support of graph charts
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/glances/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/glances/Manifest | 12 | ||||
-rw-r--r-- | sys-process/glances/glances-2.1.ebuild | 65 | ||||
-rw-r--r-- | sys-process/glances/metadata.xml | 1 |
4 files changed, 80 insertions, 6 deletions
diff --git a/sys-process/glances/ChangeLog b/sys-process/glances/ChangeLog index 45b4d87a3338..56c904f147c2 100644 --- a/sys-process/glances/ChangeLog +++ b/sys-process/glances/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/glances # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.19 2014/07/07 14:49:56 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.20 2014/09/24 08:26:07 idella4 Exp $ + +*glances-2.1 (24 Sep 2014) + + 24 Sep 2014; Ian Delaney <idella4@gentoo.org> +glances-2.1.ebuild, + metadata.xml: + bump; drop py3.2, add IUSE chart for support of graph charts *glances-2.0.1 (07 Jul 2014) diff --git a/sys-process/glances/Manifest b/sys-process/glances/Manifest index 8a8a5ad8fe34..4c9f28a0d3dd 100644 --- a/sys-process/glances/Manifest +++ b/sys-process/glances/Manifest @@ -3,14 +3,16 @@ Hash: SHA256 DIST Glances-2.0.1.tar.gz 3281886 SHA256 5f293ab2993f80692b6cd07b080dc8e79b80cfe66c2d59e094589766106a7d70 SHA512 d974f2e6815bedff56902be500333114255c6a05f587b6de141889ce6c6af41d4e7f6b995f759a75cb99817985806c8d434e254c0d095513532e018258ff5435 WHIRLPOOL a4b63d7e1b93b4adcf2b9b28255f266e0c2b9ea1748b36f5dbb6fba60d51bbc563bbd37a84c2ccda1b2d131e9f7f6314f3d7568c5898b8ce506933add65cdf3c DIST Glances-2.0.tar.gz 1673386 SHA256 b573e7ed31e8646c5f588c37eda8f9f186e4c1cfd09074bec20dd991dd638a02 SHA512 2c6e00a42344f2611f5e231a8eac3b97cebb523e3ac037612c08f760d5d974dcc673f81a00e1fdfbd16867c488717ad9545fdc52707ebb1979cd575c484e688d WHIRLPOOL ffa72ad83a72c20ed32d0f04bd6036ccb9d16cee0a9a744400b42faef5499e82e440367e455071c1b5f9435f78db55bcef3de4f0ef239937a0e1de099902080f +DIST Glances-2.1.tar.gz 3442211 SHA256 86cfcb9d3976940b6cc68046d47b8c3fe7fc19a39747fbceca8cfe55d0f1cb32 SHA512 6e8325903ad989e812c3287b3e807c25a8e696bb176043c8fc97ba14f730252979e1d22f39dcbc401dc4d3e46087068b0b34211be3a24601b45d6baa3e2cdb10 WHIRLPOOL 1261dfc561fb1b105e64653065c037be0cab7dcdf77af9c3ff22f09afb10df0cbf5e0c51180e55120a14e6381a27330962edbea27ab878a8a06b3a88c30bb27f EBUILD glances-2.0.1.ebuild 1795 SHA256 6850669f63d4d62b316cfa18ac77efc14a6e7122c0bddc5457bfab9e9efd6c99 SHA512 5ad51cde7b071eea800713f3ddafa3ff26a3045b8456f93d03d9ebefa7818decacf3f3d19dce8eb119675628fa48596072633281a144a7305ffd484eaccde46b WHIRLPOOL aa27afb04b8b7ece988a218cc60083c29c18e9b82966c64f432d8311c3e4e546f07e65cf4014d74eccde227586cb305998e8db781729991f1697a2060a1524c3 EBUILD glances-2.0.ebuild 1793 SHA256 eea399a0280997d9bd32175e33075b8674cd994e702ac4404f20332b8f2659c8 SHA512 97c2c2682c1bbe508ff3b5bad138d9b39666b7c0e3986c139eaadd4f8d6ea0acc36218376708970e9966fd5b2d436d7b1e92e6ca262c08fa8aeac81a0ead580c WHIRLPOOL 06990f01c07001eaf63b422253c8ffdfa4acd9952e4bfed9749c2aa9356ad24172d81551b465e40f2299986920d135ad77e0cb420a69183b3ce477d830bbc72e -MISC ChangeLog 3375 SHA256 78270cd6f5b2507443a0077bcff67ea9328a5cfbde881d9a86f3d4e2698ea3e8 SHA512 41c19512cce56b1d58cd81a0d8ce88b527760545dca5d086d636130d915167801f61915313153eefc5dc641fe0223da48fb964bcd4d96810397ca65d275afe64 WHIRLPOOL df2d316365ef1bbcb8033f4a05e3be105d00855790e821292ecf7cdbeeeb7af3b593abda28bb071808663cadd66e04b537f31bc2061e2fb4f7aa23d6338cba80 -MISC metadata.xml 533 SHA256 5b63b6a514b6a1a7603a73f046fd36fb2663a583361c43f3ec71670b52e39e50 SHA512 7fdc2c97c84004da74e283f35d2d7e81b25a9fa49b5d46f9055494ce918454c19187ffd5be40631df0c705cdf1dc0f3a57ee28189fb468861d6772efb919350d WHIRLPOOL 62020f135ea66b152f8f755d0ebb3c52c474715864cc5c59bac4cfeec8bb6441985227448507aebd1bb2c6ae8008a56c2247b3963e8921369dd95a55ceb600f4 +EBUILD glances-2.1.ebuild 1847 SHA256 7560c700f481f9829c0381f1f3ded540f09fba00efec859c7fd013adbd8fb6cf SHA512 896eef6cd565e5f98fa4ac16b6b998965332a516e1745bd59ac2dadfd7e4ebcca40c4133222c5353da3222250da600808611186b3bc31ac6fa664988aa7c66d6 WHIRLPOOL 3838bb8d086c0162d8136ce108087d9832b8652e99bac05e7a873f5ee90be0c52005a9259c7123ba799846c951d99d83045cfe870d46b572bfd26b20216bdb35 +MISC ChangeLog 3552 SHA256 b039c6ad31173796c8ce4ab86a65ff83d5d7daa1fd9d344c1d62e30053e93ccb SHA512 7a33451029eb3b6288c1536a3eb621733e70357f54ce195621527493e817e99b6b28d25fce7326f06ddc20151ecf5e9da75d8bdedf2fce12cc985142b6fc9a47 WHIRLPOOL a7481dd3a01ee809347296cf3b9964741261edda1363ea07bd288adc32ede5c6eb969ba085eddefe95c387e775c1ecb107c9923b696b13eb22e0262811235c82 +MISC metadata.xml 608 SHA256 c4d8c2241d9c29f2bfee8b1f8d64d6d724c5ebb5e007c00a1693e03d26adfb38 SHA512 e8a01152562413532395dbce0d9a1eb95ad9214dad57906e7edaf66cc2ac48771ec8eeac7a186572a339c6da73e90bc6ebd4d83fa1481ac169a32f744aaed881 WHIRLPOOL 7f585beb5ac82900e8e8a00f535401499f8dd1aed474c69331069dd988e67e7a39a41159715431389b6fa8a58ec0d861b574b25e88bfcc8fea7974842980bea2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlO6saAACgkQso7CE7gHKw1JTACfQ+7L8kzqILKVwMfb+wd0bCNF -mhgAnR4G3QTKUOovBc469zGhSpptCZEK -=FUWe +iEYEAREIAAYFAlQifekACgkQso7CE7gHKw1BwQCgnJEaZCzM/6PNzClbE/srgpgx +2QcAmgIa3a6N8WdT7Cvzbs6nc/5E/EhT +=lxUO -----END PGP SIGNATURE----- diff --git a/sys-process/glances/glances-2.1.ebuild b/sys-process/glances/glances-2.1.ebuild new file mode 100644 index 000000000000..ad20a77c6a75 --- /dev/null +++ b/sys-process/glances/glances-2.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/glances-2.1.ebuild,v 1.1 2014/09/24 08:26:07 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 linux-info + +MYPN=Glances +MYP=${MYPN}-${PV} + +DESCRIPTION="CLI curses based monitoring tool" +HOMEPAGE="https://github.com/nicolargo/glances" +SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="chart doc hddtemp snmp web" + +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}] + hddtemp? ( app-admin/hddtemp ) + snmp? ( dev-python/pysnmp[${PYTHON_USEDEP}] ) + web? ( dev-python/bottle[${PYTHON_USEDEP}] ) + chart? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" + +CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS" + +S="${WORKDIR}/${MYP}" + +pkg_setup() { + linux-info_pkg_setup +} + +python_prepare_all() { + sed -e "s:share/doc/glances:share/doc/${PF}:g" \ + -e "s/'COPYING',//" \ + -e "s:/etc:${EPREFIX}/etc:" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + if use doc; then + mkdir "${D}"usr/share/doc/${P}/html || die + mv "${D}"usr/share/doc/${P}/{glances-doc.html,images/} "${D}"usr/share/doc/${P}/html/ || die + else + rm -rf "${D}"usr/share/doc/${P}/{glances-doc.html,images/} || die + fi +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "${PN} can gain additional functionality with following packages:" + elog " dev-python/jinja - export statistics to HTML" + elog " app-admin/hddtemp - monitor hard drive temperatures" + fi +} diff --git a/sys-process/glances/metadata.xml b/sys-process/glances/metadata.xml index 54d0505bd141..c97f410e18fb 100644 --- a/sys-process/glances/metadata.xml +++ b/sys-process/glances/metadata.xml @@ -9,6 +9,7 @@ <flag name='web'>Enables the web server mode</flag> <flag name='hddtemp'>Enables hard drive temperature monitoring</flag> <flag name='snmp'>Enables SNMP support</flag> + <flag name='chart'>Enables support of graph charts via matplotlib</flag> </use> <upstream> <remote-id type="pypi">Glances</remote-id> |