summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-08-12 17:06:24 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-08-12 17:06:24 +0000
commitbcb189bbdecf32f1a6fbe846f076745fe03cd7d6 (patch)
treed12c01f959d38ad5def15862f7619b2fd758d9fd /sys-process
parentKeyword amd64-linux and x86-linux (diff)
downloadgentoo-2-bcb189bbdecf32f1a6fbe846f076745fe03cd7d6.tar.gz
gentoo-2-bcb189bbdecf32f1a6fbe846f076745fe03cd7d6.tar.bz2
gentoo-2-bcb189bbdecf32f1a6fbe846f076745fe03cd7d6.zip
Version bump
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/glances/ChangeLog8
-rw-r--r--sys-process/glances/glances-1.7.ebuild51
-rw-r--r--sys-process/glances/metadata.xml17
3 files changed, 70 insertions, 6 deletions
diff --git a/sys-process/glances/ChangeLog b/sys-process/glances/ChangeLog
index 63f0ebd0ea38..4b7d4c8e7c84 100644
--- a/sys-process/glances/ChangeLog
+++ b/sys-process/glances/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/glances
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.9 2013/08/08 07:33:32 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/ChangeLog,v 1.10 2013/08/12 17:06:24 bicatali Exp $
+
+*glances-1.7 (12 Aug 2013)
+
+ 12 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org> +glances-1.7.ebuild,
+ metadata.xml:
+ Version bump
08 Aug 2013; Sergey Popov <pinkbyte@gentoo.org> glances-1.6.1.ebuild:
Add ~arm keyword, wrt bug #477832
diff --git a/sys-process/glances/glances-1.7.ebuild b/sys-process/glances/glances-1.7.ebuild
new file mode 100644
index 000000000000..384eafaf12c9
--- /dev/null
+++ b/sys-process/glances/glances-1.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/glances/glances-1.7.ebuild,v 1.1 2013/08/12 17:06:24 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+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=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/psutil[${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
+}
+
+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 4ae80f27ca89..c0cfa030a954 100644
--- a/sys-process/glances/metadata.xml
+++ b/sys-process/glances/metadata.xml
@@ -1,9 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <maintainer>
- <email>xarthisius@gentoo.org</email>
- <name>Kacper Kowalik</name>
- </maintainer>
+<herd>python</herd>
+<maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+</maintainer>
+<longdescription>
+ Glances is a cross-platform curses-based monitoring tool written in
+ Python.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">Glances</remote-id>
+</upstream>
</pkgmetadata>